Mikko Tuumanen <[email protected]> added the comment:
Here is another example of (probably) the same bug:
$ ffmpeg -t 1 -v 9 -loglevel 99 -i avchd-1080i-sony-wrong-framerate.MTS
-vcodec png -y test%d.png
FFmpeg version SVN-r25627, Copyright (c) 2000-2010 the FFmpeg
developers
built on Nov 1 2010 19:57:53 with gcc 4.4.5
configuration: --disable-static --enable-shared --enable-gpl --
enable-version3 --enable-nonfree --enable-postproc --enable-x11grab --
enable-bzlib --enable-libfaac --enable-libgsm --enable-libtheora --
enable-libx264 --enable-pic --extra-cflags='-march=native -
mtune=native'
libavutil 50.32. 5 / 50.32. 5
libavcore 0. 9. 1 / 0. 9. 1
libavcodec 52.93. 0 / 52.93. 0
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.53. 0 / 1.53. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[NULL @ 0x13934c0] Probed with size=2048 and score=100
[mpegts @ 0x13934c0] stream=0 stream_type=1b pid=1011
prog_reg_desc=HDMV
[mpegts @ 0x13934c0] stream=1 stream_type=81 pid=1100
prog_reg_desc=HDMV
[mpegts @ 0x13934c0] stream=2 stream_type=90 pid=1200
prog_reg_desc=HDMV
[h264 @ 0x1399270] no picture
Seems stream 0 codec frame rate differs from container frame rate:
50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from 'avchd-1080i-sony-wrong-framerate.MTS':
Duration: 00:00:02.07, start: 1.000033, bitrate: 7692 kb/s
Program 1
Stream #0.0[0x1011], 101, 1/90000: Video: h264, yuv420p, 1440x1080
[PAR 4:3 DAR 16:9], 1/50, 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100], 39, 1/90000: Audio: ac3, 48000 Hz, stereo,
s16, 256 kb/s
Stream #0.2[0x1200], 20, 1/90000: Subtitle: pgssub
[buffer @ 0x139b140] w:1440 h:1080 pixfmt:yuv420p
[ffsink @ 0x1396c60] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x1396f80] w:1440 h:1080 fmt:yuv420p -> w:1440 h:1080
fmt:rgb24 flags:0xa0000004
Output #0, image2, to 'test%d.png':
Metadata:
encoder : Lavf52.84.0
Stream #0.0, 0, 1/90000: Video: png, rgb24, 1440x1080 [PAR 4:3 DAR
16:9], 1/50, q=2-31, 200 kb/s, 90k tbn, 50 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[h264 @ 0x1399270] no picture
*** 1 dup!
*** 1 dup!2 fps= 2 q=0.0 size= -0kB time=0.04 bitrate=
-4.4kbits/s dup=1 drop=0
*** 1 dup!4 fps= 2 q=0.0 size= -0kB time=0.08 bitrate=
-2.2kbits/s dup=2 drop=0
*** 1 dup!6 fps= 2 q=0.0 size= -0kB time=0.12 bitrate=
-1.5kbits/s dup=3 drop=0
*** 1 dup!8 fps= 2 q=0.0 size= -0kB time=0.16 bitrate=
-1.1kbits/s dup=4 drop=0
*** 1 dup!0 fps= 2 q=0.0 size= -0kB time=0.20 bitrate=
-0.9kbits/s dup=5 drop=0
*** 1 dup!2 fps= 2 q=0.0 size= -0kB time=0.24 bitrate=
-0.7kbits/s dup=6 drop=0
*** 1 dup!4 fps= 2 q=0.0 size= -0kB time=0.28 bitrate=
-0.6kbits/s dup=7 drop=0
*** 1 dup!6 fps= 2 q=0.0 size= -0kB time=0.32 bitrate=
-0.6kbits/s dup=8 drop=0
*** 1 dup!8 fps= 2 q=0.0 size= -0kB time=0.36 bitrate=
-0.5kbits/s dup=9 drop=0
*** 1 dup!0 fps= 2 q=0.0 size= -0kB time=0.40 bitrate=
-0.4kbits/s dup=10 drop=0
*** 1 dup!2 fps= 2 q=0.0 size= -0kB time=0.44 bitrate=
-0.4kbits/s dup=11 drop=0
*** 1 dup!4 fps= 2 q=0.0 size= -0kB time=0.48 bitrate=
-0.4kbits/s dup=12 drop=0
*** 1 dup!6 fps= 2 q=0.0 size= -0kB time=0.52 bitrate=
-0.3kbits/s dup=13 drop=0
*** 1 dup!8 fps= 2 q=0.0 size= -0kB time=0.56 bitrate=
-0.3kbits/s dup=14 drop=0
*** 1 dup!0 fps= 2 q=0.0 size= -0kB time=0.60 bitrate=
-0.3kbits/s dup=15 drop=0
*** 1 dup!2 fps= 2 q=0.0 size= -0kB time=0.64 bitrate=
-0.3kbits/s dup=16 drop=0
*** 1 dup!4 fps= 2 q=0.0 size= -0kB time=0.68 bitrate=
-0.3kbits/s dup=17 drop=0
*** 1 dup!6 fps= 2 q=0.0 size= -0kB time=0.72 bitrate=
-0.2kbits/s dup=18 drop=0
*** 1 dup!8 fps= 2 q=0.0 size= -0kB time=0.76 bitrate=
-0.2kbits/s dup=19 drop=0
*** 1 dup!0 fps= 2 q=0.0 size= -0kB time=0.80 bitrate=
-0.2kbits/s dup=20 drop=0
*** 1 dup!2 fps= 2 q=0.0 size= -0kB time=0.84 bitrate=
-0.2kbits/s dup=21 drop=0
*** 1 dup!4 fps= 2 q=0.0 size= -0kB time=0.88 bitrate=
-0.2kbits/s dup=22 drop=0
*** 1 dup!6 fps= 2 q=0.0 size= -0kB time=0.92 bitrate=
-0.2kbits/s dup=23 drop=0
frame= 48 fps= 2 q=0.0 Lsize= -0kB time=0.96 bitrate=
-0.2kbits/s dup=24 drop=0
video:107647kB audio:0kB global headers:0kB muxing overhead
-100.000020%
$ for i in `seq 1 2 47` ; do diff test$i.png test$(($i+1)).png ; done
Adding -r 25 to the command line seems to be a workaround for
transcoding, but I don't want to transcode from command line. I want to
edit the file with the cinelerra "monty-version" that uses the ffmpeg
libs for reading the video files.
File 'avchd-1080i-sony-wrong-framerate.MTS' not attached - you can download it
from https://roundup.ffmpeg.org/file1150.
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue1938>
________________________________________________