[FFmpeg-trac] #4088(undetermined:new): Theora video duration different depending on scale
FFmpeg
trac at avcodec.org
Thu Nov 6 09:36:22 CET 2014
#4088: Theora video duration different depending on scale
--------------------------------------+----------------------------------
Reporter: mlinnosk | Type: defect
Status: new | Priority: normal
Component: undetermined | Version: 2.4.3
Keywords: theora,pipe | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Summary of the bug:
When converting PNG image sequence to 'Ogg/Theora' video.
With same input, but different output scaling the resulting video file has
different duration and drops frames from the end.
Tested with same setup but with '-vcodec mpeg4' and can't reproduce.
Observed with '-vcodec libtheora'. Also the '-sws_flags lancoz' doesn't
seem to make difference.
The test material has 392 frames and ffmpeg seems to process them all.
How to reproduce:
{{{
unzip -p $INPUT_FILE $IMAGE_GLOB | -loglevel quiet -f image2pipe -c:v png
-r 25 -i - -s $RESOLUTION -aspect 16:10 -sws_flags lanczos -vcodec
libtheora -pix_fmt yuv420p -an -qscale:v $QS -r 25 -y $OUTPUT_FILE
}}}
Info:
{{{
ffmpeg version 2.4.3- http://johnvansickle.com/ffmpeg/ Copyright (c)
2000-2014 the FFmpeg developers
built on Nov 4 2014 13:14:24 with gcc 4.8 (Debian 4.8.3-13)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-
debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264
--enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis
--enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-
libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-
gnutls --cc=gcc-4.8
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Output1:
Input #0, ogg, from 'file1.ogv':
Duration: 00:00:15.68, start: 0.000000, bitrate: 2423 kb/s
Stream #0:0: Video: theora, yuv420p, 1280x800 [SAR 1:1 DAR 8:5], 25
tbr, 25 tbn, 25 tbc
Metadata:
ENCODER : Lavc56.1.100 libtheora
Output2:
Input #0, ogg, from 'file2.ogv':
Duration: 00:00:15.24, start: 0.000000, bitrate: 1773 kb/s
Stream #0:0: Video: theora, yuv420p, 1024x640 [SAR 1:1 DAR 8:5], 25
tbr, 25 tbn, 25 tbc
Metadata:
ENCODER : Lavc56.1.100 libtheora
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4088>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list