Recherche avancée

Médias (91)

Autres articles (37)

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (3397)

  • How to quote a file name with a single quote in ffmpeg movie= filter notation ? [closed]

    21 avril, par PieterV

    I am trying to run ffmpeg using a file that contains a single quote ' in the filename.

    


    I tried to follow the docs that say I should replace a ' with '\''.
    
And a ticket that says I should replace a ' with \\\\\'.

    


    I've tried both, and can't get get it working.

    


    E.g. docs format :

    


    ./ffprobe -loglevel error -read_intervals %00:30 -select_streams s:0 -f lavfi -i "movie='D\:\\Test\\Interlaced - Dragons'\'' Den - S14E02 - Episode 2.mkv'[out0+subcc]" -show_packets -print_format json

{
[Parsed_movie_0 @ 00000222a2f82200] Failed to avformat_open_input 'D:\Test\Interlaced - Dragons Den - S14E02 - Episode 2.mkv'
[AVFilterGraph @ 00000222a2f76ec0] Error processing filtergraph: No such file or directory
movie='D\:\\Test\\Interlaced - Dragons'\'' Den - S14E02 - Episode 2.mkv'[out0+subcc]: No such file or directory


    


    E.g. ticket format :

    


    ./ffprobe -loglevel error -read_intervals %00:30 -select_streams s:0 -f lavfi -i "movie='D\:\\Test\\Interlaced - Dragons\\\\\' Den - S14E02 - Episode 2.mkv'[out0+subcc]" -show_packets -print_format json

{
[Parsed_movie_0 @ 00000158613d2080] Failed to avformat_open_input 'D:\Test\Interlaced - Dragons\\ Den - S14E02 - Episode 2.mkv[out0+subcc]'
[AVFilterGraph @ 00000158613c6ec0] Error processing filtergraph: No such file or directory
movie='D\:\\Test\\Interlaced - Dragons\\\\\' Den - S14E02 - Episode 2.mkv'[out0+subcc]: No such file or directory


    


    > dir "D:\Test\Interlaced - Dragons' Den - S14E02 - Episode 2.mkv"

    Directory: D:\Test

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---           4/20/2025 11:38 AM       18059051 Interlaced - Dragons' Den - S14E02 - Episode 2.mkv


    


    This is on Win11 using FFmpeg7.
    
Any ideas ?

    


    [Update]
    
I found a doc on escape filtergraph strings, did not help, I tried 0 to 7 \.

    


    I also found and tried the ffescape utility, the output it produces just uses a single \' and does not work.

    


    > echo "D:\Test\Interlaced - Dragons' Den - S14E02 - Episode 2.mkv" | ./ffescape.exe
=> D:\\Test\\Interlaced - Dragons\' Den - S14E02 - Episode 2.mkv\

> ./ffprobe -loglevel error -read_intervals %00:30 -select_streams s:0 -f lavfi -i "movie='D:\\Test\\Interlaced - Dragons\' Den - S14E02 - Episode 2.mkv\'[out0+subcc]" -show_packets -print_format json
{
[Parsed_movie_0 @ 0000021348f12200] Failed to avformat_open_input 'D'
[AVFilterGraph @ 0000021348f06ec0] Error processing filtergraph: No such file or directory
movie='D:\\Test\\Interlaced - Dragons\' Den - S14E02 - Episode 2.mkv\'[out0+subcc]: No such file or directory


    


    [Update]
    
I found docs for ffmpeg filter script where I can place commands in a file.

    


    I tried ./ffprobe -loglevel error -read_intervals %00:01 -select_streams s:0 -f lavfi -/i "d:\filtergraph.txt" -show_packets -print_format json, and it load the script.

    


    Works : movie=test.mkv[out0+subcc]\ if test.mkv is in ffprobe dir.
Works : movie=test\'.mkv[out0+subcc]\ if test'.mkv is in ffprobe dir.
    
Not : movie=D:\test.mkv[out0+subcc]
    
Not : movie=D\:\\test.mkv[out0+subcc]
    
Not : movie=test space.mkv[out0+subcc]
    
Not : movie='test space.mkv[out0+subcc]'
    
Not : movie="test space.mkv[out0+subcc]"
    
Not : 'movie=test space.mkv[out0+subcc]'
    
Not : "movie=test space.mkv[out0+subcc]"

    


     :(

    


  • Create a time-lapse movie by speeding a video up to the time of an audio file

    26 décembre 2014, par Peak Reconstruction Wavelength

    Input

    1. Audio file, mp3, 2 minutes
    2. Video file, mov, 1920 x 1080, 29 fps, 13 minutes

    I want to know which command to use to have a time-lapse movie mov as a result, which is two minutes long while remaining 29 fps, so it speeds up to match the time of 1. and the audio track of 2. is replaced with 1..

    My approach

    ffmpeg.exe" -i "x.MOV" -i "y.mp3" -vcodec copy -async 10 -ab 128k "e.MOV"

    which only puts the audio file to the beginning.

  • how to re-encode a movie to an encoding codec of another one with ffmpeg

    28 mai 2020, par gota

    Let's say I have 2 movies (movie1.mp4 and movie2.mp4), How can I use ffmpeg to reencode movie1.mp4 exactly with the same video codec, same bitrate, same audio codec as found in movie2.mp4 ?

    



    In other words, such that the output of ffprobe movie1.mp4 matches that of movie2.mp4 ?

    



    Why do I want this ? because I'm having problems concatenating both movies.