Recherche avancée

Médias (91)

Autres articles (105)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • .bat script : loop over files and save command to variable

    29 septembre 2020, par Rolf vd H

    Gooddday,

    


    I want to shorten a folder of movies to cut the last part of it. To do that I use ffmpeg & ffprobe.
The time to be cut off is 5.52 seconds.
If I want to do that, first I have to get the time of the movie and then (the second command in the loop), I have to subtract the 5.52 seconds.

    


    For now I have the following but I can't get it right :

    


    mkdir outputsss
for %%a in ("FOLDER\*.mp4") do (
 ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "FOLDER\%%~na.mp4"
 ffmpeg -i "FOLDER\%%~na.mp4" -t 18.6 -c copy output.mp4
)
pause


    


    In the above code example the "ffprobe" calculates the time of the movie.
The "ffmpeg" renders the movie again for 18.6 seconds. But the time should be calculated by subtract 5.52 seconds from the "ffprobe" result.

    


    Can anyone help me please on how to do this ?

    


  • How to pass file name that contains hyphen to ffmpeg/ffprobe [on hold]

    28 juin 2019, par zmd989

    I have the following command :

    ffprobe -f lavfi -i movie=report-:sample.avi,fps=fps=30[out0] -show_frames -show_entries frame=pkt_pts_time -of csv=p=0

    As you can see, the file name has a hyphen after "report" and with this command, I have been getting the following error :

    [Parsed_movie_0 @ 0x55768a61b100] Failed to avformat_open_input
    ’report-’ [lavfi @ 0x55768a6193e0] Error initializing filter ’movie’
    with args ’report-:sample.avi’
    movie=report-:sample.avi,fps=fps=30[out0] : No such file or directory

    I think it is detecting the hyphen as an option ? How do I solve this issue ?

    I tried adding — after -i but that did not work.

  • ffmpeg, how to concat two streams, one with and one without audio

    3 janvier 2019, par chasep255

    I have one clip filmed at 240 FPS. I want to slow it down 8x and concat the slow motion version of it to the fast version. The fast version has audio but the slow does not. When I open the finished movie using totem in Ubuntu I get no sound. However, the sound appears to be correct when I use VLC. I think this is an issue with the sound not being the same length as the final movie. I think I somehow need to pad the sound to the length of the final movie. Anyone know how to pad the audio or a better way to do this ?

    ffmpeg -hwaccel cuda -i GX010071_1.MP4 -filter_complex "[0:v]setpts=8*PTS[s];[0:v]framerate=30[f]; [f] [s] concat=n=2 [c]" -map '[c]' -map 0:a -c:v hevc_nvenc SLOW.MP4