Opened 8 years ago

#4902 new defect

No moving of the moov atom when fragmenting

Reported by: Alan Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I am attempting to use the movflag faststart on a framgmented mp4.

I am not sure if this is a supported workflow.

When I attempt to combine a fragment call and the faststart movflag the second pass to move the moov atom does not appear to be called.


bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags faststart -frag_duration 1000 -codec:v libx264 -profile:v baseline -pix_fmt yuv420p -b:v 500k -codec:a aac -b:a 96k -strict -2 -s 426x240 -threads 0 "/Volumes/storage/rendertemp/out/output.mp4"
ffmpeg version N-75833-g9e9d731-tessus Copyright (c) 2000-2015 the FFmpeg developers

built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 55. 2.100 / 55. 2.100
libavcodec 57. 3.100 / 57. 3.100
libavformat 57. 2.100 / 57. 2.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.100 / 6. 9.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100

Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/storage/rendertemp/in/input.mp4':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-06-26 18:57:18

Duration: 00:00:10.00, start: 0.000000, bitrate: 36344 kb/s

Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709), 1920x1080, 34796 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
Metadata:

creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 (HQ)
timecode : 01:00:00:00

Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:

creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler

Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:

creation_time : 2014-06-26 18:57:39
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00

[libx264 @ 0x7fa5c980c600] using SAR=640/639
[libx264 @ 0x7fa5c980c600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fa5c980c600] profile Constrained Baseline, level 2.1
[libx264 @ 0x7fa5c980c600] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/Volumes/storage/rendertemp/out/output.mp4':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf57.2.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 426x240 [SAR 640:639 DAR 16:9], q=-1--1, 500 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:

creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
encoder : Lavc57.3.100 libx264

Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:

creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
encoder : Lavc57.3.100 aac

Stream mapping:

Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))

Press [q] to stop, ? for help
frame= 53 fps=0.0 q=0.0 size= 0kB time=00:00:02.94 bitrate= 0.1kbits/sframe= 106 fps=105 q=10.0 size= 111kB time=00:00:04.94 bitrate= 182.9kbits/frame= 158 fps=104 q=5.0 size= 228kB time=00:00:06.95 bitrate= 268.8kbits/sframe= 210 fps=104 q=2.0 size= 356kB time=00:00:08.93 bitrate= 326.0kbits/sframe= 250 fps=102 q=-1.0 Lsize= 599kB time=00:00:10.00 bitrate= 490.1kbits/s
video:392kB audio:119kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.285166%
[libx264 @ 0x7fa5c980c600] frame I:1 Avg QP:18.29 size: 3102
[libx264 @ 0x7fa5c980c600] frame P:249 Avg QP: 2.27 size: 1596
[libx264 @ 0x7fa5c980c600] mb I I16..4: 84.9% 0.0% 15.1%
[libx264 @ 0x7fa5c980c600] mb P I16..4: 0.8% 0.0% 0.3% P16..4: 28.4% 0.2% 0.3% 0.0% 0.0% skip:70.0%
[libx264 @ 0x7fa5c980c600] final ratefactor: -0.03
[libx264 @ 0x7fa5c980c600] coded y,uvDC,uvAC intra: 39.9% 60.7% 40.0% inter: 13.2% 11.6% 11.3%
[libx264 @ 0x7fa5c980c600] i16 v,h,dc,p: 76% 20% 4% 0%
[libx264 @ 0x7fa5c980c600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 26% 24% 7% 3% 2% 4% 4% 3%
[libx264 @ 0x7fa5c980c600] i8c dc,h,v,p: 36% 26% 37% 1%
[libx264 @ 0x7fa5c980c600] ref P L0: 98.2% 0.9% 0.9%
[libx264 @ 0x7fa5c980c600] kb/s:320.38

Change History (0)

Note: See TracTickets for help on using tickets.