Opened 9 years ago
Closed 9 years ago
#5084 closed defect (invalid)
How to achieve requirements for concat-filter?
Reported by: | ruth | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: We are trying to implement a workflow which concatenates two random files together. For this purpose, we first encode each of them with the same parameters and then use the concat-filter. But the resulting files obviously do not match in all required attributes. First we had slighty different SAR values, which I (not too happily) fixed as described in another ticket here with "setsar". But it still does not work... I might just be overlooking something, but could you provide:
a) a link to the list of attributes that have to match, and
b) a hint how to change the encoding params, so the results are sure to meet the requirements of the concat-filter?
Thanks a lot for your help!
Here are the commands and the console output:
Information: Executing [D:\ffmpeg\ffmpeg.exe -i "D:\Transcoding Testfiles\mehrkanaltontest\SK Testsequenz 60.mxf" -i D:\ffmpeg-output\logos\swr\720x576_swr.png -filter_complex "[0:1][0:2]amerge[mergedaudio];[0:v]yadif=0:-1:0crop=in_w-48:in_h-32[preprocessed];[preprocessed][1:v]overlay=0:0[ready4scaling];[ready4scaling]scale=iw*min(0/iw\0/ih):ih*min(0/iw\0/ih)pad=0:0:(0-iw*min(0/iw\0/ih))/2:(0-ih*min(0/iw\0/ih))/2" -map [mergedaudio] -c:v libx264 -profile:v main -level 3.1 -s 512x288 -r 25 -sc_threshold 0 -g 50 -pix_fmt yuv420p -b:v 512k -minrate 512k -maxrate 512k -b:a 96k -bufsize 1024k -c:a libfdk_aac -profile:a aac_low -channels 2 D:\ffmpeg-output\tmp\299.mp4 -y] ffmpeg version N-71100-g0245abc Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/ffmpeg/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-static --disable-shared --extra-cflags= --prefix=/home/ffmpeg/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-nonfree --enable-libfdk-aac --disable-libfaac --disable-decoder=aac --enable-nvenc --enable-runtime-cpudetect libavutil 54. 20.101 / 54. 20.101 libavcodec 56. 30.100 / 56. 30.100 libavformat 56. 26.101 / 56. 26.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Guessed Channel Layout for Input Stream #0.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Guessed Channel Layout for Input Stream #0.3 : mono Guessed Channel Layout for Input Stream #0.4 : mono Guessed Channel Layout for Input Stream #0.5 : mono Guessed Channel Layout for Input Stream #0.6 : mono Guessed Channel Layout for Input Stream #0.7 : mono Guessed Channel Layout for Input Stream #0.8 : mono Input #0, mxf, from 'D:\Transcoding Testfiles\mehrkanaltontest\SK Testsequenz 60.mxf': Metadata: uid : a30684d5-2907-354e-bd90-be209ec8f020 generation_uid : 14f06aa9-5122-7447-9cd5-b9fed71765ef company_name : AVID product_name : TRMG product_version : 3.01 product_uid : 00000000-0000-0000-0000-000000000000 modification_date: 2015-08-10 12:42:11 material_package_umid: 0x060A2B340101010501010D1313000000F9A577B96F8B8C43B462D8C5108E3BC3 timecode : 10:00:00:00 Duration: 00:01:00.00, start: 0.000000, bitrate: 60199 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1313000000E2B615AF16AF1C498892306808D70A9E Input #1, png_pipe, from 'D:\ffmpeg-output\logos\720x576_logo.png': Duration: N/A, bitrate: N/A Stream #1:0: Video: png, rgba, 720x576, 25 tbr, 25 tbn, 25 tbc [Parsed_amerge_0 @ 00000000005f1c20] No channel layout for input 1 [Parsed_amerge_0 @ 00000000005f1c20] Input channel layouts overlap: output layout will be determined by the number of distinct input channels [libx264 @ 000000000060e060] using SAR=1053/1048 [libx264 @ 000000000060e060] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 000000000060e060] profile Main, level 3.1 [libx264 @ 000000000060e060] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 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=50 keyint_min=5 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=512 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=512 vbv_bufsize=1024 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'D:\ffmpeg-output\tmp\299.mp4': Metadata: uid : a30684d5-2907-354e-bd90-be209ec8f020 generation_uid : 14f06aa9-5122-7447-9cd5-b9fed71765ef company_name : AVID product_name : TRMG product_version : 3.01 product_uid : 00000000-0000-0000-0000-000000000000 modification_date: 2015-08-10 12:42:11 material_package_umid: 0x060A2B340101010501010D1313000000F9A577B96F8B8C43B462D8C5108E3BC3 timecode : 10:00:00:00 encoder : Lavf56.26.101 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 512x288 [SAR 1053:1048 DAR 234:131], q=-1--1, 512 kb/s, 25 fps, 12800 tbn, 25 tbc (default) Metadata: encoder : Lavc56.30.100 libx264 Stream #0:1: Audio: aac (libfdk_aac) (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 96 kb/s (default) Metadata: encoder : Lavc56.30.100 libfdk_aac Stream mapping: Stream #0:0 (mpeg2video) -> yadif Stream #0:1 (pcm_s24le) -> amerge:in0 Stream #0:2 (pcm_s24le) -> amerge:in1 Stream #1:0 (png) -> overlay:overlay pad -> Stream #0:0 (libx264) amerge -> Stream #0:1 (libfdk_aac) Press [q] to stop, [?] for help [swscaler @ 00000000005c35c0] Warning: data is not aligned! This can lead to a speedloss frame= 21 fps=0.0 q=0.0 size= 0kB time=00:00:00.83 bitrate= 0.5kbits/s frame= 33 fps= 31 q=0.0 size= 0kB time=00:00:01.30 bitrate= 0.3kbits/s frame= 44 fps= 28 q=0.0 size= 0kB time=00:00:01.74 bitrate= 0.2kbits/s frame= 55 fps= 27 q=17.0 size= 21kB time=00:00:02.19 bitrate= 79.5kbits/s frame= 66 fps= 26 q=14.0 size= 31kB time=00:00:02.62 bitrate= 95.6kbits/s frame= 77 fps= 25 q=11.0 size= 46kB time=00:00:03.07 bitrate= 123.6kbits/s frame= 88 fps= 24 q=10.0 size= 71kB time=00:00:03.49 bitrate= 165.3kbits/s frame= 99 fps= 24 q=10.0 size= 83kB time=00:00:03.94 bitrate= 172.0kbits/s frame= 110 fps= 24 q=5.0 size= 127kB time=00:00:04.39 bitrate= 236.1kbits/s frame= 121 fps= 23 q=2.0 size= 138kB time=00:00:04.82 bitrate= 235.0kbits/s frame= 131 fps= 23 q=3.0 size= 156kB time=00:00:05.22 bitrate= 244.6kbits/s frame= 143 fps= 23 q=2.0 size= 173kB time=00:00:05.71 bitrate= 248.1kbits/s frame= 156 fps= 23 q=5.0 size= 227kB time=00:00:06.22 bitrate= 298.5kbits/s frame= 167 fps= 22 q=4.0 size= 237kB time=00:00:06.67 bitrate= 291.1kbits/s frame= 179 fps= 22 q=5.0 size= 256kB time=00:00:07.14 bitrate= 293.3kbits/s frame= 192 fps= 23 q=3.0 size= 283kB time=00:00:07.65 bitrate= 303.1kbits/s frame= 203 fps= 22 q=6.0 size= 334kB time=00:00:08.10 bitrate= 337.7kbits/s frame= 216 fps= 22 q=3.0 size= 351kB time=00:00:08.61 bitrate= 333.5kbits/s frame= 228 fps= 22 q=2.0 size= 368kB time=00:00:09.10 bitrate= 330.9kbits/s frame= 237 fps= 22 q=4.0 size= 381kB time=00:00:09.47 bitrate= 329.7kbits/s frame= 250 fps= 22 q=22.0 size= 399kB time=00:00:09.98 bitrate= 327.8kbits/s frame= 261 fps= 22 q=31.0 size= 474kB time=00:00:10.43 bitrate= 372.0kbits/s frame= 275 fps= 22 q=31.0 size= 532kB time=00:00:10.98 bitrate= 397.0kbits/s frame= 289 fps= 22 q=31.0 size= 575kB time=00:00:11.54 bitrate= 408.0kbits/s frame= 300 fps= 22 q=30.0 size= 603kB time=00:00:11.98 bitrate= 412.1kbits/s frame= 309 fps= 22 q=31.0 size= 637kB time=00:00:12.35 bitrate= 422.4kbits/s frame= 321 fps= 22 q=31.0 size= 671kB time=00:00:12.82 bitrate= 428.7kbits/s frame= 335 fps= 22 q=30.0 size= 711kB time=00:00:13.39 bitrate= 434.5kbits/s frame= 346 fps= 22 q=29.0 size= 745kB time=00:00:13.82 bitrate= 441.5kbits/s frame= 357 fps= 22 q=32.0 size= 784kB time=00:00:14.27 bitrate= 449.7kbits/s frame= 371 fps= 22 q=35.0 size= 840kB time=00:00:14.82 bitrate= 463.9kbits/s frame= 381 fps= 22 q=30.0 size= 858kB time=00:00:15.23 bitrate= 461.5kbits/s frame= 396 fps= 22 q=28.0 size= 893kB time=00:00:15.82 bitrate= 461.9kbits/s frame= 407 fps= 22 q=28.0 size= 934kB time=00:00:16.27 bitrate= 470.2kbits/s frame= 420 fps= 22 q=32.0 size= 962kB time=00:00:16.78 bitrate= 469.2kbits/s frame= 433 fps= 23 q=32.0 size= 984kB time=00:00:17.30 bitrate= 466.0kbits/s frame= 444 fps= 23 q=32.0 size= 1011kB time=00:00:17.74 bitrate= 466.6kbits/s frame= 456 fps= 23 q=32.0 size= 1074kB time=00:00:18.21 bitrate= 482.8kbits/s frame= 466 fps= 22 q=31.0 size= 1111kB time=00:00:18.62 bitrate= 488.9kbits/s frame= 478 fps= 22 q=30.0 size= 1171kB time=00:00:19.11 bitrate= 501.9kbits/s frame= 490 fps= 22 q=30.0 size= 1190kB time=00:00:19.58 bitrate= 497.9kbits/s frame= 500 fps= 22 q=30.0 size= 1207kB time=00:00:20.03 bitrate= 493.5kbits/s frame= 514 fps= 23 q=30.0 size= 1250kB time=00:00:20.54 bitrate= 498.5kbits/s frame= 525 fps= 23 q=29.0 size= 1269kB time=00:00:20.99 bitrate= 495.1kbits/s frame= 537 fps= 23 q=29.0 size= 1294kB time=00:00:21.46 bitrate= 493.9kbits/s frame= 549 fps= 23 q=29.0 size= 1321kB time=00:00:21.95 bitrate= 492.8kbits/s frame= 558 fps= 22 q=27.0 size= 1359kB time=00:00:22.31 bitrate= 498.9kbits/s frame= 569 fps= 22 q=29.0 size= 1382kB time=00:00:22.74 bitrate= 497.9kbits/s frame= 584 fps= 23 q=31.0 size= 1413kB time=00:00:23.33 bitrate= 496.0kbits/s frame= 595 fps= 23 q=30.0 size= 1433kB time=00:00:23.78 bitrate= 493.7kbits/s frame= 606 fps= 23 q=27.0 size= 1462kB time=00:00:24.23 bitrate= 494.2kbits/s frame= 616 fps= 22 q=42.0 size= 1489kB time=00:00:24.61 bitrate= 495.4kbits/s frame= 630 fps= 23 q=43.0 size= 1546kB time=00:00:25.19 bitrate= 502.8kbits/s frame= 643 fps= 23 q=42.0 size= 1591kB time=00:00:25.70 bitrate= 507.1kbits/s frame= 655 fps= 23 q=43.0 size= 1640kB time=00:00:26.19 bitrate= 512.9kbits/s frame= 667 fps= 23 q=43.0 size= 1685kB time=00:00:26.66 bitrate= 517.6kbits/s frame= 681 fps= 23 q=41.0 size= 1736kB time=00:00:27.22 bitrate= 522.3kbits/s frame= 694 fps= 23 q=41.0 size= 1784kB time=00:00:27.75 bitrate= 526.6kbits/s frame= 705 fps= 23 q=39.0 size= 1830kB time=00:00:28.18 bitrate= 532.0kbits/s frame= 716 fps= 23 q=39.0 size= 1870kB time=00:00:28.62 bitrate= 535.1kbits/s frame= 729 fps= 23 q=38.0 size= 1899kB time=00:00:29.14 bitrate= 533.7kbits/s frame= 741 fps= 23 q=39.0 size= 1924kB time=00:00:29.63 bitrate= 531.9kbits/s frame= 755 fps= 23 q=38.0 size= 1955kB time=00:00:30.18 bitrate= 530.5kbits/s frame= 765 fps= 23 q=38.0 size= 1980kB time=00:00:30.59 bitrate= 530.3kbits/s frame= 777 fps= 23 q=39.0 size= 2021kB time=00:00:31.06 bitrate= 533.0kbits/s frame= 790 fps= 23 q=41.0 size= 2064kB time=00:00:31.59 bitrate= 535.2kbits/s frame= 802 fps= 23 q=43.0 size= 2090kB time=00:00:32.06 bitrate= 533.9kbits/s frame= 813 fps= 23 q=43.0 size= 2109kB time=00:00:32.51 bitrate= 531.5kbits/s frame= 827 fps= 23 q=43.0 size= 2144kB time=00:00:33.06 bitrate= 531.1kbits/s frame= 839 fps= 23 q=42.0 size= 2189kB time=00:00:33.55 bitrate= 534.4kbits/s frame= 854 fps= 23 q=43.0 size= 2257kB time=00:00:34.15 bitrate= 541.3kbits/s frame= 864 fps= 23 q=44.0 size= 2277kB time=00:00:34.53 bitrate= 540.0kbits/s frame= 878 fps= 23 q=40.0 size= 2310kB time=00:00:35.11 bitrate= 539.0kbits/s frame= 889 fps= 23 q=42.0 size= 2353kB time=00:00:35.54 bitrate= 542.4kbits/s frame= 900 fps= 23 q=42.0 size= 2384kB time=00:00:35.98 bitrate= 542.7kbits/s frame= 911 fps= 23 q=41.0 size= 2437kB time=00:00:36.43 bitrate= 547.9kbits/s frame= 922 fps= 23 q=36.0 size= 2490kB time=00:00:36.86 bitrate= 553.4kbits/s frame= 933 fps= 23 q=32.0 size= 2511kB time=00:00:37.31 bitrate= 551.4kbits/s frame= 944 fps= 23 q=39.0 size= 2519kB time=00:00:37.73 bitrate= 546.7kbits/s frame= 955 fps= 23 q=31.0 size= 2529kB time=00:00:38.18 bitrate= 542.5kbits/s frame= 966 fps= 23 q=28.0 size= 2534kB time=00:00:38.63 bitrate= 537.4kbits/s frame= 977 fps= 23 q=23.0 size= 2541kB time=00:00:39.06 bitrate= 532.9kbits/s frame= 988 fps= 23 q=16.0 size= 2548kB time=00:00:39.50 bitrate= 528.2kbits/s frame= 999 fps= 23 q=9.0 size= 2555kB time=00:00:39.95 bitrate= 523.8kbits/s frame= 1010 fps= 22 q=4.0 size= 2570kB time=00:00:40.38 bitrate= 521.3kbits/s frame= 1021 fps= 22 q=5.0 size= 2579kB time=00:00:40.83 bitrate= 517.4kbits/s frame= 1032 fps= 22 q=4.0 size= 2588kB time=00:00:41.25 bitrate= 513.9kbits/s frame= 1043 fps= 22 q=6.0 size= 2598kB time=00:00:41.70 bitrate= 510.2kbits/s frame= 1053 fps= 22 q=4.0 size= 2612kB time=00:00:42.11 bitrate= 508.2kbits/s frame= 1065 fps= 22 q=5.0 size= 2624kB time=00:00:42.58 bitrate= 504.9kbits/s frame= 1075 fps= 22 q=6.0 size= 2633kB time=00:00:42.98 bitrate= 501.8kbits/s frame= 1086 fps= 22 q=4.0 size= 2642kB time=00:00:43.43 bitrate= 498.3kbits/s frame= 1097 fps= 22 q=14.0 size= 2651kB time=00:00:43.86 bitrate= 495.2kbits/s frame= 1108 fps= 22 q=10.0 size= 2665kB time=00:00:44.30 bitrate= 492.8kbits/s frame= 1119 fps= 22 q=4.0 size= 2673kB time=00:00:44.75 bitrate= 489.3kbits/s frame= 1130 fps= 22 q=2.0 size= 2683kB time=00:00:45.18 bitrate= 486.4kbits/s frame= 1141 fps= 22 q=6.0 size= 2691kB time=00:00:45.63 bitrate= 483.2kbits/s frame= 1152 fps= 22 q=10.0 size= 2723kB time=00:00:46.05 bitrate= 484.3kbits/s frame= 1163 fps= 22 q=9.0 size= 2740kB time=00:00:46.50 bitrate= 482.7kbits/s frame= 1174 fps= 22 q=9.0 size= 2759kB time=00:00:46.95 bitrate= 481.4kbits/s frame= 1185 fps= 22 q=8.0 size= 2779kB time=00:00:47.38 bitrate= 480.4kbits/s frame= 1196 fps= 22 q=5.0 size= 2801kB time=00:00:47.82 bitrate= 479.7kbits/s frame= 1207 fps= 22 q=8.0 size= 2837kB time=00:00:48.27 bitrate= 481.4kbits/s frame= 1218 fps= 22 q=10.0 size= 2854kB time=00:00:48.70 bitrate= 480.0kbits/s frame= 1229 fps= 22 q=9.0 size= 2871kB time=00:00:49.15 bitrate= 478.6kbits/s frame= 1240 fps= 22 q=9.0 size= 2890kB time=00:00:49.57 bitrate= 477.6kbits/s frame= 1251 fps= 22 q=10.0 size= 2930kB time=00:00:50.02 bitrate= 479.8kbits/s frame= 1261 fps= 22 q=8.0 size= 2949kB time=00:00:50.43 bitrate= 479.1kbits/s frame= 1272 fps= 22 q=8.0 size= 2966kB time=00:00:50.85 bitrate= 477.8kbits/s frame= 1283 fps= 22 q=8.0 size= 2989kB time=00:00:51.30 bitrate= 477.2kbits/s frame= 1294 fps= 22 q=8.0 size= 3007kB time=00:00:51.75 bitrate= 476.0kbits/s frame= 1305 fps= 22 q=9.0 size= 3044kB time=00:00:52.18 bitrate= 477.9kbits/s frame= 1316 fps= 22 q=9.0 size= 3065kB time=00:00:52.62 bitrate= 477.0kbits/s frame= 1327 fps= 22 q=8.0 size= 3084kB time=00:00:53.07 bitrate= 476.0kbits/s frame= 1338 fps= 22 q=8.0 size= 3104kB time=00:00:53.50 bitrate= 475.3kbits/s frame= 1349 fps= 22 q=11.0 size= 3129kB time=00:00:53.95 bitrate= 475.1kbits/s frame= 1360 fps= 22 q=8.0 size= 3164kB time=00:00:54.37 bitrate= 476.6kbits/s frame= 1371 fps= 22 q=8.0 size= 3184kB time=00:00:54.82 bitrate= 475.7kbits/s frame= 1382 fps= 22 q=8.0 size= 3204kB time=00:00:55.27 bitrate= 474.8kbits/s frame= 1393 fps= 22 q=8.0 size= 3226kB time=00:00:55.70 bitrate= 474.5kbits/s frame= 1404 fps= 22 q=10.0 size= 3263kB time=00:00:56.14 bitrate= 476.1kbits/s frame= 1415 fps= 22 q=10.0 size= 3283kB time=00:00:56.59 bitrate= 475.1kbits/s frame= 1426 fps= 22 q=10.0 size= 3300kB time=00:00:57.02 bitrate= 474.1kbits/s frame= 1437 fps= 22 q=10.0 size= 3321kB time=00:00:57.47 bitrate= 473.3kbits/s frame= 1448 fps= 22 q=9.0 size= 3340kB time=00:00:57.89 bitrate= 472.6kbits/s frame= 1459 fps= 22 q=7.0 size= 3378kB time=00:00:58.34 bitrate= 474.3kbits/s frame= 1470 fps= 22 q=9.0 size= 3398kB time=00:00:58.79 bitrate= 473.4kbits/s frame= 1481 fps= 22 q=8.0 size= 3417kB time=00:00:59.22 bitrate= 472.6kbits/s frame= 1492 fps= 22 q=8.0 size= 3437kB time=00:00:59.66 bitrate= 471.8kbits/s frame= 1500 fps= 22 q=-1.0 Lsize= 3618kB time=00:01:00.01 bitrate= 493.9kbits/s video:2871kB audio:704kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.200410% [libx264 @ 000000000060e060] frame I:30 Avg QP:15.27 size: 15594 [libx264 @ 000000000060e060] frame P:750 Avg QP:26.95 size: 2841 [libx264 @ 000000000060e060] frame B:720 Avg QP:16.08 size: 473 [libx264 @ 000000000060e060] consecutive B-frames: 32.5% 6.9% 11.0% 49.6% [libx264 @ 000000000060e060] mb I I16..4: 51.1% 0.0% 48.9% [libx264 @ 000000000060e060] mb P I16..4: 5.8% 0.0% 5.6% P16..4: 35.1% 11.6% 7.2% 0.0% 0.0% skip:34.6% [libx264 @ 000000000060e060] mb B I16..4: 0.1% 0.0% 0.1% B16..8: 11.4% 1.0% 0.4% direct: 1.1% skip:86.0% L0:36.6% L1:59.9% BI: 3.5% [libx264 @ 000000000060e060] coded y,uvDC,uvAC intra: 42.7% 57.4% 29.9% inter: 9.3% 14.1% 3.1% [libx264 @ 000000000060e060] i16 v,h,dc,p: 41% 25% 12% 22% [libx264 @ 000000000060e060] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 24% 31% 6% 5% 4% 5% 5% 5% [libx264 @ 000000000060e060] i8c dc,h,v,p: 67% 17% 14% 2% [libx264 @ 000000000060e060] Weighted P-Frames: Y:6.5% UV:4.7% [libx264 @ 000000000060e060] ref P L0: 55.5% 9.5% 20.2% 13.1% 1.7% [libx264 @ 000000000060e060] ref B L0: 85.8% 11.3% 3.0% [libx264 @ 000000000060e060] ref B L1: 93.7% 6.3% [libx264 @ 000000000060e060] kb/s:391.91 Dez 11, 2015 4:26:04 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: OrderID 299 format null transcoding done! Duration in seconds: 69 Exitvalue was 0 Dez 11, 2015 4:26:04 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: OrderID 299 format null transcoding done! Duration in seconds: 69 Exitvalue was 0 Dez 11, 2015 4:26:04 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: Executing [D:\ffmpeg\ffmpeg.exe -i D:\ffmpeg-output\trailer\video\vssEndboard.mov -c:v libx264 -profile:v main -level 3.1 -s 512x288 -r 25 -sc_threshold 0 -g 50 -pix_fmt yuv420p -b:v 512k -minrate 512k -maxrate 512k -b:a 96k -bufsize 1024k -c:a libfdk_aac -profile:a aac_low -channels 2 D:\ffmpeg-output\tmp\299-TRAILER.mp4 -y] Dez 11, 2015 4:26:04 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: Executing [D:\ffmpeg\ffmpeg.exe -i D:\ffmpeg-output\trailer\video\vssEndboard.mov -c:v libx264 -profile:v main -level 3.1 -s 512x288 -r 25 -sc_threshold 0 -g 50 -pix_fmt yuv420p -b:v 512k -minrate 512k -maxrate 512k -b:a 96k -bufsize 1024k -c:a libfdk_aac -profile:a aac_low -channels 2 D:\ffmpeg-output\tmp\299-TRAILER.mp4 -y] ffmpeg version N-71100-g0245abc Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/ffmpeg/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-static --disable-shared --extra-cflags= --prefix=/home/ffmpeg/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-nonfree --enable-libfdk-aac --disable-libfaac --disable-decoder=aac --enable-nvenc --enable-runtime-cpudetect libavutil 54. 20.101 / 54. 20.101 libavcodec 56. 30.100 / 56. 30.100 libavformat 56. 26.101 / 56. 26.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\ffmpeg-output\trailer\video\vssEndboard.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2014-04-17 11:20:07 Duration: 00:00:10.04, start: 0.000000, bitrate: 3527 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 1974 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc (default) Metadata: creation_time : 2014-04-17 11:20:07 handler_name : Apple Alias Data Handler encoder : H.264 timecode : 01:00:55;19 Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default) Metadata: creation_time : 2014-04-17 11:20:07 handler_name : Apple Alias Data Handler Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default) Metadata: creation_time : 2014-04-17 11:20:07 handler_name : Apple Alias Data Handler timecode : 01:00:55;19 [libx264 @ 0000000000476360] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0000000000476360] profile Main, level 3.1 [libx264 @ 0000000000476360] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 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=50 keyint_min=5 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=512 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=512 vbv_bufsize=1024 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'D:\ffmpeg-output\tmp\299-TRAILER.mp4': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt encoder : Lavf56.26.101 Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 512x288, q=-1--1, 512 kb/s, 25 fps, 12800 tbn, 25 tbc (default) Metadata: creation_time : 2014-04-17 11:20:07 handler_name : Apple Alias Data Handler timecode : 01:00:55;19 encoder : Lavc56.30.100 libx264 Stream #0:1(eng): Audio: aac (libfdk_aac) (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 96 kb/s (default) Metadata: creation_time : 2014-04-17 11:20:07 handler_name : Apple Alias Data Handler encoder : Lavc56.30.100 libfdk_aac Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help Past duration 0.663322 too large Past duration 0.829155 too large Past duration 0.994987 too large frame= 89 fps=0.0 q=23.0 size= 103kB time=00:00:03.94 bitrate= 213.4kbits/s dup=0 drop=15 frame= 165 fps=164 q=25.0 size= 345kB time=00:00:06.95 bitrate= 405.9kbits/s dup=0 drop=31 frame= 239 fps=158 q=23.0 size= 570kB time=00:00:09.96 bitrate= 468.3kbits/s dup=0 drop=45 frame= 253 fps=142 q=-1.0 Lsize= 741kB time=00:00:10.04 bitrate= 604.0kbits/s dup=0 drop=48 video:614kB audio:118kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.200018% [libx264 @ 0000000000476360] frame I:6 Avg QP:11.14 size: 19812 [libx264 @ 0000000000476360] frame P:107 Avg QP:17.21 size: 3993 [libx264 @ 0000000000476360] frame B:140 Avg QP:23.33 size: 583 [libx264 @ 0000000000476360] consecutive B-frames: 10.3% 34.0% 41.5% 14.2% [libx264 @ 0000000000476360] mb I I16..4: 47.0% 0.0% 53.0% [libx264 @ 0000000000476360] mb P I16..4: 4.2% 0.0% 4.0% P16..4: 17.1% 9.9% 8.9% 0.0% 0.0% skip:56.0% [libx264 @ 0000000000476360] mb B I16..4: 0.3% 0.0% 0.1% B16..8: 11.9% 3.8% 1.8% direct: 2.4% skip:79.8% L0:28.9% L1:53.0% BI:18.1% [libx264 @ 0000000000476360] coded y,uvDC,uvAC intra: 48.3% 67.2% 57.9% inter: 8.7% 10.5% 4.2% [libx264 @ 0000000000476360] i16 v,h,dc,p: 65% 22% 10% 4% [libx264 @ 0000000000476360] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 27% 13% 5% 5% 5% 5% 5% 6% [libx264 @ 0000000000476360] i8c dc,h,v,p: 46% 32% 17% 6% [libx264 @ 0000000000476360] Weighted P-Frames: Y:12.1% UV:11.2% [libx264 @ 0000000000476360] ref P L0: 77.4% 10.7% 8.1% 3.8% 0.0% [libx264 @ 0000000000476360] ref B L0: 91.8% 7.2% 1.0% [libx264 @ 0000000000476360] ref B L1: 96.4% 3.6% [libx264 @ 0000000000476360] kb/s:496.23 Dez 11, 2015 4:26:06 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: OrderID 299 format null transcoding done! Duration in seconds: 1 Exitvalue was 0 Dez 11, 2015 4:26:06 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: OrderID 299 format null transcoding done! Duration in seconds: 1 Exitvalue was 0 Dez 11, 2015 4:26:06 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: Executing [D:\ffmpeg\ffmpeg.exe -i D:\ffmpeg-output\tmp\299.mp4 -i D:\ffmpeg-output\tmp\299-TRAILER.mp4 -filter_complex "[0:0] setsar=1/1[sarfix0]; [1:0] setsar=1/1[sarfix1]; [sarfix0] [0:1] [sarfix1] [1:1] concat=n=2:v=1:a=1 [v] [a] " -map [v] -map [a] -movflags faststart D:\ffmpeg-output\videoJobMXFTargetFileName-[test_encoderprofile].mp4 -y] Dez 11, 2015 4:26:06 PM swronline.aeXpresso.converter.aeXpressoConverter.Converter execute Information: Executing [D:\ffmpeg\ffmpeg.exe -i D:\ffmpeg-output\tmp\299.mp4 -i D:\ffmpeg-output\tmp\299-TRAILER.mp4 -filter_complex "[0:0] setsar=1/1[sarfix0]; [1:0] setsar=1/1[sarfix1]; [sarfix0] [0:1] [sarfix1] [1:1] concat=n=2:v=1:a=1 [v] [a] " -map [v] -map [a] -movflags faststart D:\ffmpeg-output\videoJobMXFTargetFileName-[test_encoderprofile].mp4 -y] ffmpeg version N-71100-g0245abc Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/ffmpeg/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-static --disable-shared --extra-cflags= --prefix=/home/ffmpeg/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-nonfree --enable-libfdk-aac --disable-libfaac --disable-decoder=aac --enable-nvenc --enable-runtime-cpudetect libavutil 54. 20.101 / 54. 20.101 libavcodec 56. 30.100 / 56. 30.100 libavformat 56. 26.101 / 56. 26.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\ffmpeg-output\tmp\299.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.26.101 Duration: 00:01:00.04, start: 0.042667, bitrate: 493 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 512x288 [SAR 1053:1048 DAR 234:131], 392 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 96 kb/s (default) Metadata: handler_name : SoundHandler Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\ffmpeg-output\tmp\299-TRAILER.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.26.101 Duration: 00:00:10.12, start: 0.042667, bitrate: 599 kb/s Stream #1:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 512x288, 496 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Stream #1:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 96 kb/s (default) Metadata: handler_name : SoundHandler [nvenc @ 00000000056b8c20] Failed loading CUDA library Output #0, mp4, to 'D:\ffmpeg-output\videoJobMXFTargetFileName-[test_encoderprofile].mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.26.101 Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 25 fps (default) Metadata: encoder : Lavc56.30.100 nvenc Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default) Metadata: encoder : Lavc56.30.100 libfdk_aac Stream mapping: Stream #0:0 (h264) -> setsar Stream #0:1 (libfdk_aac) -> concat:in0:a0 Stream #1:0 (h264) -> setsar Stream #1:1 (libfdk_aac) -> concat:in1:a0 concat:out:v0 -> Stream #0:0 (nvenc) concat:out:a0 -> Stream #0:1 (libfdk_aac) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Alternatively I would try to go back to the concat protocol, now that I found the miraculous -auto_convert param in http://trac.ffmpeg.org/ticket/4498 (we had a similar issue with corrupted and asynchronous results when using it before - even when we first transcoded our mp4s to transport streams).
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sorry, this is a bug tracker, you can get support on the user mailing list.
Just to rule out the parameter mismatch as cause, run the final concat filter step with the same input i.e. join 299.mp4 with 299.mp4, and in another command, join the trailer with itself. You can try it without the setsar since both the inputs are known to be identical.
Also, the concat method referred to in #4498 is the concat demuxer; the concat protocol is a different method.