Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (68)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6442)

  • 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.

    


  • 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 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 ?