Question

I have downloaded the MPDs "http://dash.edgesuite.net/adobe/hdworld_dash/HDWorld.mpd" and all related .m4s files. I tried running it on VLC player. But the format is not recognized by VLC player.

I have downloaded this media segment using wget (1 to 14 segments are available) http://dash.edgesuite.net/adobe/hdworld_dash/hdworld_seg_hdworld_0696kbps_ffmpeg.mp4.video_temp2.m4s.

Can anybody tell me solution how to run .m4s format file on player?

System: Ubuntu 11.10

Was it helpful?

Solution 3

you can play it using GPAC player, installing it with all the third party codecs also - http://gpac.wp.mines-telecom.fr/player/

some ppl claim that they are able use vlc, i have not tested it.

OTHER TIPS

You need the initialization segment. It is often named "00" or "init" or doesn't have a sequence number like the other files, and often ends in ".mp4" rather than ".m4s". Then you just concatenate the files together. You can start anywhere in the sequence so long as you begin with the initialization segment.

For example

cat init.mp4 *.m4s > output.mp4

Then you have a playable mp4 file with content, assuming there is no encryption (DRM) applied to it.

.m4s file format is ISO Base Media File. i.e. MPEG-4 Part 14. read specs for more info you may get m4s player for windows. As far as I know on Linux platform GPAC will help. You can create your own MPD from any media source using MP4Box a GPAC tool.

You can use MP4Client for playing your DASHed Media from MPD. Actually .m4s's separate segment is not able to play by its own bcoz player should know Codec and mime type to play any media and m4s is not supported by any player, i.e. it has its own header and data (moof & mdat).

For playing MPD which contains many m4s segment (you can make your own MPD or download each audio and video segment separately from any MPD & put it in to a same folder):

  1. install GPAC.
  2. $MP4Client MYWorld.mpd will open Osmo4 player and you can see your video is playing. Enjoy..

FYI, local streaming server can also play this video:

$MP4Client http://localhost/MYWorld.mpd

if not working change segmentAlignment flag, i.e. <AdaptationSet segmentAlignment="true" subsegmentAlignment="true">.

Try this in the OSX terminal:

open -a Osmo4 example.mpd

It works for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top