Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (86)

Sur d’autres sites (15293)

  • fate : Use the correct, local path to samples for opus reference files

    12 juillet 2014, par Martin Storsjö
    fate : Use the correct, local path to samples for opus reference files
    

    This fixes running fate in configs where the samples are located
    in a different path on the target.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] tests/fate/opus.mak
  • VTK Requested modules not available vtkIOFFMPEG

    15 juillet 2019, par Anees Hikmat Abu Hmiad

    Im try to execute this example from VTK, and to do that I most install ffmpeg from this url and all is good, but when I try to build project I get this error :

    /Downloads/VTK-8.2.0/CMake/vtkModuleAPI.cmake:140 (message) :
    Requested modules not available :

    vtkIOFFMPEG

    I do all step in ffmpeg zipped file which I installed it from VTK download url, and if press ccmake on VTK-build directory I can see these option is enabled

    VTK_FFMPEG_INCLUDE_DIR /tmp/ffmpeg_inst/include
    VTK_FFMPEG_avcodec_LIBRARY /tmp/ffmpeg_inst/lib/libavcodec.so
    VTK_FFMPEG_avformat_LIBRARY /tmp/ffmpeg_inst/lib/libavformat.so
    VTK_FFMPEG_avutil_LIBRARY /tmp/ffmpeg_inst/lib/libavutil.so
    VTK_USE_FFMPEG_ENCODER ON

    and all files/directory is found and located under /tmp/ffmpeg_inst,
    Also I run make -j4 after VTK_USE_FFMPEG_ENCODER is set on.

    Why vtkIOFFMPEG module not found now ? is there any mistake in configuration or is there any specific configuration for FFMPEG example before build ? thanks.

    Additional Note :

    1. VTK version : 8.2.0
    2. cmake version 3.13.2
  • Running xdotool movewindow from a python script

    19 août 2014, par mr mojo risin

    I am writing a python script to run a movie using ffplay, and then move the ffplay window to a specific location on the screen.

    The script I am basing this one is located here - http://code.activestate.com/recipes/577376-simple-way-to-execute-multiple-process-in-parallel/

    The only difference is I am changing the commands array at the bottom to

    commands = [
       ['xdotool', 'search', '--name', 'Goodfellas', 'windowmove', '480', '200'],
       ['ffplay', '-x', '320', '-y', '180', '-autoexit', '/data/media/Vidoes/Movies/Goodfellas.mp4']
    ]

    The video plays fine, but the window will not move position

    To test if the script is actually cycling through all the commands I added the command

    ['xdotool', 'mousemove', '180', '180'],

    And the mouse will indeed move to location 180, 180 on my screen

    Perhaps maybe ffplay takes a split second to load and there is still no screen called Goodfellas when the movewindow command is executed