[FFmpeg-user] global_sidx on IOs12

James Northrup jim at vsiwest.com
Fri Jun 28 12:53:19 EEST 2019


i found this interesting feature of apple's iron fisted app-store policy.
https://github.com/google/shaka-player-embedded/issues/36#issuecomment-460742232


somethign like HLS is required for apps that present video streams longer
than 10 minutes.

so what would really be helpful is to find out if anyone on this list has
tested any of the ffmpeg-dash muxer  HLS permutations with apple hardware,
and if so, what's the trick.

thanks
Jim

On Wed, Jun 26, 2019 at 3:38 PM James Northrup <jim at vsiwest.com> wrote:

> i have dash encodings as follow working well in shaka player and the chunk
> files individually working well in android and desktop browsers.
>
> this file does not launch quickly only on IOs despite -global_sidx 1
>
>
> https://iqbsug36tcyiy7ggk5jf-std-uploads.oss-ap-southeast-5.aliyuncs.com/index/conversation/baru-paham/1555585380-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih/stream-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih-2-32000.mp4
>
> also, master.hls does not play audio in ios or anything else i have tested
> (i don't test a lot of hls players)
>
> how do i get either of HLS to play or hinted fmpg for ios download
> conumption?
>
> running details below:
>
> ffmpeg version N-93817-ga6cd3ad Copyright (c) 2000-2019 the FFmpeg
> developers
>  built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
>  configuration: --prefix=/home/jim/ffmpeg_build --pkg-config-flags=
> --extra-cflags=-I/home/jim/ffmpeg_build/include --extra-ldfl
> ags=-L/home/jim/ffmpeg_build/lib --extra-libs='-lpthread -lm'
> --bindir=/home/jim/bin --disable-ffplay --enable-bzlib --enable-ffm
> peg --enable-gpl --enable-iconv --enable-libfdk-aac --enable-libmp3lame
> --enable-libopus --enable-libsnappy --enable-libssh --ena
> ble-nonfree --enable-openssl --enable-version3 --enable-zlib
> --enable-libwebp --enable-libfreetype --enable-libtwolame --enable-l
> ibvpx --enable-avresample --enable-librsvg --enable-libx264
> --enable-libvorbis --enable-libtheora --disable-shared --enable-lto -
> -enable-static
>  libavutil      56. 26.101 / 56. 26.101
>  libavcodec     58. 52.101 / 58. 52.101
>  libavformat    58. 27.103 / 58. 27.103
>  libavdevice    58.  7.100 / 58.  7.100
>  libavfilter     7. 50.100 /  7. 50.100
>  libavresample   4.  0.  0 /  4.  0.  0
>  libswscale      5.  4.100 /  5.  4.100
>  libswresample   3.  4.100 /  3.  4.100
>  libpostproc    55.  4.100 / 55.  4.100
>
> ffmpeg -i ../1.mp3 -filter_complex asplit=4 -codec
> :a:0 libopus -ab:a:0 32k -vbr:a:0 off -frame_duration:a:0 60
> -application:a:0 voip -codec:a:1 libopus -ab:a:1 128k -vbr:a:1 on -f
> rame_duration:a:1 20 -application:a:1 audio -codec:a:2 libfdk_aac -ab:a:2
> 32k -profile:a:2 aac_he_v2 -codec:a:3 aac -ab:a:3 128k
> -nostdin -strict -2 -f dash -seg_duration 3 -lhls 1 -hls_playlist 1
> -streaming 0 -strict experimental -dash_segment_type auto -gl
> obal_sidx 1 -http_persistent 1 -index_correction 1 -init_seg_name
> init-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih$Re
> presentationID$-$Bandwidth$.$Ext$ -media_seg_name
> chunk-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih$RepresentationID$
> -$Bandwidth$-$Number%08d$.$Ext$ -single_file_name
> stream-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih-$RepresentationI
> D$-$Bandwidth$.$Ext$ -adaptation_sets id=0,streams=0,1 id=1,streams=2,3 -y
> 1.mpd.xml
>
> manifests:
>
> https://iqbsug36tcyiy7ggk5jf-std-uploads.oss-ap-southeast-5.aliyuncs.com/index/conversation/baru-paham/1555585380-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih/1.mpd
>
>
>
> https://iqbsug36tcyiy7ggk5jf-std-uploads.oss-ap-southeast-5.aliyuncs.com/index/conversation/baru-paham/1555585380-eps-6-agenda-ham-untuk-pemerintah-dan-parlemen-terpilih/master.m3u8
>
>


More information about the ffmpeg-user mailing list