[FFmpeg-user] How to download the ts files from .m3u8 playlist
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Apr 30 21:07:00 EEST 2018
2018-04-27 17:40 GMT+02:00, Moritz Barsnick <barsnick at gmx.net>:
> $ ffmpeg -i https://mnmedias.api.telequebec.tv/m3u8/29880.m3u8
> -map 0:12 -c copy -f rawvideo rawfile.rawh264 -map 0:13 -c copy
> -f rawvideo rawfile.rawaac
>
> There's no "rawaudio" muxer, but I believe "rawvideo" just leaves
> any binary stream untouched, and should be correct.
True.
(And I hope a currently discussed patch does not break this -
important - feature.)
> The "aac" muxer OTOH might be incorrect, as it creates an
> ADTS stream(??). Anyway, I confirmed that ffplay can play
> each of the two resulting raw streams.
Not true for every input file containing aac, note that FFmpeg cannot
read "raw" aac files, only adts and loas/latm.
(We do read more unusual formats like raw flac though.)
Carl Eugen
More information about the ffmpeg-user
mailing list