Enable playback of a single .ts ( mp2t transport stream file ) within Chromium.

119 views
Skip to first unread message

Arjun SJ

unread,
Nov 2, 2016, 2:36:18 AM11/2/16
to Chromium-dev
Hi,

We are experimenting with a chromium based application to playback a single .TS file with H.264 codec and aac audio.
We would like to specify the video/mp2t mime type in the video tag to playback the file - currently the playback does-not begin for this mime-type. 

we are fairly new to chromium codebase and we would like to get your suggestions w.r.t settings / code to help achieve this.

Here is what we already tried, however have not been successful :
- Tried adding {"video/mp2t", "ts"} pair to MimeInfo "kPrimaryMappings" in mime_util.cc
- Tried enabling the ts-parser  by setting the "enable_mse_mpeg2ts_stream_parser=true" flag in the Chromium and cef build process

Note: 
we are using the chromium based cef framework in our project, however this question is related to media handling within chromium project in general.


Additional Observations:
- we were able to playback a .mp4 file  containing h.264 codec ( enabled the flag "proprietary_codecs=true ffmpeg_branding=Chrome" for this )
- Also we found that google-chrome browser doesnot playback a .ts file and instead triggers a download of it : this is what we would like to change in our chromium/cef based application where we would like to playback the .ts file.


Regards,
AJ
Reply all
Reply to author
Forward
0 new messages