Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (56)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11521)

  • FFmpeg with eclipse

    16 août 2020, par Cristian Jorge A. Kusch

    I'm having problems with eclipse and ffmpeg, there are false errors being detected by the IDE. I was able to compile without problems with the terminal, and no erros were detected, i'm using the last version of Ubuntu. I can also build it with eclipse, but i get a lot of false errors.
I cloned the repository from github and then selected makefile project with existing files, and i selected the gnu autotools toolchain for the indexer settings.
I was able to get it to build, but i had to run the ./configure command from the terminal first, otherwise i got this error makefile:167 : /tests/makefile : no such file or directory
So the issue i have is that even though it builds properly i get a huge ammount of errors like these :

    


    Field 'border_glyph' could not be resolved  vf_drawtext.c   /ffmpeg/libavfilter line 347    Semantic Error
Field 'border_glyph' could not be resolved  vf_drawtext.c   /ffmpeg/libavfilter line 797    Semantic Error
Field 'buffer' could not be resolved    vf_drawtext.c   /ffmpeg/libavfilter line 1252   Semantic Error
Field 'BufferId' could not be resolved  vf_deinterlace_qsv.c    /ffmpeg/libavfilter line 232    Semantic Error
Field 'BufferId' could not be resolved  vf_deinterlace_qsv.c    /ffmpeg/libavfilter line 253    Semantic Error
Field 'BufferSz' could not be resolved  vf_deinterlace_qsv.c    /ffmpeg/libavfilter line 233    Semantic Error


    


    any help ? thanks

    


  • Strange error with ffmpeg and unoconv in python script

    27 mai 2015, par Avery Ripoll Crocker

    I am creating a python script that can be used by other people to convert files. However when I use this script I keep getting a weird error when I run the subprocess for unoconv, this error is :

    Traceback (most recent call last):
     File "conversion.py", line 15, in <module>
       check_call(["unoconv", "-f", Fileextension, filename])
     File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
       raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['unoconv', '-f', '.pdf', 'journal.doc']' returned non-zero exit status 1
    </module>

    I have looked through various resources for this, but the one answer I have been receiving is that I must have set up the unoconv line incorrectly. I have checked several times that the code is correct, and it is. The other peculiar thing is that my code for ffmpeg works. Does anybody have an idea as to why this happens.

    Here is my program :

    print "If at any point you wish to quit the program hit Ctrl + C"

    filetype = raw_input("What kind of file would you like to convert? Audio, Image, Video or Document: ")

    if filetype == "Document":
      path = raw_input("Please drag and drop the directory in which the file is stored into the terminal:")
      os.chdir(path[1:-2])
      filename = raw_input("Please enter the name of the file you would like to convert, including the file-type. e.g. test.txt, however please do make sure that the file-name does not have any spaces:")
      Fileextension = raw_input("What filetype would you like the program to convert your file to. E.g. .txt: ")
      from subprocess import check_call
      check_call(["unoconv", "-f", Fileextension, filename])

    elif filetype == "Audio":
      path = raw_input("Please drag and drop the directory in which the file is stored into the terminal:")
      os.chdir(path[1:-2])
      filename = raw_input("Please enter the name of the file you would like to convert, including the file-type. e.g. test.txt, however please do make sure that the file-name does not have any spaces:")
      Fileextension = raw_input("What filetype would you like the program to convert your file to. E.g. .mp3: ")
      body, ext = os.path.splitext("filename")
      from subprocess import check_call
      check_call(["ffmpeg" ,"-i", filename, body + Fileextension])

    elif filetype == "Video":
      path = raw_input("Please drag and drop the directory in which the file is stored into the terminal:")
      os.chdir(path[1:-2])
      filename = raw_input("Please enter the name of the file you would like to convert, including the file-type. e.g. test.txt, however please do make sure that the file-name does not have any spaces:")
      Fileextension = raw_input("What filetype would you like the program to convert your file to. E.g. .mp4: ")
      body, ext = os.path.splitext("filename")
      from subprocess import check_call
      check_call(["ffmpeg" ,"-i", filename, body + Fileextension])

    elif filetype == "Image":
      path = raw_input("Please drag and drop the directory in which the file is stored into the terminal:")
      os.chdir(path[1:-2])
      filename = raw_input("Please enter the name of the file you would like to convert, including the file-type. e.g. test.txt, however please do make sure that the file-name does not have any spaces:")
      Fileextension = raw_input("What filetype would you like the program to convert your file to. E.g. .Jpeg: ")
      body, ext = os.path.splitext("filename")
      from subprocess import check_call    
      check_call(["ffmpeg" ,"-i", filename, body + Fileextension])
  • pydub no ffprobe found

    21 septembre 2019, par Virgil Sisoe

    I have an app for MacOS that is compiled with py2app. The app uses the pydub module and the latter uses ffmpeg family package.

    The problem is that once I compile the app and move it to a different OS, the subprocess call from pydub fails to find any of the ffmpeg packages even though they are installed in /usr/local/bin.

    If I launch the app from terminal ./Nameapp.app/Contents/MacOs/Nameapp then it runs no problem, but if I launch it with double click then pydub complains not finding the packages and the app hangs where ffmpeg/ffprobe should do the work.

    I can see that pydub searches in the /usr/local/bin only if launched from terminal, otherwise no. If I add /usr/local/bin to PATH, pydub doesnt complain anymore that it doesnt find ffmpeg/ffprobe, but it still gives me an error for both ffmpeg and ffprobe : [Errno 2] No such file or directory:.

    If I hardcode the path pydub.AudioSegment.converter = "/usr/local/bin/ffmpeg", the app gives me only ffprobe error [Errno 2] No such file or directory:'ffprobe': 'ffprobe'.

    On some other posts i’ve seen pydub.AudioSegment.ffprobe = "/path/to/ffprobe" but it doesnt seem to work in my case ?

    So my two questions are :

    How to hardcode the ffprobe path in pydub ?
    How to solve this without hardcoding path ?