[FFmpeg-user] Errors in swscaler or broken video
WR
wolle321 at freenet.de
Thu May 13 18:23:04 EEST 2021
Am 12.05.21 um 22:00 schrieb Carl Eugen Hoyos:
> Am Mi., 12. Mai 2021 um 08:39 Uhr schrieb WR <wolle321 at freenet.de>:
>
>> Maybe, there is a way, to scale the subtitles in that way, that they
>> would fit the videos size.
>
> Yes, this is supposed to work fine.
> Please provide the command line you tested together with
> the complete, uncut console output to allow us to better
> understand your issue.
>
[snip]
Hello,
at first the commandline and output of the conversion:
ffmpeg -analyzeduration 400M -probesize 400M -fflags +genpts -safe 0
-protocol_whitelist subfile,file,concat -f concat -ss 00:20:14 -i
i.concat -t 00:08:00 -map 0 -c copy -c:v libx264 -preset medium
-filter:v crop=iw-0-0:ih-70-70:0:70 ./Spielfilme/Indiana\ Jones\ Itest.mkv
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-omx --enable-openal --enable-opencl
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
--enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r
--enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, concat, from 'i.concat':
Duration: 01:50:36.60, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, bt470bg,
progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:3: Subtitle: dvd_subtitle
Stream #0:4: Subtitle: dvd_subtitle
Stream #0:5: Subtitle: dvd_subtitle
Stream #0:6: Subtitle: dvd_subtitle
File './Spielfilme/Indiana Jones Itest.mkv' already exists. Overwrite ?
[y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Stream #0:5 -> #0:5 (copy)
Stream #0:6 -> #0:6 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x563b99fd0c40] using SAR=64/45
[libx264 @ 0x563b99fd0c40] using cpu capabilities: MMX2 SSE2Fast LZCNT
[libx264 @ 0x563b99fd0c40] profile High, level 3.0
[libx264 @ 0x563b99fd0c40] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4
AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
Output #0, matroska, to './Spielfilme/Indiana Jones Itest.mkv':
Metadata:
encoder : Lavf58.29.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
720x436 [SAR 64:45 DAR 256:109], q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc58.54.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
fltp, 448 kb/s
Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
fltp, 192 kb/s
Stream #0:3: Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF)
Stream #0:4: Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF)
Stream #0:5: Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF)
Stream #0:6: Subtitle: dvd_subtitle ([255][255][255][255] / 0xFFFFFFFF)
frame=11997 fps= 39 q=-1.0 Lsize= 75237kB time=00:07:59.99
bitrate=1284.1kbits/s speed=1.56x
video:36685kB audio:37533kB subtitle:719kB other streams:0kB global
headers:0kB muxing overhead: 0.400157%
[libx264 @ 0x563b99fd0c40] frame I:83 Avg QP:20.05 size: 22853
[libx264 @ 0x563b99fd0c40] frame P:3235 Avg QP:22.63 size: 6353
[libx264 @ 0x563b99fd0c40] frame B:8679 Avg QP:25.17 size: 1742
[libx264 @ 0x563b99fd0c40] consecutive B-frames: 2.5% 2.2% 3.0% 92.3%
[libx264 @ 0x563b99fd0c40] mb I I16..4: 13.3% 72.6% 14.1%
[libx264 @ 0x563b99fd0c40] mb P I16..4: 1.7% 6.5% 1.1% P16..4:
44.9% 14.3% 8.1% 0.0% 0.0% skip:23.4%
[libx264 @ 0x563b99fd0c40] mb B I16..4: 0.1% 0.5% 0.1% B16..8:
45.1% 3.5% 0.6% direct: 1.3% skip:48.8% L0:42.4% L1:53.0% BI: 4.6%
[libx264 @ 0x563b99fd0c40] 8x8 transform intra:70.7% inter:82.7%
[libx264 @ 0x563b99fd0c40] coded y,uvDC,uvAC intra: 62.9% 66.5% 24.5%
inter: 12.4% 15.0% 0.6%
[libx264 @ 0x563b99fd0c40] i16 v,h,dc,p: 36% 14% 6% 43%
[libx264 @ 0x563b99fd0c40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 10% 20%
6% 7% 10% 6% 9% 6%
[libx264 @ 0x563b99fd0c40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 9% 15%
5% 7% 10% 5% 7% 3%
[libx264 @ 0x563b99fd0c40] i8c dc,h,v,p: 50% 15% 28% 7%
[libx264 @ 0x563b99fd0c40] Weighted P-Frames: Y:4.7% UV:2.3%
[libx264 @ 0x563b99fd0c40] ref P L0: 58.0% 17.3% 18.0% 6.5% 0.3%
[libx264 @ 0x563b99fd0c40] ref B L0: 91.9% 6.5% 1.6%
[libx264 @ 0x563b99fd0c40] ref B L1: 96.6% 3.4%
[libx264 @ 0x563b99fd0c40] kb/s:626.08
Everything works fine.
#######################################################################
second output of ffplay of the cropped video with swscaler errors
(subtitles are on, I seeked to one of the problematic parts, after
00:04:00, errors do also appear without seeking)
ffplay -analyzeduration 400M -probesize 400M ./Spielfilme/Indiana\
Jones\ Itest.mkv
ffplay version 4.2.4-1ubuntu0.1 Copyright (c) 2003-2020 the FFmpeg
developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-omx --enable-openal --enable-opencl
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
--enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r
--enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, matroska,webm, from './Spielfilme/Indiana Jones Itest.mkv':
Metadata:
ENCODER : Lavf58.29.100
Duration: 00:08:00.55, start: 0.000000, bitrate: 1282 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x436 [SAR
64:45 DAR 256:109], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Metadata:
ENCODER : Lavc58.54.100 libx264
DURATION : 00:08:00.528000000
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
DURATION : 00:08:00.552000000
Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
DURATION : 00:08:00.552000000
Stream #0:3: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Stream #0:4: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Stream #0:5: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Stream #0:6: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Seek to 49% ( 0:03:55) of total duration ( 0:08:00) B f=0/0
Seek to 49% ( 0:03:55) of total duration ( 0:08:00) B f=0/0
Seek to 50% ( 0:03:57) of total duration ( 0:08:00) B f=0/0
Seek to 50% ( 0:04:00) of total duration ( 0:08:00) B f=0/0
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 193x0 -> 193x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f22b7c0] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
[swscaler @ 0x556d3f253d40] 203x0 -> 203x0 is invalid scaling dimension
Cannot initialize the conversion context
264.79 A-V: -0.023 fd= 0 aq= 7134KB vq= 8193KB sq=33832B f=0/0
If there are no errors, the video runs fine, only the subtitles are
cropped at the bottom.(-> screenshot).
video output is black, when the errors appear in chunks of some seconds
at commandline.
#######################################################################
last output of ffplay without errors with the same video, same time but
with switched off subtitles, as you can see.
ffplay -analyzeduration 400M -probesize 400M ./Spielfilme/Indiana\
Jones\ Itest.mkv
ffplay version 4.2.4-1ubuntu0.1 Copyright (c) 2003-2020 the FFmpeg
developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-omx --enable-openal --enable-opencl
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
--enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r
--enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, matroska,webm, from './Spielfilme/Indiana Jones Itest.mkv':
Metadata:
ENCODER : Lavf58.29.100
Duration: 00:08:00.55, start: 0.000000, bitrate: 1282 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x436 [SAR
64:45 DAR 256:109], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Metadata:
ENCODER : Lavc58.54.100 libx264
DURATION : 00:08:00.528000000
Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
DURATION : 00:08:00.552000000
Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
DURATION : 00:08:00.552000000
Stream #0:3: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Stream #0:4: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Stream #0:5: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Stream #0:6: Subtitle: dvd_subtitle (default)
Metadata:
DURATION : 00:08:00.024000000
Switch subtitle stream from #3 to #4KB vq= 9132KB sq= 0B f=0/0
Switch subtitle stream from #4 to #5KB vq= 9126KB sq= 0B f=0/0
Switch subtitle stream from #5 to #6KB vq= 9127KB sq= 0B f=0/0
Switch subtitle stream from #6 to #-1B vq= 9158KB sq= 0B f=0/0
Seek to 47% ( 0:03:46) of total duration ( 0:08:00) B f=0/0
Seek to 48% ( 0:03:50) of total duration ( 0:08:00) B f=0/0
Seek to 50% ( 0:03:58) of total duration ( 0:08:00) B f=0/0
Seek to 50% ( 0:04:01) of total duration ( 0:08:00) B f=0/0
266.42 A-V: -0.032 fd= 0 aq= 59KB vq= 85KB sq= 0B f=0/0
#######################################################################
Subtitles, if they are on, are cropped at the bottom, because it seems,
that they do not fit to the cropped video. Of course this are
bitmap-subtitles from a dvd.
I put the cropped video snippet and a screenshot here for you, also the
concat-file, which is created with dvd2concat script from ffmpeg sources:
https://webmail.freenet.de/Cloud/?shareToken=1b19a0928b483b75b382830937698a114e6ccea24b65f92ec1d098e9b55f800a
The link is valid for 14 days.
Thank you for this great peace of software.
Wolfgang
--
- May the source be with you -
More information about the ffmpeg-user
mailing list