Recherche avancée

Médias (91)

Autres articles (104)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11148)

  • How to load my local mpd(mpeg-dash) file to online players ?

    18 août 2023, par Walter

    I am trying to use some online players to test my local mpd file, but it could't be loaded as 'file :///path-to-file' form like local urls, what's the correct format to load the file ? Or should I upload it online or so ?

    


  • Mpeg Dash code having compilation issues and want to know what to do after the code is built and how to play the .mpd file generated

    11 avril 2013, par niuuuu

    I'm trying to build the DashEncoder code which I downloaded from github https://github.com/slederer/DASHEncoder. Well, I followed all the instructions given in the how to compile dash file. installed Gpac n X264 and compiled both successfully. Then did make of Dashencoder and ran it as ./Dashencoder. But I found some issues in it. Got this log :

    ==========DASH ENCODER===============
    Unknown option in resourcefile : sql-pw :
    current encoder x264
    YES
    x264 encoding @ 300 kbps: Pass 1
    x264: x264 --profile baseline --preset slow --verbose --fps 24 --vbv-maxrate 300 --vbv-bufsize 600 --scenecut 0 --keyint 48 --output /opt/lampp/htdocs/tests_updates/sintel_trailer_2k_480p24_300kbit.h264 /home/niu/sintel_trailer_2k_480p24.y4m >out.txt 2>&1
    mkdir: cannot create directory `/opt/lampp/htdocs/tests_updates/sintel_300kbit': File exists
    cp: omitting directory `/opt/lampp/htdocs/tests_updates/'
    copy audio: cp /opt/lampp/htdocs/tests_updates/ /opt/lampp/htdocs/tests_updates/sintel_300kbit/MP4Box multiplexing Video: /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264  
    mp4box: MP4Box -add /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264  /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
    AVC-H264 import - frame size 854 x 480 at 24.000 FPS
    AVC Import results: 1253 samples - Slices: 27 I 1226 P 0 B - 1 SEI - 27 IDR
    Saving to /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4: 0.500 secs Interleaving
    MP4Box multiplexing Audio:/opt/lampp/htdocs/tests_updates/sintel_300kbit/
    mp4box: MP4Box -add /opt/lampp/htdocs/tests_updates/sintel_300kbit/ /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
    Unknown input file type
    Unknown input file type
    Error importing /opt/lampp/htdocs/tests_updates/sintel_300kbit/: Bad Parameter
    MP4Box Cleaning ...
    mp4box: MP4Box -no-sys  /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
    Saving /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4: 0.500 secs Interleaving
    MP4Box segmentation: /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264  
    mp4box: MP4Box -frag 2000 -dash 2000 -rap -segment-name /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
    DASH-ing file: 2.00s segments 2.00s fragments single sidx per segment
    Spliting segments at GOP boundaries
    [DASH] Generating MPD at time 2013-03-16T16:40:03Z
    DASHing file /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
    terminate called after throwing an instance of 'std::out_of_range'
     what():  basic_string::substr
    Error: Unable to open MPD file!Aborted

    Why is this error at the end ?
    and also one folder got created in my /opt/lampp/htdocs/tests_updates/sintel_300kbit.
    which has two types of files :
    27 files of .m4s extension
    1 file -sintelinit.mp4
    1 file- sintel_trailer_2k_480p24_300kbit.mp4 , which when played in vlc player played the video bt no audio ! &

    1 file- sintel_trailer_2k_480p24_300kbit.h264 which cannot be opened.

    No .mpd file was created.

    Also I want to know aft creating that .mpd file how will i be able to test it on my android client say media player.

    I am damn confused with all this happening. Please help.

  • How to concatenate multiple init segments and chunks from the DASH video stream ?

    17 novembre 2022, par Umakant

    I'have written a dash player in python that receives chunks from the DASH server using adaptive bitrate algorithm. Once entire video streaming is over, I need to concatenate all following received segments into one single mp4 file.

    


    root@cap31:~/don# ls
chunk0-00001.m4s  chunk2-00015.m4s  chunk2-00035.m4s  chunk2-00055.m4s  chunk2-00075.m4s  chunk3-00010.m4s  chunk3-00030.m4s  chunk3-00050.m4s  chunk3-00070.m4s
chunk0-index.m4s  chunk2-00017.m4s  chunk2-00037.m4s  chunk2-00057.m4s  chunk2-00077.m4s  chunk3-00012.m4s  chunk3-00032.m4s  chunk3-00052.m4s  chunk3-00072.m4s
chunk1-00002.m4s  chunk2-00019.m4s  chunk2-00039.m4s  chunk2-00059.m4s  chunk2-00079.m4s  chunk3-00014.m4s  chunk3-00034.m4s  chunk3-00054.m4s  chunk3-00074.m4s
chunk1-index.m4s  chunk2-00021.m4s  chunk2-00041.m4s  chunk2-00061.m4s  chunk2-00081.m4s  chunk3-00016.m4s  chunk3-00036.m4s  chunk3-00056.m4s  chunk3-00076.m4s
chunk2-00003.m4s  chunk2-00023.m4s  chunk2-00043.m4s  chunk2-00063.m4s  chunk2-00083.m4s  chunk3-00018.m4s  chunk3-00038.m4s  chunk3-00058.m4s  chunk3-00078.m4s
chunk2-00005.m4s  chunk2-00025.m4s  chunk2-00045.m4s  chunk2-00065.m4s  chunk2-00085.m4s  chunk3-00020.m4s  chunk3-00040.m4s  chunk3-00060.m4s  chunk3-00080.m4s
chunk2-00007.m4s  chunk2-00027.m4s  chunk2-00047.m4s  chunk2-00067.m4s  chunk2-index.m4s  chunk3-00022.m4s  chunk3-00042.m4s  chunk3-00062.m4s  chunk3-00082.m4s
chunk2-00009.m4s  chunk2-00029.m4s  chunk2-00049.m4s  chunk2-00069.m4s  chunk3-00004.m4s  chunk3-00024.m4s  chunk3-00044.m4s  chunk3-00064.m4s  chunk3-00084.m4s
chunk2-00011.m4s  chunk2-00031.m4s  chunk2-00051.m4s  chunk2-00071.m4s  chunk3-00006.m4s  chunk3-00026.m4s  chunk3-00046.m4s  chunk3-00066.m4s  chunk3-index.m4s
chunk2-00013.m4s  chunk2-00033.m4s  chunk2-00053.m4s  chunk2-00073.m4s  chunk3-00008.m4s  chunk3-00028.m4s  chunk3-00048.m4s  chunk3-00068.m4s


    


    I tried all the solutions mentioned on following links :
https://trac.ffmpeg.org/wiki/Concatenate
ffmpeg converting m4s to mp4

    


    Most common solution was to append the cat files in mp4 :

    


    for x in *index* *-*[0-9]*.m4s; do cat $x >> output.mp4; done


    


    But this video does not play after the second init segment starts rendering resulting into video getting stuck. I believe maybe because in my case, I have multiple init segments pointing to different chunks.

    


    Hence, I'm looking for some way to get the one single mp4 video file by concatanating all these init segments and chunks correctly.