Enable playback of a single .ts ( mp2t transport stream file ) within Chromium for a CEF based application.

719 views
Skip to first unread message

Arjun Sj

unread,
Oct 18, 2016, 12:29:44 PM10/18/16
to Chromium-dev
Hi,

We are experimenting with a CEF 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. 

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


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


Additional Observations:
- we were able to playback a .mp4 file  containing h.264 codec ( enabled "proprietary_codecs=true ffmpeg_branding=Chrome" to get this working )
- 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

Arjun Sj

unread,
Oct 19, 2016, 3:15:28 AM10/19/16
to Chromium-dev
This question is for MAC Platform.

Thanks,
AJ

Adam Michalik

unread,
Oct 19, 2016, 2:24:56 PM10/19/16
to arj...@gmail.com, Chromium-dev
Hi Arjun,

This is a Chromium mailing list. For problems with CEF, you should probably rather ask CEF people.

Adam

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

PhistucK

unread,
Oct 19, 2016, 3:37:10 PM10/19/16
to xyz...@google.com, arj...@gmail.com, Chromium-dev
Yes and no, since Arjun wants to add support for a new demuxer and this code is in Chromium...


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.

Arjun SJ

unread,
Oct 20, 2016, 2:19:17 AM10/20/16
to Chromium-dev, arj...@gmail.com
Hi Adam, 

This question is related to video handling and media-chain inside chromium. 
So, the scope of this question is chromium and it is valid to discuss here.

Also, In the question, we have clearly mentioned that this is about "chromium codebase".
we have mentioned about cef, just to provide background information.

- AJ

Arjun SJ

unread,
Oct 20, 2016, 2:20:56 AM10/20/16
to Chromium-dev, xyz...@google.com, arj...@gmail.com
@PhistucK : thanks for clarifying that this question is within the scope of Chromium.


On Thursday, 20 October 2016 01:07:10 UTC+5:30, PhistucK wrote:
Yes and no, since Arjun wants to add support for a new demuxer and this code is in Chromium...


PhistucK

On Wed, Oct 19, 2016 at 9:23 PM, 'Adam Michalik' via Chromium-dev <chromi...@chromium.org> wrote:
Hi Arjun,

This is a Chromium mailing list. For problems with CEF, you should probably rather ask CEF people.

Adam
On Wed, Oct 19, 2016 at 12:15 AM Arjun Sj <arj...@gmail.com> wrote:
This question is for MAC Platform.

Thanks,
AJ

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

PhistucK

unread,
Oct 20, 2016, 2:29:36 AM10/20/16
to Arjun Sj, Chromium-dev, Adam Michalik
You might have better luck if you change the subject, though. CEF in the subject tends to deter people from replying.


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.

Reply all
Reply to author
Forward
0 new messages