Discussion:
[FFmpeg-user] Faststart fragmented mp4
a***@aol.com
2015-10-01 21:24:27 UTC
Permalink
Team,

Is it possible to have a single cli request the create an x264 .mp4 file that is fragmented as well have its moov atom shifted to the start to be able to do fast start streaming ?

Thanks,
Alan
Carl Eugen Hoyos
2015-10-03 01:57:08 UTC
Permalink
Post by a***@aol.com
Is it possible to have a single cli request the create
an x264 .mp4 file that is fragmented as well have its
moov atom shifted to the start to be able to do fast
start streaming ?
Please test the global_sidx flag.

Carl Eugen
a***@aol.com
2015-10-03 13:23:52 UTC
Permalink
Carl,

I attempted the cli call below on the dev branch as well as on the release.

When I try on the dev branch it gives an error of : [mp4 @ 0x7fa099012200] Starting second pass: inserting sidx atoms Non-consecutive fragments, writing incorrect sidx

When I try on the release branch it skips the second pass completely.

Thanks,
Alan

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

bash-3.2# 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 2.6.2-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=/Users/helmutt/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.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 @ 0x7fa099012e00] using SAR=640/639
[libx264 @ 0x7fa099012e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fa099012e00] profile Constrained Baseline, level 2.1
[libx264 @ 0x7fa099012e00] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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 : Lavf56.25.101
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 : Lavc56.26.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 : Lavc56.26.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= 108 fps=107 q=10.0 size= 115kB time=00:00:04.94 bitrate= 190.5kbits/frame= 162 fps=107 q=5.0 size= 239kB time=00:00:06.95 bitrate= 281.5kbits/sframe= 217 fps=108 q=2.0 size= 375kB time=00:00:08.93 bitrate= 343.9kbits/s[mp4 @ 0x7fa099012200] Starting second pass: inserting sidx atoms
Non-consecutive fragments, writing incorrect sidx
Last message repeated 863 times
frame= 250 fps=105 q=-1.0 Lsize= 609kB time=00:00:10.00 bitrate= 498.6kbits/s
video:392kB audio:118kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.531601%
Post by Carl Eugen Hoyos
Post by a***@aol.com
Is it possible to have a single cli request the create
an x264 .mp4 file that is fragmented as well have its
moov atom shifted to the start to be able to do fast
start streaming ?
Please test the global_sidx flag.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
a***@aol.com
2015-10-03 14:30:40 UTC
Permalink
Carl,


I just released i sent you a test with version 2.6.2 , I ran the test again with the snapshot version 2.8.

It looks like both the release and the snapshot versions skip adding the sidx when using fast start. What would be the specific movflag to specify sidx ?

I was looking at the following notes to see what the flag might be : http://git.libav.org/?p=libav.git;a=commitdiff;h=26ac22e5e7394346e9d59f800e7d4e91f4518d33 <http://git.libav.org/?p=libav.git;a=commitdiff;h=26ac22e5e7394346e9d59f800e7d4e91f4518d33>

I tried ( -movflags sidx , -movflags global_sidx ) but I dont think its correct.

Thanks,
Alan



bash-3.2$ /Volumes/storage/ffmpeg/2_8_7/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 2.8-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 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.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 @ 0x7f918a805e00] using SAR=640/639
[libx264 @ 0x7f918a805e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7f918a805e00] profile Constrained Baseline, level 2.1
[libx264 @ 0x7f918a805e00] 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 : Lavf56.40.101
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 : Lavc56.60.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 : Lavc56.60.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= 50 fps=0.0 q=0.0 size= 0kB time=00:00:01.96 bitrate= 0.1kbits/sframe= 100 fps= 99 q=11.0 size= 98kB time=00:00:04.71 bitrate= 170.4kbits/fframe= 250 fps= 97 q=-1.0 Lsize= 598kB time=00:00:10.00 bitrate= 489.2kbits/s ps= 99 q=3.0 size= 330kB time=00:00:07.97 bitrate= 339.1kbits/s
video:392kB audio:118kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 17.320520%
[libx264 @ 0x7f918a805e00] frame I:1 Avg QP:18.29 size: 3102
[libx264 @ 0x7f918a805e00] frame P:249 Avg QP: 2.27 size: 1596
[libx264 @ 0x7f918a805e00] mb I I16..4: 84.9% 0.0% 15.1%
[libx264 @ 0x7f918a805e00] 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 @ 0x7f918a805e00] final ratefactor: -0.03
[libx264 @ 0x7f918a805e00] coded y,uvDC,uvAC intra: 39.9% 60.7% 40.0% inter: 13.2% 11.6% 11.3%
[libx264 @ 0x7f918a805e00] i16 v,h,dc,p: 76% 20% 4% 0%
[libx264 @ 0x7f918a805e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 26% 24% 7% 3% 2% 4% 4% 3%
[libx264 @ 0x7f918a805e00] i8c dc,h,v,p: 36% 26% 37% 1%
[libx264 @ 0x7f918a805e00] ref P L0: 98.2% 0.9% 0.9%
[libx264 @ 0x7f918a805e00] kb/s:320.38
bash-3.2$



----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Post by a***@aol.com
Carl,
I attempted the cli call below on the dev branch as well as on the release.
When I try on the release branch it skips the second pass completely.
Thanks,
Alan
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bash-3.2# 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 2.6.2-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=/Users/helmutt/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Guessed Channel Layout for Input Stream #0.1 : stereo
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)
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)
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)
creation_time : 2014-06-26 18:57:39
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.25.101
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)
creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
encoder : Lavc56.26.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
encoder : Lavc56.26.100 aac
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
Non-consecutive fragments, writing incorrect sidx
Last message repeated 863 times
frame= 250 fps=105 q=-1.0 Lsize= 609kB time=00:00:10.00 bitrate= 498.6kbits/s
video:392kB audio:118kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.531601%
Post by Carl Eugen Hoyos
Post by a***@aol.com
Is it possible to have a single cli request the create
an x264 .mp4 file that is fragmented as well have its
moov atom shifted to the start to be able to do fast
start streaming ?
Please test the global_sidx flag.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Carl Eugen Hoyos
2015-10-03 22:05:46 UTC
Permalink
Post by a***@aol.com
atoms Non-consecutive fragments, writing incorrect sidx
Please provide your command line including complete, uncut
console output, please don't forget to test current FFmpeg git
head and avoid top-posting here.

Carl Eugen
a***@aol.com
2015-10-05 16:41:52 UTC
Permalink
Carl,

Here is the test with latest current snapshot.

No mention of SIDX in the logs that i can see.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
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 @ 0x7fdb5300b600] using SAR=640/639
[libx264 @ 0x7fdb5300b600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fdb5300b600] profile Constrained Baseline, level 2.1
[libx264 @ 0x7fdb5300b600] 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.3.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.4.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.4.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= 50 fps=0.0 q=0.0 size= 0kB time=00:00:01.96 bitrate= 0.1kbits/sframe= 102 fps=101 q=10.0 size= 102kB time=00:00:04.94 bitrate= 168.6kbits/frame= 150 fps= 99 q=6.0 size= 209kB time=00:00:06.93 bitrate= 246.7kbits/sframe= 199 fps= 99 q=3.0 size= 327kB time=00:00:07.95 bitrate= 337.1kbits/sframe= 250 fps= 98 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 @ 0x7fdb5300b600] frame I:1 Avg QP:18.29 size: 3102
[libx264 @ 0x7fdb5300b600] frame P:249 Avg QP: 2.27 size: 1596
[libx264 @ 0x7fdb5300b600] mb I I16..4: 84.9% 0.0% 15.1%
[libx264 @ 0x7fdb5300b600] 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 @ 0x7fdb5300b600] final ratefactor: -0.03
[libx264 @ 0x7fdb5300b600] coded y,uvDC,uvAC intra: 39.9% 60.7% 40.0% inter: 13.2% 11.6% 11.3%
[libx264 @ 0x7fdb5300b600] i16 v,h,dc,p: 76% 20% 4% 0%
[libx264 @ 0x7fdb5300b600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 26% 24% 7% 3% 2% 4% 4% 3%
[libx264 @ 0x7fdb5300b600] i8c dc,h,v,p: 36% 26% 37% 1%
[libx264 @ 0x7fdb5300b600] ref P L0: 98.2% 0.9% 0.9%
[libx264 @ 0x7fdb5300b600] kb/s:320.38
bash-3.2$

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Alan
Post by Carl Eugen Hoyos
Post by a***@aol.com
atoms Non-consecutive fragments, writing incorrect sidx
Please provide your command line including complete, uncut
console output, please don't forget to test current FFmpeg git
head and avoid top-posting here.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Carl Eugen Hoyos
2015-10-06 08:13:46 UTC
Permalink
$ 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"
So did you test global_sidx flag or not?

Carl Eugen
a***@aol.com
2015-10-06 11:14:09 UTC
Permalink
Carl,

Here is the result with the global_sidx flag. Seems to fail when inserting the atom.


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
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 @ 0x7f90b4814400] using SAR=640/639
[libx264 @ 0x7f90b4814400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7f90b4814400] profile Constrained Baseline, level 2.1
[libx264 @ 0x7f90b4814400] 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.3.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.4.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.4.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= 44 fps=0.0 q=0.0 size= 0kB time=00:00:01.94 bitrate= 0.1kbits/sframe= 90 fps= 89 q=12.0 size= 74kB time=00:00:03.94 bitrate= 153.2kbits/frame= 136 fps= 89 q=7.0 size= 178kB time=00:00:05.95 bitrate= 244.3kbits/sframe= 183 fps= 90 q=4.0 size= 289kB time=00:00:07.95 bitrate= 297.8kbits/sframe= 225 fps= 89 q=2.0 size= 393kB time=00:00:09.92 bitrate= 324.4kbits/s[mp4 @ 0x7f90b480b000] Starting second pass: inserting sidx atoms
Non-consecutive fragments, writing incorrect sidx
Last message repeated 863 times
frame= 250 fps= 88 q=-1.0 Lsize= 607kB time=00:00:10.00 bitrate= 497.0kbits/s
video:392kB audio:119kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.949121%
[libx264 @ 0x7f90b4814400] frame I:1 Avg QP:18.29 size: 3102
[libx264 @ 0x7f90b4814400] frame P:249 Avg QP: 2.27 size: 1596
[libx264 @ 0x7f90b4814400] mb I I16..4: 84.9% 0.0% 15.1%
[libx264 @ 0x7f90b4814400] 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 @ 0x7f90b4814400] final ratefactor: -0.03
[libx264 @ 0x7f90b4814400] coded y,uvDC,uvAC intra: 39.9% 60.7% 40.0% inter: 13.2% 11.6% 11.3%
[libx264 @ 0x7f90b4814400] i16 v,h,dc,p: 76% 20% 4% 0%
[libx264 @ 0x7f90b4814400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 26% 24% 7% 3% 2% 4% 4% 3%
[libx264 @ 0x7f90b4814400] i8c dc,h,v,p: 36% 26% 37% 1%
[libx264 @ 0x7f90b4814400] ref P L0: 98.2% 0.9% 0.9%
[libx264 @ 0x7f90b4814400] kb/s:320.38
bash-3.2$

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alan
Post by Carl Eugen Hoyos
$ 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"
So did you test global_sidx flag or not?
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
a***@aol.com
2015-10-19 15:01:05 UTC
Permalink
Carl,

I have done a few more tests with some noticeable results.

(case 1) I was able to get the sidx atom to be inserted by adding [frag_keyframe] and setting [frag_duration] to 0 , but this results in a file that does not playback past the first GOP I believe. ( Let me know if you need me to place it in an ftp)

(case 2) I then changed the [frag_duration] to 1000 which is the original value, this results in the sidx atom failing to insert.

Below are both uncut console results:


-----------
Case 1
-----------
bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx+frag_keyframe -frag_duration 0 -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
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 : 2015-03-27 21:24:00
Duration: 00:00:19.86, start: 0.129792, bitrate: 65076 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 64233 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
[libx264 @ 0x7feb9c803800] using SAR=640/639
[libx264 @ 0x7feb9c803800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7feb9c803800] profile Constrained Baseline, level 2.1
[libx264 @ 0x7feb9c803800] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html <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=23 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.3.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, 23.98 fps, 24k tbn, 23.98 tbc (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 26 fps=0.0 q=0.0 size= 0kB time=00:00:02.09 bitrate= 0.1kbits/sframe= 67 fps= 66 q=22.0 size= 0kB time=00:00:03.58 bitrate= 0.1kbits/frame= 97 fps= 64 q=24.0 size= 52kB time=00:00:05.10 bitrate= 82.7kbits/frame= 122 fps= 60 q=20.0 size= 52kB time=00:00:06.10 bitrate= 69.1kbits/frame= 158 fps= 62 q=20.0 size= 209kB time=00:00:07.60 bitrate= 225.5kbits/frame= 184 fps= 60 q=22.0 size= 343kB time=00:00:08.60 bitrate= 326.7kbits/frame= 211 fps= 59 q=25.0 size= 548kB time=00:00:10.05 bitrate= 446.5kbits/frame= 242 fps= 59 q=29.0 size= 548kB time=00:00:11.09 bitrate= 404.4kbits/frame= 271 fps= 59 q=30.0 size= 548kB time=00:00:12.10 bitrate= 370.9kbits/frame= 303 fps= 60 q=29.0 size= 548kB time=00:00:13.59 bitrate= 330.2kbits/frame= 330 fps= 59 q=28.0 size= 548kB time=00:00:15.02 bitrate= 298.7kbits/frame= 365 fps= 60 q=26.0 size= 548kB time=00:00:16.09 bitrate= 278.9kbits/frame= 395 fps= 60 q=25.0 size= 1048kB time=00:00:17.60 bitrate= 487.5kbits/frame= 425 fps= 60 q=24.0 size= 1048kB time=00:00:18.60 bitrate= 461.2kbits/frame= 451 fps= 59 q=23.0 size= 1151kB time=00:00:19.58 bitrate= 481.4kbits/frame= 479 fps= 59 q=20.0 size= 1151kB time=00:00:19.95 bitrate= 472.7kbits/[mp4 @ 0x7feb9c802c00] Starting second pass: inserting sidx atoms
frame= 480 fps= 58 q=-1.0 Lsize= 1335kB time=00:00:20.02 bitrate= 546.4kbits/s
video:1091kB audio:236kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.677739%
[libx264 @ 0x7feb9c803800] frame I:9 Avg QP:17.45 size: 12416
[libx264 @ 0x7feb9c803800] frame P:471 Avg QP:21.14 size: 2132
[libx264 @ 0x7feb9c803800] mb I I16..4: 20.0% 0.0% 80.0%
[libx264 @ 0x7feb9c803800] mb P I16..4: 0.8% 0.0% 3.6% P16..4: 33.2% 13.1% 5.3% 0.0% 0.0% skip:44.0%
[libx264 @ 0x7feb9c803800] final ratefactor: 18.05
[libx264 @ 0x7feb9c803800] coded y,uvDC,uvAC intra: 75.3% 86.5% 60.9% inter: 16.5% 24.5% 4.4%
[libx264 @ 0x7feb9c803800] i16 v,h,dc,p: 23% 43% 3% 30%
[libx264 @ 0x7feb9c803800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 25% 12% 6% 8% 7% 8% 6% 7%
[libx264 @ 0x7feb9c803800] i8c dc,h,v,p: 44% 27% 18% 11%
[libx264 @ 0x7feb9c803800] ref P L0: 71.8% 15.3% 12.9%
[libx264 @ 0x7feb9c803800] kb/s:445.98
bash-3.2$


-----------
Case 2
-----------


bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx+frag_keyframe -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
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 : 2015-03-27 21:24:00
Duration: 00:00:19.86, start: 0.129792, bitrate: 65076 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 64233 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
[libx264 @ 0x7f9749003800] using SAR=640/639
[libx264 @ 0x7f9749003800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7f9749003800] profile Constrained Baseline, level 2.1
[libx264 @ 0x7f9749003800] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html <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=23 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.3.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, 23.98 fps, 24k tbn, 23.98 tbc (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 26 fps=0.0 q=0.0 size= 0kB time=00:00:02.09 bitrate= 0.1kbits/sframe= 66 fps= 65 q=23.0 size= 24kB time=00:00:03.58 bitrate= 53.7kbits/frame= 95 fps= 62 q=24.0 size= 137kB time=00:00:05.10 bitrate= 220.0kbits/frame= 120 fps= 59 q=20.0 size= 185kB time=00:00:06.10 bitrate= 248.2kbits/frame= 158 fps= 62 q=20.0 size= 322kB time=00:00:07.60 bitrate= 346.9kbits/frame= 183 fps= 60 q=21.0 size= 430kB time=00:00:08.60 bitrate= 409.8kbits/frame= 211 fps= 59 q=25.0 size= 613kB time=00:00:09.60 bitrate= 522.6kbits/frame= 239 fps= 58 q=28.0 size= 772kB time=00:00:11.09 bitrate= 570.0kbits/frame= 269 fps= 58 q=30.0 size= 903kB time=00:00:12.10 bitrate= 611.3kbits/frame= 301 fps= 58 q=29.0 size= 971kB time=00:00:13.59 bitrate= 585.3kbits/frame= 329 fps= 58 q=28.0 size= 1028kB time=00:00:14.59 bitrate= 577.0kbits/frame= 361 fps= 58 q=26.0 size= 1090kB time=00:00:16.09 bitrate= 555.0kbits/frame= 389 fps= 58 q=25.0 size= 1139kB time=00:00:17.09 bitrate= 545.7kbits/frame= 417 fps= 58 q=24.0 size= 1207kB time=00:00:18.60 bitrate= 531.3kbits/frame= 445 fps= 58 q=24.0 size= 1277kB time=00:00:19.58 bitrate= 534.1kbits/frame= 470 fps= 57 q=23.0 size= 1323kB time=00:00:19.95 bitrate= 543.3kbits/[mp4 @ 0x7f9749002c00] Starting second pass: inserting sidx atoms
Non-consecutive fragments, writing incorrect sidx
Last message repeated 1815 times
frame= 480 fps= 57 q=-1.0 Lsize= 1515kB time=00:00:20.02 bitrate= 619.9kbits/s
video:1091kB audio:236kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 14.238788%
[libx264 @ 0x7f9749003800] frame I:9 Avg QP:17.45 size: 12416
[libx264 @ 0x7f9749003800] frame P:471 Avg QP:21.14 size: 2132
[libx264 @ 0x7f9749003800] mb I I16..4: 20.0% 0.0% 80.0%
[libx264 @ 0x7f9749003800] mb P I16..4: 0.8% 0.0% 3.6% P16..4: 33.2% 13.1% 5.3% 0.0% 0.0% skip:44.0%
[libx264 @ 0x7f9749003800] final ratefactor: 18.05
[libx264 @ 0x7f9749003800] coded y,uvDC,uvAC intra: 75.3% 86.5% 60.9% inter: 16.5% 24.5% 4.4%
[libx264 @ 0x7f9749003800] i16 v,h,dc,p: 23% 43% 3% 30%
[libx264 @ 0x7f9749003800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 25% 12% 6% 8% 7% 8% 6% 7%
[libx264 @ 0x7f9749003800] i8c dc,h,v,p: 44% 27% 18% 11%
[libx264 @ 0x7f9749003800] ref P L0: 71.8% 15.3% 12.9%
[libx264 @ 0x7f9749003800] kb/s:445.98
bash-3.2$

Regards,
Alan
Post by a***@aol.com
Carl,
Here is the result with the global_sidx flag. Seems to fail when inserting the atom.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
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
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)
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)
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)
creation_time : 2014-06-26 18:57:39
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf57.3.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)
creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
encoder : Lavc57.4.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 aac
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
Non-consecutive fragments, writing incorrect sidx
Last message repeated 863 times
frame= 250 fps= 88 q=-1.0 Lsize= 607kB time=00:00:10.00 bitrate= 497.0kbits/s
video:392kB audio:119kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.949121%
bash-3.2$
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alan
Post by Carl Eugen Hoyos
$ 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"
So did you test global_sidx flag or not?
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
a***@aol.com
2015-10-30 18:04:49 UTC
Permalink
Carl,

Is there any other information you might need or any more testing that I can perform to help diagnose ?

Thanks,
Alan
Post by a***@aol.com
Carl,
I have done a few more tests with some noticeable results.
(case 1) I was able to get the sidx atom to be inserted by adding [frag_keyframe] and setting [frag_duration] to 0 , but this results in a file that does not playback past the first GOP I believe. ( Let me know if you need me to place it in an ftp)
(case 2) I then changed the [frag_duration] to 1000 which is the original value, this results in the sidx atom failing to insert.
-----------
Case 1
-----------
bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx+frag_keyframe -frag_duration 0 -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2015-03-27 21:24:00
Duration: 00:00:19.86, start: 0.129792, bitrate: 65076 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 64233 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf57.3.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, 23.98 fps, 24k tbn, 23.98 tbc (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 aac
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 480 fps= 58 q=-1.0 Lsize= 1335kB time=00:00:20.02 bitrate= 546.4kbits/s
video:1091kB audio:236kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.677739%
bash-3.2$
-----------
Case 2
-----------
bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx+frag_keyframe -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2015-03-27 21:24:00
Duration: 00:00:19.86, start: 0.129792, bitrate: 65076 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 64233 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf57.3.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, 23.98 fps, 24k tbn, 23.98 tbc (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
creation_time : 2015-03-27 21:24:00
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 aac
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Non-consecutive fragments, writing incorrect sidx
Last message repeated 1815 times
frame= 480 fps= 57 q=-1.0 Lsize= 1515kB time=00:00:20.02 bitrate= 619.9kbits/s
video:1091kB audio:236kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 14.238788%
bash-3.2$
Regards,
Alan
Post by a***@aol.com
Carl,
Here is the result with the global_sidx flag. Seems to fail when inserting the atom.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
bash-3.2$ /Volumes/storage/ffmpeg/2_8/ffmpeg -y -i "/Volumes/storage/rendertemp/in/input.mp4" -movflags global_sidx -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-75904-ga2b8b16-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. 4.100 / 57. 4.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 9.101 / 6. 9.101
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
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)
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)
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)
creation_time : 2014-06-26 18:57:39
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf57.3.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)
creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
encoder : Lavc57.4.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 96 kb/s (default)
creation_time : 2014-06-26 18:57:18
handler_name : Apple Alias Data Handler
encoder : Lavc57.4.100 aac
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
Non-consecutive fragments, writing incorrect sidx
Last message repeated 863 times
frame= 250 fps= 88 q=-1.0 Lsize= 607kB time=00:00:10.00 bitrate= 497.0kbits/s
video:392kB audio:119kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.949121%
bash-3.2$
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alan
Post by Carl Eugen Hoyos
$ 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"
So did you test global_sidx flag or not?
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user <http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
Loading...