[FFmpeg-user] How to filter time dependent

Leo Butler leo.butler81 at googlemail.com
Fri Apr 23 22:20:54 EEST 2021


Ulf Zibis <Ulf.Zibis at CoSoCo.de> writes:

> Am 22.04.21 um 13:01 schrieb Michael Koch:
>> Am 22.04.2021 um 12:50 schrieb Ulf Zibis:
>>> Hi,
>>>
>>> I want to filter a video from pts 0 to 1999 with filter A, then from 2000 to 2199 with filter B, from 2200 with filter A and finally the whole stream with filter C.
>>>
>>> Can one please give me an example for a working command line?
>>>
>>
>> untested:
>> ffmpeg -i input.mp4 -lavfi split[a][b];[a]filter_A[c];[b]filter_B[d];[c][d]select=bitor(between(t,0,1999),between(t,2200,10000)),filter_C out.mp4
>
> I found out, that the 'between(t,a,b)' should be surrounded by colons.
>
> But anyway the reality is more complex. I have to use 3 different filters. So I tried:
> ffmpeg -i input.mp4 -filter_complex "split[a][b][c];[a]filter_A[d];[b]filter_B[e];[c]filter_C[f];[d]select='between(t,0,1999)';[e]select='between(t,2000,2199)';[f]select='between(t,2200,10000)'",filter_D out.mp4

I would put the select filters before filter_A, etc., rather than after.
I would use the concat filter at the end to concatenate the streams.
Otherwise, out.mp4 ends with 3 parallel video streams.

On the other hand, if you have frame information, then you can use
'between(n,startframe,endframe)' in place of
'between(t,starttime,endtime)'.

---
As a sidenote, for this sort of thing, it would be *really* nice if
ffplay could display frame numbers (and/or pts) and print them to
stdout.

Leo



>
> With this I got a weird file with 3 video streams:
>
> $ ffmpeg -i 'Stille Tage in Clichy.mpg' -filter_complex
> "split=3[a][b][c];[a]crop=352:496:0:36[d];[b]crop=352:496:0:42[e];[c]crop=352:496:0:38[f];[d]select='between(t,0,2888.3)';[e]select='between(t,2888.3,3293.88)';[f]select='between(t,3293.88,10000)'",scale=iw:ih/2,hqdn3d=2:1.5:12
> -movflags +faststart 'Stille Tage in
> Clichy_c_3_scale_1_2_hqdn3d_2_1_12.mp4'
> ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
>   built with gcc 8 (Debian 8.3.0-6)
>   configuration: --enable-gpl --enable-version3 --enable-static
> --disable-debug --disable-ffplay --disable-indev=sndio
> --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-gmp --enable-libgme --enable-gray
> --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf
> --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband
> --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis
> --enable-libopus --enable-libtheora --enable-libvidstab
> --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d
> --enable-libxvid --enable-libzvbi --enable-libzimg
>   libavutil      56. 51.100 / 56. 51.100
>   libavcodec     58. 91.100 / 58. 91.100
>   libavformat    58. 45.100 / 58. 45.100
>   libavdevice    58. 10.100 / 58. 10.100
>   libavfilter     7. 85.100 /  7. 85.100
>   libswscale      5.  7.100 /  5.  7.100
>   libswresample   3.  7.100 /  3.  7.100
>   libpostproc    55.  7.100 / 55.  7.100
> Input #0, mpeg, from 'Stille Tage in Clichy.mpg':
>   Duration: 01:00:00.49, start: 0.529989, bitrate: 2917 kb/s
>     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 352x576 [SAR 24:11 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
>     Side data:
>       cpb: bitrate max/min/avg: 9578800/0/0 buffer size: 1835008 vbv_delay: N/A
>     Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 384 kb/s
> File 'Stille Tage in Clichy_c_3_scale_1_2_hqdn3d_2_1_12.mp4' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 (mpeg2video) -> split (graph 0)
>   select (graph 0) -> Stream #0:0 (libx264)
>   select (graph 0) -> Stream #0:1 (libx264)
>   hqdn3d (graph 0) -> Stream #0:2 (libx264)
>   Stream #0:1 -> #0:3 (mp2 (native) -> aac (native))
> Press [q] to stop, [?] for help
> [libx264 @ 0x5f9c440] using SAR=24/11
> [libx264 @ 0x5f9c440] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
> [libx264 @ 0x5f9c440] profile High, level 2.1, 4:2:0, 8-bit
> [libx264 @ 0x5f9c440] 264 - core 161 r3018 db0d417 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2020 - 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
> [libx264 @ 0x602a4c0] using SAR=24/11
> [libx264 @ 0x602a4c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
> [libx264 @ 0x602a4c0] profile High, level 2.1, 4:2:0, 8-bit
> [libx264 @ 0x602a4c0] 264 - core 161 r3018 db0d417 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2020 - 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
> [libx264 @ 0x602c580] using SAR=12/11
> [libx264 @ 0x602c580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
> [libx264 @ 0x602c580] profile High, level 1.3, 4:2:0, 8-bit
> [libx264 @ 0x602c580] 264 - core 161 r3018 db0d417 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2020 - 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, mp4, to 'Stille Tage in Clichy_c_3_scale_1_2_hqdn3d_2_1_12.mp4':
>   Metadata:
>     encoder         : Lavf58.45.100
>     Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(top coded first (swapped)), 352x496 [SAR 24:11 DAR 48:31], q=-1--1, 25 fps, 12800 tbn, 25 tbc
>     Metadata:
>       encoder         : Lavc58.91.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
>     Stream #0:1: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 352x496 [SAR 24:11 DAR 48:31], q=-1--1, 25 fps, 12800 tbn, 25 tbc
>     Metadata:
>       encoder         : Lavc58.91.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
>     Stream #0:2: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 352x248 [SAR 12:11 DAR 48:31], q=-1--1, 25 fps, 12800 tbn, 25 tbc
>     Metadata:
>       encoder         : Lavc58.91.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
>     Stream #0:3: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
>     Metadata:
>       encoder         : Lavc58.91.100 aac
> More than 1000 frames duplicated q=0.0 size=  332288kB time=00:48:07.14 bitrate= 942.8kbits/s speed=0.973x
> [.....]
> frame=72208 fps= 16 q=28.0 q=28.0 q=28.0 size=  419840kB time=00:59:59.68 bitrate= 955.5kbits/s dup=154555 dro[mp4 @ 0x5f9d500] Starting second pass: moving the moov atom to the beginning of the file
> frame=72208 fps= 16 q=-1.0 Lq=-1.0 q=-1.0 size=  425218kB time=01:00:00.36 bitrate= 967.5kbits/s dup=154555 drop=0 speed=0.812x
> video:364288kB audio:56444kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.066012%
> [libx264 @ 0x5f9c440] frame I:492   Avg QP:22.88  size: 21397
> [libx264 @ 0x5f9c440] frame P:18761 Avg QP:25.82  size:  8734
> [libx264 @ 0x5f9c440] frame B:52955 Avg QP:28.66  size:  2284
> [libx264 @ 0x5f9c440] consecutive B-frames:  1.7%  0.9%  1.8% 95.6%
> [libx264 @ 0x5f9c440] mb I  I16..4:  8.5% 74.1% 17.5%
> [libx264 @ 0x5f9c440] mb P  I16..4:  1.0% 10.5%  2.2%  P16..4: 43.7% 24.0% 12.6%  0.0%  0.0%    skip: 6.1%
> [libx264 @ 0x5f9c440] mb B  I16..4:  0.1%  0.9%  0.2%  B16..8: 49.4%  7.6%  1.7%  direct: 4.8%  skip:35.3%  L0:39.6% L1:45.9% BI:14.5%
> [libx264 @ 0x5f9c440] 8x8 transform intra:75.9% inter:69.5%
> [libx264 @ 0x5f9c440] coded y,uvDC,uvAC intra: 85.9% 74.6% 28.6% inter: 30.6% 29.0% 0.4%
> [libx264 @ 0x5f9c440] i16 v,h,dc,p: 69% 11%  4% 16%
> [libx264 @ 0x5f9c440] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40%  7% 16% 4%  5% 11%  3% 10%  4%
> [libx264 @ 0x5f9c440] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41%  8% 11% 5%  6% 12%  4%  9%  4%
> [libx264 @ 0x5f9c440] i8c dc,h,v,p: 47% 10% 33%  9%
> [libx264 @ 0x5f9c440] Weighted P-Frames: Y:28.1% UV:13.3%
> [libx264 @ 0x5f9c440] ref P L0: 44.7% 18.2% 23.8% 11.1%  2.3%
> [libx264 @ 0x5f9c440] ref B L0: 88.2% 10.1%  1.7%
> [libx264 @ 0x5f9c440] ref B L1: 95.9%  4.1%
> [libx264 @ 0x5f9c440] kb/s:817.94
> [libx264 @ 0x602a4c0] frame I:354   Avg QP:17.62  size: 40755
> [libx264 @ 0x602a4c0] frame P:20801 Avg QP:22.36  size:  1232
> [libx264 @ 0x602a4c0] frame B:61192 Avg QP:32.81  size:   304
> [libx264 @ 0x602a4c0] consecutive B-frames:  0.9%  0.1%  0.2% 98.9%
> [libx264 @ 0x602a4c0] mb I  I16..4:  1.4% 79.9% 18.7%
> [libx264 @ 0x602a4c0] mb P  I16..4:  0.1%  1.1%  0.2%  P16..4: 5.5%  3.5%  1.8%  0.0%  0.0%    skip:87.7%
> [libx264 @ 0x602a4c0] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8: 5.8%  1.0%  0.2%  direct: 0.7%  skip:92.1%  L0:40.1% L1:46.0% BI:14.0%
> [libx264 @ 0x602a4c0] 8x8 transform intra:79.7% inter:78.0%
> [libx264 @ 0x602a4c0] coded y,uvDC,uvAC intra: 91.6% 89.9% 60.7% inter: 3.7% 4.8% 0.1%
> [libx264 @ 0x602a4c0] i16 v,h,dc,p: 47% 16%  4% 32%
> [libx264 @ 0x602a4c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40%  7% 12% 4%  5% 13%  3% 12%  5%
> [libx264 @ 0x602a4c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 13%  8% 4%  5% 13%  4% 10%  5%
> [libx264 @ 0x602a4c0] i8c dc,h,v,p: 38% 11% 34% 17%
> [libx264 @ 0x602a4c0] Weighted P-Frames: Y:4.4% UV:2.8%
> [libx264 @ 0x602a4c0] ref P L0: 44.2% 17.2% 22.9% 12.7%  3.0%
> [libx264 @ 0x602a4c0] ref B L0: 86.4% 11.5%  2.1%
> [libx264 @ 0x602a4c0] ref B L1: 95.4%  4.6%
> [libx264 @ 0x602a4c0] kb/s:142.54
> [libx264 @ 0x602c580] frame I:390   Avg QP:16.68  size: 15748
> [libx264 @ 0x602c580] frame P:22871 Avg QP:20.51  size:   344
> [libx264 @ 0x602c580] frame B:66751 Avg QP:33.06  size:    75
> [libx264 @ 0x602c580] consecutive B-frames:  1.0%  0.2%  0.3% 98.4%
> [libx264 @ 0x602c580] mb I  I16..4:  1.3% 68.2% 30.5%
> [libx264 @ 0x602c580] mb P  I16..4:  0.2%  0.7%  0.3%  P16..4: 4.0%  2.2%  1.3%  0.0%  0.0%    skip:91.4%
> [libx264 @ 0x602c580] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8: 2.9%  0.6%  0.2%  direct: 0.2%  skip:96.0%  L0:34.1% L1:48.4% BI:17.5%
> [libx264 @ 0x602c580] 8x8 transform intra:64.7% inter:64.9%
> [libx264 @ 0x602c580] coded y,uvDC,uvAC intra: 85.8% 90.6% 64.1% inter: 1.5% 1.4% 0.0%
> [libx264 @ 0x602c580] i16 v,h,dc,p: 42% 20%  4% 34%
> [libx264 @ 0x602c580] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 13% 10% 5%  7% 12%  6%  9%  6%
> [libx264 @ 0x602c580] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 10% 6%  9% 12%  6%  9%  6%
> [libx264 @ 0x602c580] i8c dc,h,v,p: 39% 17% 27% 16%
> [libx264 @ 0x602c580] Weighted P-Frames: Y:1.0% UV:0.4%
> [libx264 @ 0x602c580] ref P L0: 60.3% 18.9% 15.4%  4.9%  0.5%
> [libx264 @ 0x602c580] ref B L0: 93.8%  5.0%  1.2%
> [libx264 @ 0x602c580] ref B L1: 97.9%  2.1%
> [libx264 @ 0x602c580] kb/s:42.29
> [aac @ 0x6047b80] Qavg: 233.915
>
> So I did another try with overlay, but it didn't work either:
>
> $ ffmpeg -i 'Stille Tage in Clichy.mpg' -filter_complex
> "split=3[a][b][c];[a]crop=352:496:0:36[d];[b]crop=352:496:0:42[e];[c]crop=352:496:0:38[f];[d]select='between(t,0,2888.3)'[g];[e]select='between(t,2888.3,3293.88)'[h];[f]select='between(t,3293.88,10000)'[i];
> [g][h] overlay=y=h[j]; [j][i]
> overlay=y=h",scale=iw:ih/2,hqdn3d=2:1.5:12 -movflags +faststart
> 'Stille Tage in Clichy_c_4_scale_1_2_hqdn3d_2_1_12.mp4'
> ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
>   built with gcc 8 (Debian 8.3.0-6)
>   configuration: --enable-gpl --enable-version3 --enable-static
> --disable-debug --disable-ffplay --disable-indev=sndio
> --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-gmp --enable-libgme --enable-gray
> --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf
> --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband
> --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis
> --enable-libopus --enable-libtheora --enable-libvidstab
> --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d
> --enable-libxvid --enable-libzvbi --enable-libzimg
>   libavutil      56. 51.100 / 56. 51.100
>   libavcodec     58. 91.100 / 58. 91.100
>   libavformat    58. 45.100 / 58. 45.100
>   libavdevice    58. 10.100 / 58. 10.100
>   libavfilter     7. 85.100 /  7. 85.100
>   libswscale      5.  7.100 /  5.  7.100
>   libswresample   3.  7.100 /  3.  7.100
>   libpostproc    55.  7.100 / 55.  7.100
> Input #0, mpeg, from 'Stille Tage in Clichy.mpg':
>   Duration: 01:00:00.49, start: 0.529989, bitrate: 2917 kb/s
>     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 352x576 [SAR 24:11 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
>     Side data:
>       cpb: bitrate max/min/avg: 9578800/0/0 buffer size: 1835008 vbv_delay: N/A
>     Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 384 kb/s
> File 'Stille Tage in Clichy_c_4_scale_1_2_hqdn3d_2_1_12.mp4' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 (mpeg2video) -> split (graph 0)
>   hqdn3d (graph 0) -> Stream #0:0 (libx264)
>   Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
> Press [q] to stop, [?] for help
> [libx264 @ 0x5b74ec0] using SAR=12/11
> [libx264 @ 0x5b74ec0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
> [libx264 @ 0x5b74ec0] profile High, level 1.3, 4:2:0, 8-bit
> [libx264 @ 0x5b74ec0] 264 - core 161 r3018 db0d417 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2020 - 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, mp4, to 'Stille Tage in Clichy_c_4_scale_1_2_hqdn3d_2_1_12.mp4':
>   Metadata:
>     encoder         : Lavf58.45.100
>     Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 352x248 [SAR 12:11 DAR 48:31], q=-1--1, 25 fps, 12800 tbn, 25 tbc
>     Metadata:
>       encoder         : Lavc58.91.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
>     Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
>     Metadata:
>       encoder         : Lavc58.91.100 aac
> Getötet   0 fps=0.0 q=0.0 size=   17152kB time=00:18:26.64 bitrate= 127.0kbits/s speed=6.02x
>
> $ ffplay 'Stille Tage in Clichy_c_4_scale_1_2_hqdn3d_2_1_12.mp4'
> 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
>   WARNING: library configuration mismatch
>   avcodec     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 --enable-version3
> --disable-doc --disable-programs --enable-libaribb24
> --enable-liblensfun --enable-libopencore_amrnb
> --enable-libopencore_amrwb --enable-libtesseract
> --enable-libvo_amrwbenc
>   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
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8ff8000bc0] moov atom not found0/0
> Stille Tage in Clichy_c_4_scale_1_2_hqdn3d_2_1_12.mp4: Invalid data found when processing input
>
> So how I can do it right?
>
> -Ulf
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list