[FFmpeg-trac] #2938(undetermined:new): Incorrect start time and duration when transcoding audio-only (-vn) from A/V files.
FFmpeg
trac at avcodec.org
Fri Sep 6 01:34:22 CEST 2013
#2938: Incorrect start time and duration when transcoding audio-only (-vn) from
A/V files.
-------------------------------------+-------------------------------------
Reporter: rlabonte | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by rlabonte):
Replying to [comment:4 cehoyos]:
> How much longer does it get if you encode five (or ten) times?
I did 11 total audio transcodes. The duration grew by 213.333ms from
FFprobe's 596.48 seconds for the source audio duration to 596.693333 of
the final transcode.
Continuation from my re-transcodes above:
{{{
% ffmpeg -i offset3.mov -vn -c:a aac -strict -2 offset4.mov && ffmpeg -i
offset4.mov -vn -c:a aac -strict -2 offset5.mov && ffmpeg -i offset5.mov
-vn -c:a aac -strict -2 offset6.mov && ffmpeg -i offset6.mov -vn -c:a aac
-strict -2 offset7.mov && ffmpeg -i offset7.mov -vn -c:a aac -strict -2
offset8.mov && ffmpeg -i offset8.mov -vn -c:a aac -strict -2 offset9.mov
&& ffmpeg -i offset9.mov -vn -c:a aac -strict -2 offset10.mov
}}}
FFprobe output of offset10.mov:
{{{
ffprobe offset10.mov -show_streams
ffprobe version N-56052-g59b9ecc Copyright (c) 2007-2013 the FFmpeg
developers
built on Sep 5 2013 14:16:47 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-
libvpx --enable-libtheora --enable-libvorbis --enable-libfaac --enable-
libfdk_aac --enable-libx264 --enable-libfreetype
libavutil 52. 43.100 / 52. 43.100
libavcodec 55. 31.101 / 55. 31.101
libavformat 55. 16.101 / 55. 16.101
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 83.102 / 3. 83.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'offset10.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf55.16.101
Duration: 00:09:56.69, start: 0.021333, bitrate: 129 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp,
128 kb/s (default)
Metadata:
handler_name : DataHandler
[STREAM]
index=0
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=fltp
sample_rate=48000
channels=6
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=-1024
start_time=-0.021333
duration_ts=28641280
duration=596.693333
bit_rate=128101
nb_frames=27970
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:language=eng
TAG:handler_name=DataHandler
[/STREAM]
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2938#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list