Opened 4 years ago

Closed 4 years ago

#2550 closed defect (duplicate)

Bad FFV1 encode

Reported by: JeremyMGibson Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords: FFV1, VLC
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: After transcode with no apparent errors first 2 seconds of video plays fine in vlc, then video hangs while audio continues to play.

Transcode report log pasted below. Unfortunately the original file is large so I cannot upload.

-------------------------------------------------
ffmpeg started on 2013-05-09 at 15:44:05
Report written to "ffmpeg-20130509-154405.log"
Command line:
ffmpeg.exe -report -i "C:
TestPool?
NC UseYourVoiceTRU-VanceQuicktimeFINALhi-rez5-22-09.mov" -c:v ffv1 -c:a pcm_s16le "C:
YAVP_OUT
test.avi"
ffmpeg version N-52837-g399f6ef Copyright (c) 2000-2013 the FFmpeg developers

built on May 7 2013 01:14:14 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 29.100 / 52. 29.100
libavcodec 55. 7.100 / 55. 7.100
libavformat 55. 4.101 / 55. 4.101
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 63.101 / 3. 63.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'C:\TestPool?\NC UseYourVoiceTRU-VanceQuicktimeFINALhi-rez5-22-09.mov'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'.
Reading option 'C:\YAVP_OUT\test.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file C:\TestPool?\NC UseYourVoiceTRU-VanceQuicktimeFINALhi-rez5-22-09.mov.
Successfully parsed a group of options.
Opening an input file: C:\TestPool?\NC UseYourVoiceTRU-VanceQuicktimeFINALhi-rez5-22-09.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003de8e0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003de8e0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003de8e0] File position before avformat_find_stream_info() is 139555596
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003de8e0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003de8e0] File position after avformat_find_stream_info() is 102405
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\TestPool?\NC UseYourVoiceTRU-VanceQuicktimeFINALhi-rez5-22-09.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2009-04-22 15:55:47

Duration: 00:00:30.16, start: 0.000000, bitrate: 37013 kb/s

Stream #0:0(eng), 24, 1/48000: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:

creation_time : 2009-04-22 15:56:57
handler_name : Apple Alias Data Handler

Stream #0:1(eng), 1, 1/2997: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 35473 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Metadata:

creation_time : 2009-04-22 15:56:57
handler_name : Apple Alias Data Handler

Successfully opened the file.
Parsing a group of options: output file C:\YAVP_OUT\test.avi.
Applying option c:v (codec name) with argument ffv1.
Applying option c:a (codec name) with argument pcm_s16le.
Successfully parsed a group of options.
Opening an output file: C:\YAVP_OUT\test.avi.
Successfully opened the file.
[graph 0 input from stream 0:1 @ 00000000003dff00] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:1 @ 00000000003dff00] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:1 @ 00000000003dff00] Setting 'time_base' to value '1/2997'
[graph 0 input from stream 0:1 @ 00000000003dff00] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:1 @ 00000000003dff00] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:1 @ 00000000003dff00] Setting 'frame_rate' to value '2997/100'
[graph 0 input from stream 0:1 @ 00000000003dff00] w:1920 h:1080 pixfmt:yuv420p tb:1/2997 fr:2997/100 sar:1/1 sws_param:flags=2
[format @ 00000000003d97c0] compat: called with args=[yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le]
[format @ 00000000003d97c0] Setting 'pix_fmts' to value 'yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le'
[AVFilterGraph @ 00000000003dee60] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[graph 1 input from stream 0:0 @ 0000000000313180] Setting 'time_base' to value '1/48000'
[graph 1 input from stream 0:0 @ 0000000000313180] Setting 'sample_rate' to value '48000'
[graph 1 input from stream 0:0 @ 0000000000313180] Setting 'sample_fmt' to value 's16'
[graph 1 input from stream 0:0 @ 0000000000313180] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:0 @ 0000000000313180] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0000000004ee0980] Setting 'sample_fmts' to value 's16'
[AVFilterGraph @ 00000000002f5f00] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[ffv1 @ 00000000002f0260] detected 2 logical cores
[h264 @ 00000000002e0fe0] detected 2 logical cores
Output #0, avi, to 'C:\YAVP_OUT\test.avi':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISFT : Lavf55.4.101
Stream #0:0(eng), 0, 100/2997: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
Metadata:

creation_time : 2009-04-22 15:56:57
handler_name : Apple Alias Data Handler

Stream #0:1(eng), 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:

creation_time : 2009-04-22 15:56:57
handler_name : Apple Alias Data Handler

Stream mapping:

Stream #0:1 -> #0:0 (h264 -> ffv1)
Stream #0:0 -> #0:1 (pcm_s16le -> pcm_s16le)

Press [q] to stop, ? for help
[h264 @ 0000000004b55560] Increasing reorder buffer to 1
[h264 @ 0000000004b55560] no picture
frame= 8 fps=0.0 q=0.0 size= 4595kB time=00:00:00.50 bitrate=75284.1kbits/s
frame= 15 fps= 13 q=0.0 size= 10260kB time=00:00:01.00 bitrate=84051.5kbits/s
frame= 22 fps= 13 q=0.0 size= 15205kB time=00:00:01.00 bitrate=124561.7kbits/s
frame= 30 fps= 13 q=0.0 size= 19914kB time=00:00:01.50 bitrate=108755.0kbits/s
frame= 38 fps= 14 q=0.0 size= 24656kB time=00:00:01.50 bitrate=134652.2kbits/s
frame= 45 fps= 14 q=0.0 size= 28537kB time=00:00:02.00 bitrate=116886.0kbits/s
frame= 53 fps= 14 q=0.0 size= 32450kB time=00:00:02.00 bitrate=132914.2kbits/s
frame= 61 fps= 14 q=0.0 size= 36257kB time=00:00:02.50 bitrate=118805.5kbits/s
frame= 69 fps= 14 q=0.0 size= 40449kB time=00:00:02.50 bitrate=132544.3kbits/s
frame= 77 fps= 14 q=0.0 size= 44996kB time=00:00:03.00 bitrate=122869.3kbits/s
frame= 85 fps= 14 q=0.0 size= 49788kB time=00:00:03.00 bitrate=135954.1kbits/s
frame= 92 fps= 14 q=0.0 size= 54100kB time=00:00:03.50 bitrate=126624.9kbits/s
frame= 99 fps= 14 q=0.0 size= 58308kB time=00:00:03.50 bitrate=136473.1kbits/s
frame= 107 fps= 14 q=0.0 size= 63049kB time=00:00:04.00 bitrate=129125.1kbits/s
frame= 114 fps= 14 q=0.0 size= 67313kB time=00:00:04.00 bitrate=137857.5kbits/s
frame= 122 fps= 14 q=0.0 size= 72039kB time=00:00:04.50 bitrate=131142.7kbits/s
frame= 130 fps= 14 q=0.0 size= 76847kB time=00:00:04.50 bitrate=139896.5kbits/s
frame= 137 fps= 14 q=0.0 size= 81930kB time=00:00:05.00 bitrate=134234.4kbits/s
frame= 144 fps= 14 q=0.0 size= 87335kB time=00:00:05.00 bitrate=143089.7kbits/s
frame= 151 fps= 14 q=0.0 size= 92485kB time=00:00:05.50 bitrate=137752.1kbits/s
frame= 158 fps= 14 q=0.0 size= 97489kB time=00:00:05.50 bitrate=145205.8kbits/s
frame= 165 fps= 14 q=0.0 size= 102558kB time=00:00:06.00 bitrate=140026.5kbits/s
frame= 172 fps= 14 q=0.0 size= 107515kB time=00:00:06.00 bitrate=146793.3kbits/s
frame= 179 fps= 14 q=0.0 size= 112427kB time=00:00:06.50 bitrate=141692.1kbits/s
frame= 186 fps= 14 q=0.0 size= 117491kB time=00:00:06.50 bitrate=148075.3kbits/s
frame= 193 fps= 14 q=0.0 size= 122562kB time=00:00:07.00 bitrate=143432.8kbits/s
frame= 200 fps= 14 q=0.0 size= 127450kB time=00:00:07.00 bitrate=149153.2kbits/s
frame= 207 fps= 14 q=0.0 size= 132103kB time=00:00:07.50 bitrate=144291.9kbits/s
frame= 215 fps= 14 q=0.0 size= 136889kB time=00:00:07.50 bitrate=149519.6kbits/s
frame= 223 fps= 14 q=0.0 size= 140845kB time=00:00:08.00 bitrate=144224.8kbits/s
frame= 231 fps= 14 q=0.0 size= 144530kB time=00:00:08.00 bitrate=147999.2kbits/s
frame= 240 fps= 14 q=0.0 size= 147908kB time=00:00:08.50 bitrate=142548.7kbits/s
frame= 250 fps= 14 q=0.0 size= 150550kB time=00:00:08.50 bitrate=145094.9kbits/s
frame= 262 fps= 14 q=0.0 size= 152045kB time=00:00:09.00 bitrate=138394.8kbits/s
frame= 273 fps= 14 q=0.0 size= 154821kB time=00:00:09.50 bitrate=133504.5kbits/s
frame= 280 fps= 14 q=0.0 size= 158397kB time=00:00:09.52 bitrate=136282.1kbits/s
frame= 289 fps= 15 q=0.0 size= 163127kB time=00:00:10.00 bitrate=133633.5kbits/s
frame= 297 fps= 15 q=0.0 size= 167677kB time=00:00:10.50 bitrate=130820.2kbits/s
frame= 305 fps= 15 q=0.0 size= 172320kB time=00:00:10.50 bitrate=134442.4kbits/s
frame= 313 fps= 15 q=0.0 size= 177268kB time=00:00:11.00 bitrate=132016.6kbits/s
frame= 321 fps= 15 q=0.0 size= 181856kB time=00:00:11.00 bitrate=135432.8kbits/s
frame= 329 fps= 15 q=0.0 size= 186736kB time=00:00:11.50 bitrate=133021.0kbits/s
frame= 337 fps= 15 q=0.0 size= 191309kB time=00:00:11.50 bitrate=136278.7kbits/s
frame= 345 fps= 15 q=0.0 size= 195411kB time=00:00:12.00 bitrate=133400.4kbits/s
frame= 353 fps= 15 q=0.0 size= 199418kB time=00:00:12.00 bitrate=136135.7kbits/s
frame= 361 fps= 15 q=0.0 size= 204301kB time=00:00:12.50 bitrate=133890.7kbits/s
frame= 369 fps= 15 q=0.0 size= 209473kB time=00:00:12.50 bitrate=137280.3kbits/s
frame= 377 fps= 15 q=0.0 size= 214487kB time=00:00:13.00 bitrate=135159.9kbits/s
frame= 385 fps= 15 q=0.0 size= 219154kB time=00:00:13.00 bitrate=138101.0kbits/s
frame= 393 fps= 15 q=0.0 size= 223837kB time=00:00:13.50 bitrate=135827.4kbits/s
frame= 400 fps= 15 q=0.0 size= 227981kB time=00:00:13.52 bitrate=138124.0kbits/s
frame= 409 fps= 15 q=0.0 size= 233188kB time=00:00:14.00 bitrate=136448.4kbits/s
frame= 417 fps= 15 q=0.0 size= 238139kB time=00:00:14.50 bitrate=134540.1kbits/s
frame= 425 fps= 15 q=0.0 size= 243031kB time=00:00:14.50 bitrate=137304.3kbits/s
frame= 433 fps= 15 q=0.0 size= 247660kB time=00:00:15.00 bitrate=135255.2kbits/s
frame= 441 fps= 15 q=0.0 size= 252746kB time=00:00:15.00 bitrate=138032.8kbits/s
frame= 448 fps= 15 q=0.0 size= 257612kB time=00:00:15.50 bitrate=136152.2kbits/s
frame= 455 fps= 14 q=0.0 size= 262670kB time=00:00:15.50 bitrate=138825.5kbits/s
frame= 462 fps= 14 q=0.0 size= 267556kB time=00:00:16.00 bitrate=136988.8kbits/s
frame= 469 fps= 14 q=0.0 size= 272554kB time=00:00:16.00 bitrate=139547.4kbits/s
frame= 475 fps= 14 q=0.0 size= 276912kB time=00:00:16.02 bitrate=141590.0kbits/s
frame= 483 fps= 14 q=0.0 size= 282585kB time=00:00:16.50 bitrate=140299.3kbits/s
frame= 490 fps= 14 q=0.0 size= 287408kB time=00:00:16.50 bitrate=142693.9kbits/s
frame= 497 fps= 14 q=0.0 size= 292304kB time=00:00:17.00 bitrate=140856.1kbits/s
frame= 504 fps= 14 q=0.0 size= 297419kB time=00:00:17.00 bitrate=143320.9kbits/s
frame= 511 fps= 14 q=0.0 size= 302586kB time=00:00:17.50 bitrate=141644.7kbits/s
frame= 518 fps= 14 q=0.0 size= 307910kB time=00:00:17.50 bitrate=144137.1kbits/s
frame= 525 fps= 14 q=0.0 size= 313417kB time=00:00:18.00 bitrate=142639.5kbits/s
frame= 532 fps= 14 q=0.0 size= 318961kB time=00:00:18.00 bitrate=145162.6kbits/s
frame= 539 fps= 14 q=0.0 size= 324332kB time=00:00:18.50 bitrate=143617.6kbits/s
frame= 546 fps= 14 q=0.0 size= 329760kB time=00:00:18.50 bitrate=146021.2kbits/s
frame= 553 fps= 14 q=0.0 size= 335107kB time=00:00:19.00 bitrate=144484.0kbits/s
frame= 560 fps= 14 q=0.0 size= 340309kB time=00:00:19.00 bitrate=146727.1kbits/s
frame= 567 fps= 14 q=0.0 size= 345448kB time=00:00:19.50 bitrate=145123.8kbits/s
frame= 574 fps= 14 q=0.0 size= 350524kB time=00:00:19.50 bitrate=147256.1kbits/s
frame= 580 fps= 14 q=0.0 size= 354868kB time=00:00:19.52 bitrate=148918.2kbits/s
frame= 588 fps= 14 q=0.0 size= 360756kB time=00:00:20.00 bitrate=147765.5kbits/s
frame= 595 fps= 14 q=0.0 size= 365937kB time=00:00:20.00 bitrate=149887.8kbits/s
frame= 602 fps= 14 q=0.0 size= 371157kB time=00:00:20.50 bitrate=148317.8kbits/s
frame= 609 fps= 14 q=0.0 size= 376341kB time=00:00:20.50 bitrate=150389.5kbits/s
frame= 616 fps= 14 q=0.0 size= 381633kB time=00:00:21.00 bitrate=148873.1kbits/s
frame= 623 fps= 14 q=0.0 size= 386954kB time=00:00:21.00 bitrate=150949.0kbits/s
frame= 630 fps= 14 q=0.0 size= 391950kB time=00:00:21.50 bitrate=149342.0kbits/s
frame= 637 fps= 14 q=0.0 size= 396312kB time=00:00:21.50 bitrate=151004.0kbits/s
frame= 645 fps= 14 q=0.0 size= 400592kB time=00:00:22.00 bitrate=149165.9kbits/s
frame= 653 fps= 14 q=0.0 size= 404869kB time=00:00:22.00 bitrate=150758.5kbits/s
frame= 661 fps= 14 q=0.0 size= 409236kB time=00:00:22.50 bitrate=148998.2kbits/s
frame= 669 fps= 14 q=0.0 size= 413584kB time=00:00:22.50 bitrate=150581.5kbits/s
frame= 677 fps= 14 q=0.0 size= 417591kB time=00:00:23.00 bitrate=148735.2kbits/s
frame= 685 fps= 14 q=0.0 size= 421193kB time=00:00:23.00 bitrate=150017.8kbits/s
frame= 694 fps= 14 q=0.0 size= 424502kB time=00:00:23.50 bitrate=147979.5kbits/s
frame= 704 fps= 14 q=0.0 size= 426979kB time=00:00:24.00 bitrate=145742.3kbits/s
frame= 717 fps= 14 q=0.0 size= 429108kB time=00:00:24.50 bitrate=143479.8kbits/s
frame= 728 fps= 14 q=0.0 size= 433514kB time=00:00:24.50 bitrate=144952.9kbits/s
frame= 740 fps= 14 q=0.0 size= 436930kB time=00:00:25.00 bitrate=143173.1kbits/s
frame= 754 fps= 15 q=0.0 size= 438723kB time=00:00:25.50 bitrate=140941.8kbits/s
frame= 769 fps= 15 q=0.0 size= 440233kB time=00:00:26.00 bitrate=138707.4kbits/s
frame= 784 fps= 15 q=0.0 size= 441259kB time=00:00:26.50 bitrate=136407.3kbits/s
frame= 798 fps= 15 q=0.0 size= 442519kB time=00:00:27.00 bitrate=134263.5kbits/s
frame= 813 fps= 15 q=0.0 size= 443498kB time=00:00:27.50 bitrate=132114.1kbits/s
frame= 829 fps= 15 q=0.0 size= 444181kB time=00:00:28.00 bitrate=129954.6kbits/s
frame= 844 fps= 15 q=0.0 size= 444923kB time=00:00:28.50 bitrate=127888.0kbits/s
frame= 859 fps= 16 q=0.0 size= 445779kB time=00:00:29.00 bitrate=125924.9kbits/s
frame= 874 fps= 16 q=0.0 size= 446656kB time=00:00:29.50 bitrate=124034.2kbits/s
frame= 889 fps= 16 q=0.0 size= 447533kB time=00:00:30.00 bitrate=122206.5kbits/s
EOF on sink link output stream 0:0:default.
[output stream 0:1 @ 0000000004ee0820] EOF on sink link output stream 0:1:default.
frame= 904 fps= 16 q=0.0 size= 448255kB time=-577014:-32:-22.-77 bitrate=N/A
No more output streams to write to, finishing.
frame= 904 fps= 16 q=0.0 Lsize= 448294kB time=00:00:30.16 bitrate=121750.7kbits/s

video:442573kB audio:5656kB subtitle:0 global headers:0kB muxing overhead 0.014570%
2355 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000000002f0920] Statistics: 10 seeks, 15740 writeouts
[AVIOContext @ 00000000002e39e0] Statistics: 139603735 bytes read, 2 seeks
-----------------------------------------------------------

Change History (1)

comment:1 Changed 4 years ago by richardpl

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.