Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (48)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Installation of FFMPEG for Python in WIndows

    10 février 2024, par user3587175

    I'm trying to use this python video converter and I couldn't even run the test. I read in the manual that I had to install FFMPEG separately so I did (I created the folder in C :\, the enviroment variable "path" and tested it and worked) but still doesn't work.

    



    When I run the command :

    



    python setup.py test


    



    I get this :

    



    Traceback (most recent call last):&#xA;  File "setup.py", line 51, in <module>&#xA;    packages=[&#x27;converter&#x27;],&#xA;  File "C:\Python27\lib\distutils\core.py", line 151, in setup&#xA;    dist.run_commands()&#xA;  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands&#xA;    self.run_command(cmd)&#xA;  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command&#xA;    cmd_obj.run()&#xA;  File "setup.py", line 20, in run&#xA;    raise Exception(&#x27;tests failed&#x27;)&#xA;Exception: tests failed&#xA;</module>

    &#xA;&#xA;

    When I run this example code :

    &#xA;&#xA;

    from converter import Converter&#xA;c = Converter()&#xA;&#xA;info = c.probe(&#x27;test1.ogg&#x27;)&#xA;&#xA;conv = c.convert(&#x27;test1.ogg&#x27;, &#x27;/tmp/output.mkv&#x27;, {&#xA;    &#x27;format&#x27;: &#x27;mkv&#x27;,&#xA;    &#x27;audio&#x27;: {&#xA;        &#x27;codec&#x27;: &#x27;mp3&#x27;,&#xA;        &#x27;samplerate&#x27;: 11025,&#xA;        &#x27;channels&#x27;: 2&#xA;    },&#xA;    &#x27;video&#x27;: {&#xA;        &#x27;codec&#x27;: &#x27;h264&#x27;,&#xA;        &#x27;width&#x27;: 720,&#xA;        &#x27;height&#x27;: 400,&#xA;        &#x27;fps&#x27;: 15&#xA;    }})&#xA;&#xA;for timecode in conv:&#xA;    print "Converting (%f) ...\r" % timecode&#xA;

    &#xA;&#xA;

    I get this :

    &#xA;&#xA;

    Traceback (most recent call last):&#xA;  File "C:\Users\USER\worspace_pyth\cosa\prueba1.py", line 3, in <module>&#xA;    c=Converter()&#xA;  File "C:\Python27\converter\__init__.py", line 27, in __init__&#xA;    ffprobe_path=ffprobe_path)&#xA;  File "C:\Python27\converter\ffmpeg.py", line 345, in __init__&#xA;    raise FFMpegError("ffmpeg binary not found: " &#x2B; self.ffmpeg_path)&#xA;converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg&#xA;</module>

    &#xA;&#xA;

    I can't understand what else I need to do for this to work. Thanks for your help.

    &#xA;

  • Installation of FFMPEG for Python in WIndows

    15 janvier 2017, par user3587175

    I’m trying to use this python video converter and I couldn’t even run the test. I read in the manual that I had to install FFMPEG separately so I did (I created the folder in C :\, the enviroment variable "path" and tested it and worked) but still doesn’t work.

    When I run the command :

    python setup.py test

    I get this :

    Traceback (most recent call last):
     File "setup.py", line 51, in <module>
       packages=['converter'],
     File "C:\Python27\lib\distutils\core.py", line 151, in setup
       dist.run_commands()
     File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
       self.run_command(cmd)
     File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
       cmd_obj.run()
     File "setup.py", line 20, in run
       raise Exception('tests failed')
    Exception: tests failed
    </module>

    When I run this example code :

    from converter import Converter
    c = Converter()

    info = c.probe('test1.ogg')

    conv = c.convert('test1.ogg', '/tmp/output.mkv', {
       'format': 'mkv',
       'audio': {
           'codec': 'mp3',
           'samplerate': 11025,
           'channels': 2
       },
       'video': {
           'codec': 'h264',
           'width': 720,
           'height': 400,
           'fps': 15
       }})

    for timecode in conv:
       print "Converting (%f) ...\r" % timecode

    I get this :

    Traceback (most recent call last):
     File "C:\Users\USER\worspace_pyth\cosa\prueba1.py", line 3, in <module>
       c=Converter()
     File "C:\Python27\converter\__init__.py", line 27, in __init__
       ffprobe_path=ffprobe_path)
     File "C:\Python27\converter\ffmpeg.py", line 345, in __init__
       raise FFMpegError("ffmpeg binary not found: " + self.ffmpeg_path)
    converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg
    </module>

    I can’t understand what else I need to do for this to work. Thanks for your help.

  • Videos to jpg image ffmpeg error av_interleaved_write_frame

    26 mai 2021, par Loic Bch

    I'm making a program in c# in which I'm using ffmpeg to cut video into frames.&#xA;I'm doing it this way in my program :

    &#xA;

    ffmpegPath = "C:\\Program Files (x86)\\ffmpeg\\ffmpeg32.bat";&#xA;string videoPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "video.avi");&#xA;&#xA;Process process = new Process();&#xA;            process.StartInfo.FileName = ffmpegPath;&#xA;            process.StartInfo.Arguments = @"-i " &#x2B; videoPath &#x2B; " -qscale:v 2 image%03d.jpg";&#xA;            //process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;&#xA;            process.Start();   // On cut la vid avec ffmpeg &#xA;

    &#xA;

    This code works perfectly fine in debugging mod and display all my images&#xA;Now I want to make a setup to install the program, so I'm using InnoSetup to make a setup but when I install the program and try to run the same code it display the command prompt with ffmpeg error :&#xA;"cannot display image2.jpg : av_interleaved_write_frame() : I/O error occurred&#xA;ffmpeg error

    &#xA;

    if someone can help me on why I'm getting this error in release and not in debug mode ? Why ffmpeg can't execute the request correctly after the setup since I'm changing nothing ?

    &#xA;

    I already tried to double the % on ffmpeg request but it didn't work, all the paths are correct and the input file is not damaged or anything.&#xA;The ffmpeg request works fine when I execute it directly from the prompt.

    &#xA;