Recherche avancée

Médias (91)

Autres articles (104)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • 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.

Sur d’autres sites (7424)

  • python modules ffmpeg and ffprobe are installed but youtube-dl not able to find

    12 avril 2022, par Akshay Hiremath

    I'm using python 3.8 on MacOS Big Sur

    


    I installed python module package for youtube-dl with

    


    pip3 install -upgrade youtube-dl


    


    I wanted to do post processing on the content downloaded so I installed python packages ffprobe and ffmpeg.

    


    pip3 install ffprobe
Collecting ffprobe
  Downloading https://files.pythonhosted.org/packages/95/9c/adf90d21108d41f611aa921defd2f2e56d3f92724e4b5aa41fae7a9972aa/ffprobe-0.5.zip
Installing collected packages: ffprobe
  Running setup.py install for ffprobe ... done
Successfully installed ffprobe-0.5

pip3 install ffmpeg
Collecting ffmpeg
  Downloading https://files.pythonhosted.org/packages/f0/cc/3b7408b8ecf7c1d20ad480c3eaed7619857bf1054b690226e906fdf14258/ffmpeg-1.4.tar.gz
Installing collected packages: ffmpeg
  Running setup.py install for ffmpeg ... done
Successfully installed ffmpeg-1.4


    


    pip3 list 
Package    Version   
---------- ----------
ffmpeg     1.4       
ffprobe    0.5           
youtube-dl 2021.12.17 


    


    Still it is complaining can't find ffprobe and ffmpeg :

    


    youtube_dl.utils.DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.


    


    I see both packages in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/

    


    Trying to figure out what am I doing wrong. Many other answers to similar questions on SFO are suggesting installing these packages in the OS using brew etc. but in my case "I want to do everything through python". So shouldn't just installing python modules be enough ?

    


  • Error while opening encoder stream in ffmpeg android [duplicate]

    9 octobre 2018, par Vivek Mishra

    I am trying to overlay a video on an image using the below command.

    String[]sepCmd=new String[]{"-loop","1","-i",uri,"-i",overlayUri,"-filter_complex","[1:v]colorkey=0x000000:0.5:0.5[ckout];[0:v][ckout]overlay[out]","-map","[out]","-acodec","libfaac","-c:a", "copy",outputPath};

    When I run the above command, I get the error as shown below

    Input #0, png_pipe, from '/storage/emulated/0/snowflake.png':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: png, gray(pc), 304x345 [SAR 11811:11811 DAR 304:345], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/FilterVideos/vintage1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:05.08, start: 0.000000, bitrate: 447 kb/s
       Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 306 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #1:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 (png) -> overlay:main
     Stream #1:0 (h264) -> colorkey
     overlay -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    [swscaler @ 0xee29d000] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0xee2a8000] No accelerated colorspace conversion found from yuv420p to argb.
    [libx264 @ 0xf125ba00] height not divisible by 2 (304x345)
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!
  • Error scaling a video using libav filters [duplicate]

    8 décembre 2016, par S B

    This question already has an answer here :

    I need to batch-process a bunch of videos to scale their height to 240 keeping the aspect ratio same. The command that gets the job almost done is :

    $ avconv -threads 4 -ss 0.0 -i input.avi \
    -map 0:0,0:0 -map 0:1,0:1 -vf "scale=-1:240" -y -f mpegts \
    -async -1 -vcodec libx264 -vcodec libx264 -flags2 +fast \
    -flags +loop -g 30 -bufsize 1024k \
    -b 200k -bt 220k -qmax 48 -qmin 2 -r 20 -acodec libmp3lame \
    -ab 44k -ar 44100 -ac 2 output.ts

    The interesting part, as you can see, is -vf "scale=-1:240"

    This works on videos where the scaled output width turns out to be an even number. Otherwise, I get the following error message :

    [libx264 @ 0x7fc4f8821e00] width not divisible by 2 (341x240)

    How do I overcome this ?

    Edit :
    As per this link, I tried using -vf "scale=trunc(oh/a/2)*2:240" which outputs a movie but the resulting video quality is really poor.

    Edit #2 :
    This is not a duplicate as it’s wrongly marked. This question was posted much earlier than the other one.