Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (110)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

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

  • Parallel transcoding with FFmpeg on M1 Mac

    27 août 2021, par Pushkar

    I'm trying to determine how effective an M1 Mac would be for transcoding video using FFmpeg (specifically resizing and adjusting bitrate). I can do single transcodes using a command like this :

    


    ffmpeg -I in.mp4 -nostdin -c:v h264_videotoolbox -c:a copy -vf scale=1280:720 -b:v 8000k out.mp4


    


    Now, when I run this, I can see the process in Activity Monitor, but it shows significant CPU use but 0% GPU use, although it's certainly using some form of hardware acceleration (using libx264 instead of h264_videotoolbox is much slower).

    


    When I try running multiple processes concurrently, the timings suggest little evidence of parallel execution :

    


    





    


    


    


    


    



    


    


    


    


    


    


    


    


    


    


    


    


    Test Timing
    convert single test file 6.8s
    convert file 5 times sequentially 33.6s
    convert file 5 times in parallel 31.5s

    


    


    Since the M1 chip is supposed to have 7 or 8 GPUs inside it, I expected to see quite good parallelism, so are there options which I'm missing which would :

    


      

    1. ensure that the transcoding is actually running on the GPU ?
    2. 


    3. allow parallel execution across the multiple GPUs ?
    4. 


    


  • nested loop in bash shell

    17 juin 2015, par Tareq Suheimat

    I want to stream video using ffserver and then receive and download it using ffmpeg but first I want to add some noise to the link using netem and the wanted noise will be Bit error,so for the transmitter side there’s no problem the problem is at the receiver side
    so the first loop must contain the percentage numbers of the bit error like 0.2 0.4 0.6 0.8 and do the following command :

    tc qdisc change dev eth0 root netem corrupt 0.1%

    then for each one of the bit error values must repeat it for 10 times and for each try I must download the received video using the following command :

    ffmpeg -i rtsp://localhost:7654/test1-rtsp.mpg -acodec copy -vcodec copy output.mp4

    so later I end up with too many videos to compare them later.

    please people help me it’s urgent !!!

    tell now I have this scratched code but I don’t know how to compile it together

    for i in {0.2 0.4 0.6 0.8}
    do
       tc qdisc change dev eth0 root netem corrupt ${i}%

       #(must repeat for each i the ffmpeg download command 10 times)

       #The download command
       for x in {1..N}
       do
           ffmpeg -i rtsp://localhost:7654/test-rtsp.mpg -acodec copy -vcodec copy tested${x}.mp4
       done
  • Add Audio to video with existing audio using FFmpeg and change volume of of both audios

    14 juin 2017, par 1234567

    Add Audio to video with existing audio using FFmpeg and change volume of both audios

    I am using this command from ffmpeg to merge audio to video

    video.mp4 has video and audio, and audio.m4a only has audio

    ffmpeg -i video.mp4 -i audio.m4a -map 0:v -map 1:a -c copy -shortest output.mp4

    I want to merge audio to video but maintain audio from both video and the new audio file

    I also want to change the volume of audio file that I want to add from current file to 1.5 times

    and change the audio from the video file to 0.5 times

    how can we change the volume and still maintain new and old audio in the merged file