Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (63)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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

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

Sur d’autres sites (5835)

  • FFMPEG convert MTS to MP4 without losing metadata ?

    19 octobre 2019, par user9375050

    I’ve tried using ffmpeg to convert an MTS file to an MP4 file, with the -map_metadata 0 option. I’ve also tried suggestions to write the metadata to a file and then read from the file. Neither seem to work. EXifTool certainly shows the tags are there in the original file, but not the converted file. I’m mainly interested in the Date / Time Original tag. I’m at a loss as to what I’m doing wrong. Any ideas ?

  • Optimizing Adaptive Streaming with FFMPEG

    25 octobre 2018, par Ramesh Navi

    I am working on a video on demand website, I am using laravel 5.7, FFMPEG and DASH player from (dashif.org). Got some questions.

    Extracting audio like :

    ffmpeg -i original.mp4 -vn -acodec libvorbis -ab 128k -dash 1 my_audio.webm

    Converting video like :

    ffmpeg -i original.mp4 -c:v libvpx-vp9 -keyint_min 150 \
    -g 150 -tile-columns 4 -frame-parallel 1  -f webm -dash 1 \
    -an -vf scale=160:190 -b:v 250k -dash 1 video_160x90_250k.webm \
    -an -vf scale=320:180 -b:v 500k -dash 1 video_320x180_500k.webm \
    -an -vf scale=640:360 -b:v 750k -dash 1 video_640x360_750k.webm \
    -an -vf scale=1280:720 -b:v 1500k -dash 1 video_1280x720_1500k.webm

    Creating manifest like :

    ffmpeg \
    -f webm_dash_manifest -i video_160x90_250k.webm \
    -f webm_dash_manifest -i video_320x180_500k.webm \
    -f webm_dash_manifest -i video_640x360_750k.webm \
    -f webm_dash_manifest -i video_1280x720_1500k.webm \
    -f webm_dash_manifest -i my_audio.webm \
    -c copy \
    -map 0 -map 1 -map 2 -map 3 -map 4 \
    -f webm_dash_manifest \
    -adaptation_sets "id=0,streams=0,1,2,3 id=1,streams=4" \
    my_video_manifest.mpd

    Now the problems :

    1. Video conversion takes a lot of time on the latest i5 8gb
      think-pad running Ubuntu 18. 4minute mp4 took more than 30minute. 10minute, 720p MP4 took forever, had to kill the process. Is
      that normal ? Any idea to optimize ?
    2. Need to find out original
      video’s dimension so that I can avoid dimension conversion more than
      the original. ffprob looks fine in command but produces too much of
      information than required, is there any simple function ?
    3. Converted webm file is bigger in size than original mp4, original
      mp4 of 720p was 33MB, but 640p webm is 76MB. Is that normal or
      something wrong ?

    Any suggestions to optimize the process are welcome.

  • drawtext video transition is not smooth

    7 juin 2020, par Sterpu Mihai

    Edit : it seems that youtube displays the 00:05 transition smoothly ; however, my local VLC doesn't so I think this must be a VLC issue of some kind.

    



    Take a look at this video : https://youtu.be/47JJnrH_LyM

    



    It's created from a bigger video and it's composed of 3 parts :

    



    part 1: 00:00 - 00:05 original.mp4
part 2: 00:05 - 00:10 original_with_caption.mp4
part 3: 00:10 - 00:15 original.mp4


    



    The caption snippet was created using the following command :

    



    ffmpeg -ss 00:05 -t 5 -i original.MP4 -vf drawtext="fontfile=C\\:/Windows/Fonts/arial.ttf:fontsize=100:fontcolor=white:x=(w-text_w)/2:y=(h-th-100):text='some random text here'" original_with_caption.MP4


    



    The cuts from the original video were made with the following commands :

    



    ffmpeg -y -i D:\temp\0706\caption\original.MP4 -ss 0 -t 5 -c copy D:\temp\0706\caption\ws\original_split_0_5.MP4
ffmpeg -y -i D:\temp\0706\caption\original.MP4 -ss 10 -t 5 -c copy D:\temp\0706\caption\ws\original_split_10_15.MP4


    



    Finally, all 3 have been merged together by creating a concat.txt file containing the following :

    



    file D:\\temp\\0706\\caption\\ws\\original_split_0_5.MP4
file D:\\temp\\0706\\caption\\original_with_caption.MP4
file D:\\temp\\0706\\caption\\ws\\original_split_10_15.MP4


    



    and then executing the command :

    



    ffmpeg -f concat -safe 0 -i D:\temp\0706\caption\ws\concat.txt -c copy D:\temp\0706\caption\ws\output.MP4


    



    The problem I'm facing is that the transition from 00:05 is not smooth whereas the one from 00:10 is.
What do I need to adapt so the transition is smooth ?