New submission from Martin Wood-Mitrovski <[EMAIL PROTECTED]>:
sample video uploaded to ftp :
wmv_decode_wrong_duration/converted_video_has_wrong_duration_and_video_starts_late.wmv
when trying to convert the above video the output has incorrect duration (extra
9 or so seconds) and the video 'hangs' at the start.
The audio output is fine.
ffplay -stats says this :
SOURCE
Input #0, asf, from
'converted_video_has_wrong_duration_and_video_starts_late.wmv':
Duration: 00:00:12.43, start: 5.000000, bitrate: 204 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 80 kb/s
Stream #0.1: Video: wmv3, yuv420p, 360x288 [PAR 16:15 DAR 4:3], 51 kb/s,
25.00 tb(r)
OUTPUT (flv)
Input #0, flv, from 'test.flv':
Duration: 00:00:21.71, start: 0.000000, bitrate: 32 kb/s
Stream #0.0: Video: flv, yuv420p, 360x288, 25.00 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
ffmpeg command and output :
ffmpeg -y -i converted_video_has_wrong_duration_and_video_starts_late.wmv -b
1600k -ar 22050 -ab 32k -f flv test.flv
FFmpeg version SVN-r14374, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-libvorbis
--enable-libtheora --enable-liba52 --enable-libdc1394 --enable-libgsm
--enable-libmp3lame --enable-libfaad --enable-libfaac --enable-libxvid
--enable-pthreads --enable-libx264 --enable-shared --enable-nonfree
libavutil version: 49.7.0
libavcodec version: 51.60.0
libavformat version: 52.18.0
libavdevice version: 52.0.0
built on Jul 24 2008 20:03:25, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Seems stream 1 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 25.00 (25/1)
Input #0, asf, from
'converted_video_has_wrong_duration_and_video_starts_late.wmv':
Duration: 00:00:12.43, start: 5.000000, bitrate: 204 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 80 kb/s
Stream #0.1: Video: wmv3, yuv420p, 360x288 [PAR 16:15 DAR 4:3], 51 kb/s,
25.00 tb(r)
Output #0, flv, to 'test.flv':
Stream #0.0: Video: flv, yuv420p, 360x288 [PAR 16:15 DAR 4:3], q=2-31, 1600
kb/s, 25.00 tb(c)
Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, 32 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 543 fps=492 q=2.0 Lsize= 920kB time=16.93 bitrate= 445.0kbits/s
video:835kB audio:66kB global headers:0kB muxing overhead 2.095642%
----------
messages: 2651
nosy: marvotron
priority: normal
status: new
substatus: new
title: Transcode from WMV 9 / ASF starts at wrong video position and has wrong
duration
type: bug
______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue558>
______________________________________________________