Facing issue with Dash.js player

431 views
Skip to first unread message

Prajeesh Mohan

unread,
Feb 12, 2016, 4:45:48 AM2/12/16
to Chromium-discuss
Hello Guys,

I am very new to Chromium. This is my first post to the group :)

I wanted to playback some dash content using Dash.js player through chromium.

The steps which I have tried is given below,

1. Downloaded chromium source code (version : 49.0.2622.0)
2. Since most of the dash content is having H264 & AAC combination I wanted to enable "proprietary_codecs" & "ffmpeg_branding=Chrome".
3. Wrote a chromium.gyp_env file with the following variables,
    {
         'GYP_DEFINES': 'proprietary_codecs=1 ffmpeg_branding=Chrome'
    }

    The file was placed in the src/ directory of chromium

4. I was successful in building the chrome.exe with the above changes.

5. When I tried to run the dash player reference player from the chrome.exe which I have buit, am getting the following error from the JS console,

[13064][debug] Playback initiated! 
ManifestLoader.js:186 XHR finished loading: GET "http://dash.edgesuite.net/envivio/Envivio-dash2/manifest.mpd".doLoad @ ManifestLoader.js:186load @ ManifestLoader.js:207load @ StreamController.js:629play @ MediaPlayer.js:129doAutoPlay @ MediaPlayer.js:151resetAndPlay @ MediaPlayer.js:302attachSource @ MediaPlayer.js:1289$scope.doLoad @ main.js:668(anonymous function) @ angular.min.js:72(anonymous function) @ angular.min.js:144e.$eval @ angular.min.js:88e.$apply @ angular.min.js:88(anonymous function) @ angular.min.js:144x.event.dispatch @ jquery-1.10.2.min.js:5v.handle @ jquery-1.10.2.min.js:5
Debug.js:116 [13112][parser] Parsing complete: ( xml2json: 7ms, objectiron: 3ms, total: 0.01s) 
Debug.js:116 [13116][manifestUpdater] Manifest has been refreshed at Fri Feb 12 2016 15:10:00 GMT+0530 (India Standard Time)[1455270000901]  
Debug.js:116 [13166][streamController] MediaSource is open! 
Debug.js:116 [13167][streamController] [object Event] 
Debug.js:116 [13168][streamController] Duration successfully set to: 193.68 
Debug.js:116 [13170][eventController] Added 0 inline events 
Debug.js:116 [13172][stream] video codec: video/mp4;codecs="avc1.4D401E" 
Debug.js:116 [13173][stream] videoCodec (video/mp4;codecs="avc1.4D401E") is not supported. 
Debug.js:116 [13174][stream] audio codec: audio/mp4;codecs="mp4a.40.2" 
Debug.js:116 [13174][stream] audioCodec (audio/mp4;codecs="mp4a.40.2") is not supported. 
Debug.js:116 [13174][stream] No text data. 
Debug.js:116 [13174][stream] No fragmentedText data. 
Debug.js:116 [13175][stream] No muxed data. 
Debug.js:116 [13175][stream] No streams to play. 



The chrome:\\media-internals was giving the following information,

PropertyValue
duration193.68
eventWEBMEDIAPLAYER_CREATED
pipeline_statekInitDemuxer
player_id0
render_id15
urlblob:http%3A//dashif.org/e8e5b8a2-5a7a-4bed-b7cc-afd309010cd7

Log 

TimestampPropertyValue
00:00:00 00pipeline_statekCreated
00:00:00 00eventWEBMEDIAPLAYER_CREATED
00:00:00 00urlblob:http%3A//dashif.org/e8e5b8a2-5a7a-4bed-b7cc-afd309010cd7
00:00:00 00pipeline_statekInitDemuxer
00:00:00 04duration193.68



Can someone please guide me in resolving this issue.


Thanks,
Prajeesh













PhistucK

unread,
Feb 12, 2016, 6:11:51 AM2/12/16
to prajees...@gmail.com, Chromium-discuss
Does it play MP3 files?


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Prajeesh Mohan

unread,
Feb 12, 2016, 6:14:58 AM2/12/16
to Chromium-discuss, prajees...@gmail.com
Hi Phistuck,

I have not tried it. I was trying with mpd files with h264 & aac

PhistucK

unread,
Feb 12, 2016, 6:16:54 AM2/12/16
to prajees...@gmail.com, Chromium-discuss
So... try it and update?
I do not even mean with Media Source, but just in a regular <audio>.


PhistucK

Prajeesh Mohan

unread,
Feb 12, 2016, 6:27:42 AM2/12/16
to Chromium-discuss, prajees...@gmail.com
Is my compilation steps proper?
I want to check if i have given the proper build options through GYP_DEFINES.

Anton Vayvod

unread,
Feb 12, 2016, 6:42:26 AM2/12/16
to prajees...@gmail.com, chromium-dev
bcc:chromium-discuss
cc:chromium-dev

Have you run gyp_chromium / gclient runhooks after changing the chromium.gyp_env file? Are you using GYP or GN build?

You can search for the previous threads on chromium-dev to find out the correct flags too.
Reply all
Reply to author
Forward
0 new messages