Recherche avancée

Médias (91)

Autres articles (87)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (12266)

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

    


  • FFmpeg metadata tags for YouTube 3D side-by-side movies

    17 février 2021, par Some1Else

    YouTube requires specific metadata tags for 3D Side-By-Side format movies. If the tag is not there then YouTube does not give the anaglyph playback options for the end user.

    



    Their "help" is here
https://support.google.com/youtube/answer/7278886?hl=en-GB

    



    I am trying to get FFmpeg to add the MP4 tag when building my movie.

    



    Code that works now for a series of PNG files into a MP4.

    



    "ffmpeg.exe" -framerate 60 -i "VID%05d.PNG" -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -s 1280x720 -pix_fmt yuvj420p -an -y "OUTPUT.MP4"


    



    But when I add the tag from the YouTube help page

    



    "ffmpeg.exe" -framerate 60 -i "VID%05d.PNG" -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -s 1280x720 -pix_fmt yuvj420p -an -y -x264opts "frame-packing=3:frame-packing-interpret=1:frame-packing-quincunx=0:frame-packing-grid=0,0,0,0" "OUTPUT.MP4"


    



    I get this error from FFmpeg

    



    [libx264 @ 0000000002a8c3a0] bad option 'frame-packing-interpret': '1'


    



    This page (ignore the proselytising)

    



    http://www.pantherdynamics.yolasite.com/panther-dynamics-blog/uploading-3dsbs-content-to-youtube

    



    says you only need to use this tag

    



    -x264opts frame-packing=3


    



    Using that does make FFmpeg finish correctly, but the SBS is still ignored by YouTube

    



    The YouTube engineer blog post here

    



    https://youtube-eng.googleblog.com/2011/09/getting-3d-content-on-youtube_8.html

    



    links to an older supposed 3D movie that also does not give 3D options any more.

    



    https://www.youtube.com/watch?v=ubRHSg5daMs

    



    So maybe even YouTube's own 3D movies are crippled ?

    



    What am I doing wrong ? Any FFmpeg gurus able to help ?

    


  • how to change the resolution FFMPEG live streaming to youtube

    15 juillet 2021, par StudyFromHome

    i use this code to live stream using my VPS in ffmpeg

    


    
#! /bin/bash
#


VBR="2500k"                                   
FPS="60"                                       
QUAL="ultrafast"                                  
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  

SOURCE="/home/rsa-key/2222.mp4"             
KEY="ddf-khyf-dres-ek42-8sss"                                     

ffmpeg \
    -stream_loop -1 -i "$SOURCE" -deinterlace \
    -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$KEY"  



    


    how i change the resolution limit like 480p