Hello,
Where can I get a list of the options/flags that go in the CODECS line of a m3u8 file?
For example; in this Apple.com page, it lists the CODECS line.
Yet, where can I get a list of those options?HTML Code:#EXT-X-STREAM-INF:BANDWIDTH=150000,RESOLUTION=416x234,CODECS="avc1.42e00a,mp4a.40.2" http://example.com/low/index.m3u8
I am using ffmpeg -i myFile.ts
to find out the properties of my file.
How can I turn those properties in what is needed by the CODECS line?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
-
-
So you're looking for a list of possible values, not the value for a particular video? Maybe here:
https://wiki.whatwg.org/wiki/video_type_parameters -
Hm,
it should be possible to derive the content of the codecs section with the help of ffprobe. E.g.:
ffprobe -i video.mp4 -select_streams v:0 -show_streams
Look at the following parameters for the video stream:- codec_name (e.g.: h264)
- codec_tag_string (e.g.: avc1)
- profile (e.g.: Main)
- level (e.g.: 40)
For h264 the part behind "avc1." seems to be a combination of 2 hex values:- One for the profile: 42E (Baseline), 4D4 (Main) or 640 (High)
- One for the level: Convert decimal to hex value, e.g.: 40 => 028 (hex)
Combination of h264, avc1, Main, 40 => avc1.4D4028
For the audio it seems to be easier:
codec_name == aac, codec_tag_string == mp4a, profile == LC => mp4a.40.2
Have you looked whether you can let ffmpeg create the m3u8 file? Should be easier to let a software do that job. -
Thank you fornit,
I did the ffprobe -i command, and here is what I got from the list you mention:- codec_name=h264
- codec_tag_string=[27][0][0][0]
- profile=Main
- level=30
The codeg_tag_string is the one I have no idea what's going on with it.
Any idea if the problem is up-stream when I am re-encoding?
Similar Threads
-
Little problem with M3U8 file, maybe geoblocked?
By jamus in forum Video Streaming DownloadingReplies: 2Last Post: 16th Oct 2016, 03:26 -
How do I find the video file? M3u8 etc.
By Ravias29 in forum Video Streaming DownloadingReplies: 1Last Post: 8th Oct 2015, 11:56 -
How do I download an m3u8 file from thecube.com?
By mbebout in forum Video Streaming DownloadingReplies: 11Last Post: 27th Jul 2015, 16:11 -
what to do with a .m3u8 file from utube?
By mmovie in forum Video Streaming DownloadingReplies: 4Last Post: 24th Mar 2014, 09:12 -
who would download a m3u8 file for me ?
By Biggy in forum Video Streaming DownloadingReplies: 4Last Post: 18th Feb 2014, 04:08