Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (66)

Sur d’autres sites (13735)

  • Retrieving stdout from subprocess in Windows

    6 août 2017, par Cryptite

    I can call FFmpeg with subprocess.Popen and retrieve the data I need, as it occurs (to get progress), but only in console. I’ve looked around and seen that you can’t get the data "live" when running with pythonw. Yet, waiting until the process finishes to retrieve the data is moot, since I’m trying to wrap a PyQT GUI around FFmpeg so I can have pretty progress bars and whatnot. So the question is, can you retrieve "live" data from a subprocess call when using pythonw ?

    I haven’t tried simply compiling the application with py2exe yet as a windows application, would that fix the problem ?

  • How to combine two ffmpeg commands - adding blur bar and adding logo and subtitle ?

    23 mai 2019, par Wai Gyi

    I run the following two ffmpeg command lines to create videos with blur bar, logo and subtitle.

    1. Adding blur bars

      ffmpeg -i input.mkv -lavfi "[0:v]scale=iw:iw*3/4,boxblur=luma_radius=min(h\,w)/40:luma_power=3:chroma_radius=min(cw\,ch)/40:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,setsar=1,crop=h=iw*3/4" blur_bar_added.mkv  
    2. Adding logo and subtitle

      ffmpeg -i blur_bar_added.mkv -i logo.png -filter_complex "[1][0]scale2ref=iw*0.15:ow/mdar[wm][v];[v][wm]overlay=W-w-5:5,ass=input.ass" output.mkv

    I would like to know how to combine them to run once. Thanks in advance.

  • Issue on install ffmpeg on Debian 8

    1er mai 2017, par pirmax

    I try to install "ffmpeg" on my Debian 8 and I have issues.

    apt-get install ffmpeg

    I have this errors...

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    ffmpeg : Depends: libavcodec57 (>= 10:3.2.2) but it is not going to be installed
             Depends: libavdevice57 (>= 10:3.2.2) but it is not going to be installed
             Depends: libavfilter6 (>= 10:3.2.2) but it is not going to be installed
             Depends: libavformat57 (>= 10:3.2.2) but it is not going to be installed
             Depends: libsdl2-2.0-0 (>= 2.0.4) but it is not going to be installed
             Depends: libva1 (>= 1.7.3) but 1.4.1-1 is to be installed
    x264 : Depends: libffms2-4 (>= 1:2.23) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.