Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (39)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6254)

  • How to batch process with ffmpeg script, but do each step in a loop instead of two stages

    14 mai 2024, par Matt

    I'm a novice script editor. I convert MOV/AVI video files to MP4 format using a script with ffmpeg and then move the files after processing :

    


    for f in *.mov; do ffmpeg -y -i "$f" "${f%}.mp4"; done

mv -f *.mov /Users/me/Videos/mov
mv -f *.MOV /Users/me/Videos/mov
mv -f *.avi /Users/me/Videos/avi
mv -f *.AVI /Users/me/Videos/avi


    


      

    1. Currently the script converts all videos, then moves them all to the other folders. Please how can the script be adjusted so that each video is moved immediately after processing (instead of waiting until all are complete) ? This would be a great improvement, as sometimes there are a lot of videos and the script gets interrupted for some reason (not a fault of the script). It will make it easier to monitor progress.

      


    2. 


    3. Currently I manually tweak the first line changing *.mov for *.avi Please is there an easy way to handle either video file format/extension, within the same line ?

      


    4. 


    5. Is there a better way of handling the mv statements which have multiple lines for lower/uppercase ? They also give error if there are no files of that type.

      


    6. 


    


    Thank you

    


    The above script is functional but will be better with enhancements or changes.

    


  • How can I stream then play YUV format with/without VLC/FFMPEG ?

    13 janvier 2023, par orfruit

    I'm able to play a local YUV file through VLC (as expected)

    


    .\vlc.exe --demux rawvideo --rawvid-fps 25 --rawvid-width 480 --rawvid-height 360 --rawvid-chroma I420 out.yuv


    


    Also FFPLAY is playing well

    


    .\ffplay.exe -f rawvideo -pixel_format yuv420p -video_size 480x360 out.yuv


    


    Conversion to YUV was done with FFMPEG

    


    .\ffmpeg.exe -i "video.mp4" -c:v rawvideo -pixel_format yuv420p out.yuv


    


    However, I'm not able o stream it and play'it over local network.
I know, it sounds crazy :) but I plan to use VLC as a monitor/debugger for some YUV data.

    


    The original MP4 file is streamed/played fine with VLC (test on the same computer)

    


    .\vlc.exe "video.mp4" --sout="#std{access=http, mux=ts, dst=:55555/}"
.\vlc.exe http://192.168.0.174:55555/


    


    So the big question !
How can I stream the YUV format and VLC recognise an play it as well ?

    


    All that I tried with VLC is not playable.

    


    Thanks for any hints !

    


  • FFMPEG command doesn't work in PHP, what am I doing wrong ?

    3 mars 2013, par Charlie Ryan

    I'm a bit of a beginner when it comes to PHP, and I'm trying to create a simple(ish) system where files are input, and then converted to html5 video in various resolutions.

    I've sorted out how to handle multiple file uploads etc, but now I'm having a problem.

    I can't seem to get exec to execute FFMPEG in PHP.

    For example, if I type this into my command line (Terminal on Mac OSX 10.8), It converts the video correctly :

    ffmpeg -i /Users/charlieryan/Desktop/MOV01785.MPG websample.mov

    This correctly outputs the converted video file into my home directory.

    However if I run this in PHP as follows :

    exec('ffmpeg -i /Users/charlieryan/Desktop/MOV01785.MPG websample.mov');

    Absolutely nothing happens ... my stat monitor doesn't register any change in processor use, and I can't find the output file anywhere on my system.

    Since I'm a bit of a noob at this, I'm assuming I'm doing something wrong, but what is it ?

    Thanks,

    Charlie