Carl Eugen Hoyos <[email protected]> added the comment:
Works fine with avi and mkv (I tried pcm, mp2 and aac) and mpg, reproducible for
mov (and nut, with pcm, mp2 and aac). Unrelated to DNxHD, afaict.
The resulting media file has audio out-of-sync (0.5 sec late).
ffmpeg -i sd300-PreRec-avchd.MTS -acodec pcm_s16le test.mov
FFmpeg version SVN-r25557, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 23 2010 20:20:15 with gcc 4.3.2
configuration: --enable-libvorbis --cc=/usr/local/gcc-4.3.2/bin/gcc
libavutil 50.32. 3 / 50.32. 3
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
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 50.00 (50/1)
Input #0, mpegts, from 'sd300-PreRec-avchd.MTS':
Duration: 00:00:11.48, start: 13.833589, bitrate: 16190 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 50
fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Stream #0.2[0x1200]: Subtitle: pgssub
[buffer @ 0x8b94370] w:1920 h:1080 pixfmt:yuv420p
Output #0, mov, to 'test.mov':
Metadata:
encoder : Lavf52.84.0
Stream #0.0: Video: mpeg4, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31,
200 kb/s, 50 tbn, 50 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 276 fps= 10 q=31.0 Lsize= 9547kB time=11.46 bitrate=6824.8kbits/s
video:3063kB audio:6480kB global headers:0kB muxing overhead 0.050268%
----------
status: new -> open
substatus: new -> reproduced
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2319>
________________________________________________