Recherche avancée

Médias (91)

Autres articles (59)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10036)

  • Variable segment size while converting mp4 to HLS VOD

    31 janvier 2021, par dravit

    I am working on a project and am following https://gist.github.com/mrbar42/ae111731906f958b396f30906004b3fa to convert a mp4 file to a HLS m3u8 playlist. So far everything worked out. What I am trying to do now is an optimisation of the stream such that initial segment(s) can be of smaller size than the rest of them.

    


    What I have already tried is :

    


      

    1. hls_init_time, as per the documentation, this flag does the job. But when I say -hls_playlist_type vod, it forces hls_list_size to be 0 (again, as per the documentation). It made sense to me cause in a VOD, the playlist/manifest should have this info available always (cmiiw).
    2. 


    3. played with ffmpeg and bash commands to get the playlist in the desired format, i.e. have segments with variable lengths. As a result, the video had an added pause after the variable segments (before the lengthier segments started to play).
    4. 


    


    looks like a std problem
What I am stuck at is :

    


      

    1. Is this even possible to have segments in the m3u8 file with variable length ?
    2. 


    3. Is there any other way I can achieve the above mentioned optimisation (changing playlist type/passing some other existing flag) ?
    4. 


    


  • Incorporating ffmpeg in a bash script

    12 septembre 2014, par Voprosnik

    I have a very large audio mp4 file that contains several songs.

    I have generated a script which reads a text file with the times and the song names and successfully assigns starttime, endtime and songtitle in 3 variables. The script successfully echoes the variables and returns the following format :

    00:00:00 00:10:15 Song1
    00:10:15 00:14:20 Song2

    and so on...

    Now I am intending to use this script with ffmpeg and crop each part of the big file into smaller audio files.

    The script thus, after feeding the variables in a while loop, it reaches to the command

    ffmpeg -ss $START -t $END -i ${1} -acodec copy $SONGNAME.mp4

    Once I run the script, the first two songs are cropped, but then the whole process stops with

    Press [q] to stop, [?] for help
    error parsing debug value
    debug=0

    I checked the generated files and they play ok, but there is no way for me to know why the script stopped there and did no proceed to the rest of the file (considering that when in the script I replace ffmpeg with echo, the script echoes the variables flawlessly).

    In other words I don’t know if there is a problem in my script, ffmpeg, or the source music file.

  • Incorporating ffmpeg in a bash script

    22 novembre 2017, par Voprosnik

    I have a very large audio mp4 file that contains several songs.

    I have generated a script which reads a text file with the times and the song names and successfully assigns starttime, endtime and songtitle in 3 variables. The script successfully echoes the variables and returns the following format :

    00:00:00 00:10:15 Song1
    00:10:15 00:14:20 Song2

    and so on...

    Now I am intending to use this script with ffmpeg and crop each part of the big file into smaller audio files.

    The script thus, after feeding the variables in a while loop, it reaches to the command

    ffmpeg -ss $START -t $END -i ${1} -acodec copy $SONGNAME.mp4

    Once I run the script, the first two songs are cropped, but then the whole process stops with

    Press [q] to stop, [?] for help
    error parsing debug value
    debug=0

    I checked the generated files and they play ok, but there is no way for me to know why the script stopped there and did no proceed to the rest of the file (considering that when in the script I replace ffmpeg with echo, the script echoes the variables flawlessly).

    In other words I don’t know if there is a problem in my script, ffmpeg, or the source music file.