New submission from Ethan Alpert <[EMAIL PROTECTED]>:
I built last nights (9/9/08) snapshot r15279.
I am experiencing problems directly copying sections
of a dvvideo avi using the copy parameter to -vcodec
and -ss and -t options. dgt4 on irc was also able to
duplicate this problem. It seems distinct to avi.
The following sequence shows the problem. I have a
4.6 second dvvideo avi which I copy 1.25 seconds out
of starting at the 1.25 second. Note the number of
frames copied appears to be correct but the resulting
file is 2.53 seconds. When I convert this to mp4 I
get 1.25 seconds of still frame followed by 1.25 of
moving frames which are the section I intended to
copy.
I will attempt to attached the files once the bug's
registered.
[EMAIL PROTECTED]:~$ ffmpeg -i lilly001.avi
FFmpeg version SVN-r15279, Copyright (c) 2000-2008
Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --
shlibdir=/usr/lib --bindir=/usr/bin --
incdir=/usr/include/ffmpeg --enable-shared --enable-
libmp3lame --enable-gpl --enable-libfaad --
mandir=/share/man --enable-libvorbis --enable-
pthreads --enable-libfaac --enable-libxvid --enable-
postproc --enable-libamr-nb --enable-libamr-wb --
enable-x11grab --enable-libx264 --enable-liba52 --
enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC -
-enable-swscale --enable-libdc1394 --enable-nonfree --
disable-mmx
libavutil 49.10. 0 / 49.10. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 9 2008 07:44:53, gcc: 4.2.3 (Debian
4.2.3-3)
Input #0, avi, from 'lilly001.avi':
Duration: 00:00:04.60, start: 0.000000, bitrate:
30307 kb/s
Stream #0.0: Video: dvvideo, yuv411p, 720x480,
28771 kb/s, 29.97 tb(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo,
s16, 1536 kb/s
Must supply at least one output file
[EMAIL PROTECTED]:~$ ffmpeg -i lilly001.avi -vcodec
copy -acodec copy -ss 00:00:1.25 -t 00:00:1.25
lilly001_out.avi
FFmpeg version SVN-r15279, Copyright (c) 2000-2008
Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --
shlibdir=/usr/lib --bindir=/usr/bin --
incdir=/usr/include/ffmpeg --enable-shared --enable-
libmp3lame --enable-gpl --enable-libfaad --
mandir=/share/man --enable-libvorbis --enable-
pthreads --enable-libfaac --enable-libxvid --enable-
postproc --enable-libamr-nb --enable-libamr-wb --
enable-x11grab --enable-libx264 --enable-liba52 --
enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC -
-enable-swscale --enable-libdc1394 --enable-nonfree --
disable-mmx
libavutil 49.10. 0 / 49.10. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 9 2008 07:44:53, gcc: 4.2.3 (Debian
4.2.3-3)
Input #0, avi, from 'lilly001.avi':
Duration: 00:00:04.60, start: 0.000000, bitrate:
30307 kb/s
Stream #0.0: Video: dvvideo, yuv411p, 720x480,
28771 kb/s, 29.97 tb(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo,
s16, 1536 kb/s
Output #0, avi, to 'lilly001_out.avi':
Stream #0.0: Video: dvvideo, yuv411p, 720x480,
q=2-31, 28771 kb/s, 29.97 tb(c)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo,
s16, 1536 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 38 fps= 0 q=-1.0 Lsize= 4697kB time=2.50
bitrate=15375.8kbits/s
video:4453kB audio:231kB global headers:0kB muxing
overhead 0.264580%
[EMAIL PROTECTED]:~$ ffmpeg -i lilly001_out.avi
FFmpeg version SVN-r15279, Copyright (c) 2000-2008
Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --
shlibdir=/usr/lib --bindir=/usr/bin --
incdir=/usr/include/ffmpeg --enable-shared --enable-
libmp3lame --enable-gpl --enable-libfaad --
mandir=/share/man --enable-libvorbis --enable-
pthreads --enable-libfaac --enable-libxvid --enable-
postproc --enable-libamr-nb --enable-libamr-wb --
enable-x11grab --enable-libx264 --enable-liba52 --
enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC -
-enable-swscale --enable-libdc1394 --enable-nonfree --
disable-mmx
libavutil 49.10. 0 / 49.10. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 9 2008 07:44:53, gcc: 4.2.3 (Debian
4.2.3-3)
Input #0, avi, from 'lilly001_out.avi':
Duration: 00:00:02.53, start: 0.000000, bitrate:
15173 kb/s
Stream #0.0: Video: dvvideo, yuv411p, 720x480,
29.97 tb(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo,
s16, 1536 kb/s
Must supply at least one output file
----------
messages: 3095
nosy: westside
priority: normal
status: new
substatus: new
title: duration of AVI incorrect after direct copy with -ss -t options
topic: ffmpeg
type: bug
______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue629>
______________________________________________________