Recherche avancée

Médias (91)

Autres articles (66)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (10679)

  • Popen set env parameter escape | character

    19 janvier 2016, par speedyrazor

    I had a working command which would set the env parameter FFREPORT for ffmpeg, this was working fine. Example here :

    command = 'ffmpeg -i input.mov -c:v prores -an output.mov -report'

    startupinfo = subprocess.STARTUPINFO()
    startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
    environ1 = os.environ.copy()
    environ1['FFREPORT'] = 'level=32:file={}'.format(ffmpeglogFilePath)
    process1 = Popen(command, startupinfo=startupinfo, env=environ1)

    But now I need to pipe VSPipe (Vapoursynth script) into ffmpeg but still keep the env parameter. Since adding in the | chracter it is no longer working, stderr output below. Here is what I have :

    command = 'vspipe --y4m input.vpy - | ffmpeg -f yuv4mpegpipe -i - -c:v prores -an output.mov -report'

    startupinfo = subprocess.STARTUPINFO()
    startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
    environ1 = os.environ.copy()
    environ1['FFREPORT'] = 'level=32:file={}'.format(ffmpeglogFilePath)
    process1 = Popen(command, startupinfo=startupinfo, env=environ1)

    This runs fine form the command line :

    set FFREPORT=file=C\:\\TEMP\\status.log && VSPipe.exe --y4m input.vpy - | ffmpeg.exe -f yuv4mpegpipe -i - -c:v prores -an output.mov -report

    Do I need to escape anything ?

    UPDATE :
    stderr gives me Unknown argument: |

    ANOTHER UPDATE :
    This command runs fine, what can I do to make my original command work :

    command = 'vspipe --y4m input.vpy - | ffmpeg -f yuv4mpegpipe -i - -c:v prores -an output.mov -report'

    process1 = Popen(command, shell=True)
  • Anomalie #4725 : SyntaxError : JSon.parse : unexpected character at line 1 column 1 of the JSON data

    12 avril 2021, par b b

    Puis, j’ai ajouter le fichier "mes_options" avec tout dedans

    Avec tout quoi ? Donne nous le contenu de ce fichier, ça aidera un peu :p

  • Can I capture a series of images named according to it's timestamp

    26 juillet 2015, par GDP

    I am successfully capturing a screen shot every 15 seconds with the below command, but I need to correlate the images to where in the video the screen shot is from.

    The %d gives me an integer, but is there a similar variable to include the timestamp of the image in the output file name ?

    c:\ffmpeg\bin>ffmpeg -i c:\files\video.mp4 -vf fps=1/15 c:\images\image_%d.png";

    Current output is :

       c:\images\image1.png
       c:\images\image2.png
       c:\images\image3.png
       ....
       c:\images\image999.png

    Desired output is something like :

       c:\images\image_00-00-00.png    // Capture at start of video
       c:\images\image_00-00-15.png    // Capture at 00:00:15
       c:\images\image_00-00-30.png    // Capture at 00:00:30
       c:\images\image_00-00-45.png    // Capture at 00:00:45
       c:\images\image_00-01-00.png    // Capture at 00:01:00
       ....
       c:\images\image_01-25-15.png    // Last capture