[FFmpeg-user] HLS for Apple TV?

david reid zathrasorama at gmail.com
Tue Jul 29 12:29:14 CEST 2014

I've been trying to create HLS streams to view on an AppleTV, but while I
can get them to play they always stop around the 50 second to 1 minute
mark. Different sources, different ways of creating the stream - always the
same result. Is there something I'm missing?

This is my current conversion command line

/usr/local/bin/ffmpeg -y -i test.mp4 -codec:a copy -codec:v libx264 -map
0:0 -map 0:1 -threads 4 -pix_fmt yuv420p -profile:v baseline -level 3.0 -f
hls -r 24 -hls_time 10 -hls_list_size 0 -force_key_frames
expr:gte(t,n_forced*2) test.m3u8

The streams play perfectly in VLC, but not on the AppleTV.

Any suggestions?


More information about the ffmpeg-user mailing list