Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (50)

Sur d’autres sites (7695)

  • How to convert .mp4 video file to .yuv (YUV420) and vice-versa using FFmpeg and subprocess module in python ?

    7 avril 2020, par Ann Baiju

    I have to convert a .mp4 video file to .yuv (YUV420) and vice versa in my python program. How do you do this using FFmpeg and subprocess module in python ?

    


  • FFmpeg that can be packaged by Pyinstaller as a module ?

    26 avril 2020, par Andy_ye

    I created a program that would extract a mp3 file from a webm file. It uses FFmpeg as a conversion tool, and when I turn it into a exe file it works well on my computer, but there are some problems.

    



      

    • When using a nother computer, in does not work because the FFmpeg is not present

    • 


    • When changing location of the FFmpeg, for example, in a folder with my exe, it does not work

    • 


    



    so Is there any way to 1.point the python file to the ffmpeg or 2. use some package that includes ffmpeg in itself ?

    


  • Matplotlib : 'module' object has no attribute 'FFMpegWriter' / 'Writer'

    23 février 2015, par osnoz

    I’m trying to animate a graph with Matplotlib, something which I’ve done on a previous system. My code, however, seems to fail with my current setup.

    Here’s the problem :

    Writer = animation.writers['ffmpeg']

    Traceback (most recent call last) :
    File "/Users/oliversanders/Documents/Code/PyCharm/plottools/animationTest.py", line 17, in
    Writer = animation.writers[’ffmpeg’]
    AttributeError : ’module’ object has no attribute ’writers’

    Or alternatively :

    mywriter = animation.FFMpegWriter(fps=15)

    Traceback (most recent call last) :
    File "/Users/oliversanders/Documents/Code/PyCharm/plottools/animatedPointPlotter.py", line 101, in
    mywriter = animation.FFMpegWriter(fps=15)
    AttributeError : ’module’ object has no attribute ’FFMpegWriter’

    I’ve just re-installed matplotlib (1.4.2) and ffmpeg (2.5.3) for good measure. I’ve also deleted all .pyc files from matplotlib’s directory to make sure they aren’t messing anything up.

    I’ve looked around but been unable to find a solution. See also :
    Using FFmpeg and IPython, What could be wrong in saving the following animation in Python ?.

    Thanks in advance.