Opened 13 years ago
Closed 8 years ago
#1493 closed defect (fixed)
Transcoding MOV file from Rhozet Carbon Server creates video with double duration (needs edit list duration support)
Reported by: | Ken | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | git-master | Keywords: | mov edts |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description
Summary of the bug:
Using ffmpeg to transcode a MOV file produced/exported by Rhozet Carbon Server results in an MP4 with double the expected duration.
The video file produced plays back fine but includes an additional 4:14 of black screen and no audio for a total duration of 8:28. When watching the debug output, ffmpeg seems to hang on the final frame of the video and then produces an extra 4:14 worth of blank frames after a few minutes before exiting cleanly.
We received permission from our customer to use this video as part of this bug report but request that it not be used for anything else.
How to reproduce:
% ffmpeg -v 9 -loglevel 99 -report -i ~/Desktop/BC-foo1/79855382001_1656639096001_449-NHS-Osteoporosis-CaseStudy-16x9-UB-H264-1024-v3.mov /tmp/tmp.mp4 ffmpeg -version: ffmpeg version N-41997-g3f59bbf built on Jun 28 2012 15:06:40 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2) configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libvo-aacenc --enable-libx264 --enable-avfilter --disable-ffplay --disable-ffserver --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx libavutil 51. 63.100 / 51. 63.100 libavcodec 54. 29.101 / 54. 29.101 libavformat 54. 11.100 / 54. 11.100 libavdevice 54. 0.100 / 54. 0.100 libavfilter 3. 0.100 / 3. 0.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100
The file can be downloaded from here:
http://ffmpeg-bug.s3-website-us-east-1.amazonaws.com/transcodes_to_double_duration.mov size: 503881220 bytes (481 MB) md5sum: a37321b6d0231b45dd62f6c3378151be
Attachments (2)
Change History (14)
by , 13 years ago
Attachment: | ffmpeg-20120620-163236.log added |
---|
by , 13 years ago
Attachment: | ffmpeg-20120628-153337.log added |
---|
output of -report using latest pull from git
comment:1 by , 13 years ago
The output video probably looks like crap, because your command line don't specify a bitrate.
In general, a sample is a good idea, but I personally won't download big videos like this. There is no way to know what the content is.
Please show us the complete and uncut output from:
ffmpeg -i infile.mov
comment:2 by , 13 years ago
Output from 'ffmpeg -i infile.mov' is not needed. I see that the info is in the attachment.
comment:3 by , 13 years ago
We normally specify bitrate and a bunch of other options, I submitted the bug with the minimal command-line options needed to reproduce.
I don't have a way of trimming down this particular file and still reproducing the bug.
The content of the video is an elderly woman discussing Osteoporosis.
Here is the output of mediainfo -F on the source file:
General Count : 278 Count of stream of this kind : 1 Kind of stream : General Kind of stream : General Stream identifier : 0 Count of video streams : 1 Count of audio streams : 1 Video_Format_List : AVC Video_Format_WithHint_List : AVC Codecs Video : AVC Video_Language_List : English Audio_Format_List : PCM Audio_Format_WithHint_List : PCM Audio codecs : PCM Audio_Language_List : English Complete name : transcodes_to_double_duration.mov File name : transcodes_to_double_duration.mov File extension : mov Format : MPEG-4 Format : MPEG-4 Format/Extensions usually used : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v Commercial name : MPEG-4 Format profile : QuickTime Internet media type : video/mp4 Codec ID : qt Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html Codec : MPEG-4 Codec : MPEG-4 Codec/Extensions usually used : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v File size : 503881220 File size : 481 MiB File size : 481 MiB File size : 481 MiB File size : 481 MiB File size : 480.5 MiB Duration : 254400 Duration : 4mn 14s Duration : 4mn 14s 400ms Duration : 4mn 14s Duration : 00:04:14.400 Overall bit rate : 15845321 Overall bit rate : 15.8 Mbps Stream size : 161024 Stream size : 157 KiB (0%) Stream size : 157 KiB Stream size : 157 KiB Stream size : 157 KiB Stream size : 157.2 KiB Stream size : 157 KiB (0%) Proportion of this stream : 0.00032 HeaderSize : 40 DataSize : 503720204 FooterSize : 160976 IsStreamable : No Encoded date : UTC 2009-08-31 13:49:30 Tagged date : UTC 2009-08-31 14:21:04 File last modification date : UTC 2012-06-28 19:38:07 File last modification date (local) : 2012-06-28 15:38:07 Writing library : Apple QuickTime Writing library : Apple QuickTime Writing library/Name : Apple QuickTime Video Count : 204 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 ID : 1 ID : 1 Format : AVC Format/Info : Advanced Video Codec Format/Url : http://developers.videolan.org/x264.html Commercial name : AVC Format profile : Main@L4.1 Format settings : 2 Ref Frames Format settings, CABAC : No Format settings, CABAC : No Format settings, ReFrames : 2 Format settings, ReFrames : 2 frames Internet media type : video/H264 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html Codec : AVC Codec : AVC Codec/Family : AVC Codec/Info : Advanced Video Codec Codec/Url : http://developers.videolan.org/x264.html Codec/CC : avc1 Codec profile : Main@L4.1 Codec settings : 2 Ref Frames Codec settings, CABAC : No Codec_Settings_RefFrames : 2 Duration : 254400 Duration : 4mn 14s Duration : 4mn 14s 400ms Duration : 4mn 14s Duration : 00:04:14.400 Bit rate : 14304258 Bit rate : 14.3 Mbps Width : 1024 Width : 1 024 pixels Height : 574 Height : 574 pixels Pixel aspect ratio : 1.000 Display aspect ratio : 1.784 Display aspect ratio : 16:9 Rotation : 0.000 Frame rate mode : CFR Frame rate mode : Constant Frame rate : 25.000 Frame rate : 25.000 fps Frame count : 6360 Resolution : 8 Resolution : 8 bits Colorimetry : 4:2:0 Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 Bit depth : 8 bits Scan type : Progressive Scan type : Progressive Interlacement : PPF Interlacement : Progressive Bits/(Pixel*Frame) : 0.973 Stream size : 454875396 Stream size : 434 MiB (90%) Stream size : 434 MiB Stream size : 434 MiB Stream size : 434 MiB Stream size : 433.8 MiB Stream size : 434 MiB (90%) Proportion of this stream : 0.90274 Language : en Language : English Language : English Language : en Language : eng Language : en Encoded date : UTC 2009-08-31 13:49:35 Tagged date : UTC 2009-08-31 14:21:04 Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177 Transfer characteristics : BT.709-5, BT.1361 Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177 Audio Count : 169 Count of stream of this kind : 1 Kind of stream : Audio Kind of stream : Audio Stream identifier : 0 ID : 2 ID : 2 Format : PCM Commercial name : PCM Format settings : Little / Signed Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : sowt Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html Codec : PCM Codec : PCM Codec/Family : PCM Codec/Url : http://www.apple.com/quicktime/download/standalone.html Codec/CC : sowt Codec settings : Little / Signed Codec settings, Endianness : Little Codec settings, Sign : Signed Duration : 254400 Duration : 4mn 14s Duration : 4mn 14s 400ms Duration : 4mn 14s Duration : 00:04:14.400 Bit rate mode : CBR Bit rate mode : Constant Bit rate : 1536000 Bit rate : 1 536 Kbps Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R ChannelLayout : L R Sampling rate : 48000 Sampling rate : 48.0 KHz Samples count : 12211200 Frame count : 12211200 Resolution : 16 Resolution : 16 bits Bit depth : 16 Bit depth : 16 bits Stream size : 48844800 Stream size : 46.6 MiB (10%) Stream size : 47 MiB Stream size : 47 MiB Stream size : 46.6 MiB Stream size : 46.58 MiB Stream size : 46.6 MiB (10%) Proportion of this stream : 0.09694 Language : en Language : English Language : English Language : en Language : eng Language : en Encoded date : UTC 2009-08-31 13:49:35 Tagged date : UTC 2009-08-31 14:21:04
Here is the output of mediainfo -F on the created file:
General Count : 278 Count of stream of this kind : 1 Kind of stream : General Kind of stream : General Stream identifier : 0 Count of video streams : 1 Count of audio streams : 1 Video_Format_List : AVC Video_Format_WithHint_List : AVC Codecs Video : AVC Video_Language_List : English Audio_Format_List : AAC Audio_Format_WithHint_List : AAC Audio codecs : AAC LC Audio_Language_List : English Complete name : /tmp/output01.mp4 Folder name : /tmp File name : output01 File extension : mp4 Format : MPEG-4 Format : MPEG-4 Format/Extensions usually used : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v Commercial name : MPEG-4 Format profile : Base Media Internet media type : video/mp4 Codec ID : isom Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html Codec : MPEG-4 Codec : MPEG-4 Codec/Extensions usually used : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v File size : 36106914 File size : 34.4 MiB File size : 34 MiB File size : 34 MiB File size : 34.4 MiB File size : 34.43 MiB Duration : 508760 Duration : 8mn 28s Duration : 8mn 28s 760ms Duration : 8mn 28s Duration : 00:08:28.760 Overall bit rate : 567763 Overall bit rate : 568 Kbps Stream size : 271452 Stream size : 265 KiB (1%) Stream size : 265 KiB Stream size : 265 KiB Stream size : 265 KiB Stream size : 265.1 KiB Stream size : 265 KiB (1%) Proportion of this stream : 0.00752 HeaderSize : 40 DataSize : 35835470 FooterSize : 271404 IsStreamable : No File last modification date : UTC 2012-06-28 19:31:21 File last modification date (local) : 2012-06-28 15:31:21 Writing application : Lavf54.11.100 Video Count : 201 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 ID : 1 ID : 1 Format : AVC Format/Info : Advanced Video Codec Format/Url : http://developers.videolan.org/x264.html Commercial name : AVC Format profile : High@L3.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, CABAC : Yes Format settings, ReFrames : 4 Format settings, ReFrames : 4 frames Internet media type : video/H264 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html Codec : AVC Codec : AVC Codec/Family : AVC Codec/Info : Advanced Video Codec Codec/Url : http://developers.videolan.org/x264.html Codec/CC : avc1 Codec profile : High@L3.1 Codec settings : CABAC / 4 Ref Frames Codec settings, CABAC : Yes Codec_Settings_RefFrames : 4 Duration : 508760 Duration : 8mn 28s Duration : 8mn 28s 760ms Duration : 8mn 28s Duration : 00:08:28.760 Bit rate : 499479 Bit rate : 499 Kbps Width : 1024 Width : 1 024 pixels Height : 574 Height : 574 pixels Pixel aspect ratio : 1.000 Display aspect ratio : 1.784 Display aspect ratio : 16:9 Rotation : 0.000 Frame rate mode : CFR Frame rate mode : Constant FrameRate_Mode_Original : VFR Frame rate : 25.000 Frame rate : 25.000 fps Frame count : 12719 Resolution : 8 Resolution : 8 bits Colorimetry : 4:2:0 Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 Bit depth : 8 bits Scan type : Progressive Scan type : Progressive Interlacement : PPF Interlacement : Progressive Bits/(Pixel*Frame) : 0.034 Stream size : 31764380 Stream size : 30.3 MiB (88%) Stream size : 30 MiB Stream size : 30 MiB Stream size : 30.3 MiB Stream size : 30.29 MiB Stream size : 30.3 MiB (88%) Proportion of this stream : 0.87973 Writing library : x264 - core 118 r2085 8a62835 Writing library : x264 core 118 r2085 8a62835 Writing library/Name : x264 Writing library/Version : core 118 r2085 8a62835 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : en Language : English Language : English Language : en Language : eng Language : en Audio Count : 169 Count of stream of this kind : 1 Kind of stream : Audio Kind of stream : Audio Stream identifier : 0 ID : 2 ID : 2 Format : AAC Format/Info : Advanced Audio Codec Commercial name : AAC Format profile : LC Codec ID : 40 Codec : AAC LC Codec : AAC LC Codec/Family : AAC Codec/CC : 40 Duration : 254434 Duration : 4mn 14s Duration : 4mn 14s 434ms Duration : 4mn 14s Duration : 00:04:14.434 Duration_LastFrame : -9 Duration_LastFrame : -9ms Duration_LastFrame : -9ms Duration_LastFrame : -9ms Duration_LastFrame : -00:00:00.009 Bit rate mode : CBR Bit rate mode : Constant Bit rate : 128004 Bit rate : 128 Kbps Channel(s) : 2 Channel(s) : 2 channels Channel positions : Front: L R Channel positions : 2/0/0 Sampling rate : 48000 Sampling rate : 48.0 KHz Samples count : 12212832 Compression mode : Lossy Compression mode : Lossy Stream size : 4071082 Stream size : 3.88 MiB (11%) Stream size : 4 MiB Stream size : 3.9 MiB Stream size : 3.88 MiB Stream size : 3.882 MiB Stream size : 3.88 MiB (11%) Proportion of this stream : 0.11275 Language : en Language : English Language : English Language : en Language : eng Language : en
Please let me know if any further information is needed.
follow-up: 7 comment:4 by , 13 years ago
Nothing stands out as being obviously wrong in ffmpeg-20120628-153337.log.
How many video frames are coded if you suppress the audio?
ffmpeg -i infile.mov -an out.mp4
comment:5 by , 13 years ago
Component: | FFmpeg → undetermined |
---|---|
Keywords: | mov regression added; double duration rhozet carbon server removed |
Priority: | normal → important |
Reproduced by developer: | set |
Status: | new → open |
Unrelated to this ticket: Could you provide us with the current EULA of Rhozet Carbon Coder?
The ticket is another regression since 91360ce / r25805, possibly related to tickets #137, #187, #385 and #1385
$ ffmpeg -i transcodes_to_double_duration.mov -s 512x287 -acodec aac -strict -2 -qscale 2 -vcodec mpeg4 out.mp4 ffmpeg version N-42057-g8a85660 Copyright (c) 2000-2012 the FFmpeg developers built on Jun 30 2012 10:59:19 with gcc 4.3.2 configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-libfaac --enable-nonfree libavutil 51. 63.100 / 51. 63.100 libavcodec 54. 31.100 / 54. 31.100 libavformat 54. 14.100 / 54. 14.100 libavdevice 54. 0.100 / 54. 0.100 libavfilter 3. 0.100 / 3. 0.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'transcodes_to_double_duration.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2009-08-31 13:49:30 Duration: 00:04:14.40, start: 0.000000, bitrate: 15845 kb/s Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1024x574, 14304 kb/s, SAR 1:1 DAR 512:287, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: creation_time : 2009-08-31 13:49:35 handler_name : Apple Alias Data Handler Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s Metadata: creation_time : 2009-08-31 13:49:35 handler_name : Apple Alias Data Handler Please use -q:a or -q:v, -qscale is ambiguous [graph 0 input from stream 0:0 @ 0x9032060] w:1024 h:574 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2 [output stream 0:0 @ 0x9032620] No opaque field provided [scaler for output stream 0:0 @ 0x90328c0] w:1024 h:574 fmt:yuv420p sar:1/1 -> w:512 h:287 fmt:yuv420p sar:1/1 flags:0x4 [graph 1 input from stream 0:1 @ 0x90c0440] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3 [auto-inserted resampler 0 @ 0x90c6880] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:flt r:48000Hz Output #0, mp4, to 'out.mp4': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt encoder : Lavf54.14.100 Stream #0:0(eng): Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 512x287 [SAR 1:1 DAR 512:287], q=2-31, 200 kb/s, 25 tbn, 25 tbc Metadata: creation_time : 2009-08-31 13:49:35 handler_name : Apple Alias Data Handler Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, flt, 128 kb/s Metadata: creation_time : 2009-08-31 13:49:35 handler_name : Apple Alias Data Handler Stream mapping: Stream #0:0 -> #0:0 (h264 -> mpeg4) Stream #0:1 -> #0:1 (pcm_s16le -> aac) Press [q] to stop, [?] for help frame=12719 fps= 66 q=2.0 Lsize= 55585kB time=00:04:14.40 bitrate=1789.9kbits/s dup=6359 drop=0 video:51261kB audio:4154kB subtitle:0 global headers:0kB muxing overhead 0.306812%
$ ffmpeg -i out.mp4 ffmpeg version N-42057-g8a85660 Copyright (c) 2000-2012 the FFmpeg developers built on Jun 30 2012 10:59:19 with gcc 4.3.2 configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-libfaac --enable-nonfree libavutil 51. 63.100 / 51. 63.100 libavcodec 54. 31.100 / 54. 31.100 libavformat 54. 14.100 / 54. 14.100 libavdevice 54. 0.100 / 54. 0.100 libavfilter 3. 0.100 / 3. 0.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf54.14.100 Duration: 00:08:28.76, start: 0.000000, bitrate: 895 kb/s Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 512x287 [SAR 1:1 DAR 512:287], 825 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 133 kb/s Metadata: handler_name : SoundHandler At least one output file must be specified
comment:6 by , 13 years ago
Thank you for the update.
I do not have access to the software or the EULA, we only receive the video files from our customers. The most I can find is: http://www.rhozet.com/legal.html and http://www.rhozet.com/privacy.html
comment:7 by , 13 years ago
Replying to mjs973:
How many video frames are coded if you suppress the audio?
ffmpeg -i infile.mov -an out.mp4
My guess is that the two most likely reasons for the behavior you describe is:
1) the audio stream is longer than you think
2) ffmpeg has internally miscalculated the length of the video stream
If you want to narrow down the issue, you should run the requested experiment.
follow-up: 9 comment:8 by , 13 years ago
Using "ffmpeg -i infile.mov -an out.mp4" results in the same number of frames and the same video duration.
mediainfo noaudio.mp4
General Complete name : noaudio.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 30.4 MiB Duration : 8mn 28s Overall bit rate : 502 Kbps Encoded date : UTC 2009-08-31 13:49:30 Tagged date : UTC 2009-08-31 13:49:30 Writing application : Lavf53.24.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 8mn 28s Bit rate : 499 Kbps Width : 1 024 pixels Height : 574 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.034 Stream size : 30.3 MiB (100%) Writing library : x264 core 118 r2085 8a62835 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Encoded date : UTC 2009-08-31 13:49:30 Tagged date : UTC 2009-08-31 13:49:30
comment:9 by , 13 years ago
Replying to kbreeman:
Using "ffmpeg -i infile.mov -an out.mp4" results in the same number of frames and the same video duration.
That result rules out a too-long audio stream. Seems like this file triggers a real bug with the internal calculation of video stream length.
Until there is a fix, the only workaround I can think of is for you to tell ffmpeg to stop transcoding after a specific number of frames:
ffmpeg -i infile.mov -vframes 6360 out.mp4
comment:10 by , 12 years ago
Analyzed by developer: | set |
---|---|
Keywords: | regression removed |
Summary: | Transcoding MOV file from Rhozet Carbon Server creates video with double duration → Transcoding MOV file from Rhozet Carbon Server creates video with double duration (needs edit list duration support) |
This is not a regression, the video is really that long, the correct length is in the edit list
comment:11 by , 12 years ago
Keywords: | edts added |
---|
comment:12 by , 8 years ago
Component: | undetermined → avformat |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Fixed by Sasi Inguva in ca6cae73db207f17a0d5507609de12842d8f0ca3
output of -report