Advanced search

Medias (91)

Other articles (30)

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

    31 January 2010, by

    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 : extraction / (...)

  • Support audio et vidéo HTML5

    10 April 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

    31 January 2010, by

    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 (...)

On other websites (2937)

  • Choppy playback video

    2 January 2012, by Satheesh

    I have developed a live wallpaper application in android. For that am using a video as wallpaper. In that we cannot set the video as it is as a wallpaper. So initially i compiled that video using ffmpeg library and set wallpaper as frame by frame using opengl. These are all working fine. Now i want to play two different videos for landscape and portrait mode tilts. When the video has to be changed on either mode and should play as wallpaper on that time i get a choppy defect in that for a second. How could i resolve this.

  • Any updated http segmenter for IPad / iPhone video streaming with latest ffmpeg?

    5 February 2012, by ipegasus

    I would like to know if there are any http file segmenters with support for the latest ffmpeg libraries?

    So far I have found some projects, although I haven't been able to compile them using ffmpeg 0.9

    1. http://svn.assembla.com/svn/legend/segmenter/
    2. http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/

    Thanks!

  • ffmpeg bitrate error when trying to capture frames at intervals from a video

    25 October 2011, by TheShaggyBeard

    Here is the error I get from running this script:

    [mjpeg @ 0x8559710]bitrate tolerance too small for bitrate
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

    So here is what I am trying to do - I want to automate creating animated gif previews from a video file (in this case I know they will always be a specific format being mp4). Here is what I have:

    echo 'Save the file-name and make a folder named "filenamemp4"'
    fileName=$(find . -type f -name "*.mp4")
    folderName=$( cat $fileName | grep -o [[:alnum:]] | tr -d '\n' | cat)

    echo 'Grab the frame rate and total number of frames and put them into xaa and xab'
    qtinfo asa.mp4 | awk 'NR = 1 { print $2 }' | grep -o "^[0-9]*" | split -l 1

    echo 'Assign values to variable'
    frameRate=$(cat xaa)
    frameTotal=$(cat xab)
    videoLength=$(expr $frameTotal / $frameRate)

    echo 'Take a screenshot at 10% intervals - this is the part that gives me a bitrate error.  It says that the -r option has an invalid input being 1 / value of videoLength'
    ffmpeg -i $fileName -y -ss $videoLength -an -sameq -f image2 -s 'qcif' -r $(expr 1/$videoLength) preview%02d.jpg

    echo 'Take the jpgs and mash them into an animated gif'
    convert -delay 50 -loop 10 preview*.jpg preview.gif

    echo 'Move the gif to the specified folder'
    mv preview.gif $folderName/preview.gif

    echo 'Clean Up'
    find . -type f -name "*.jpg" -exec rm -rf {} \;

    So perhaps there is a better way of doing this, or I am understanding how to use the -r option of ffmpeg wrong. In the tutorial I read on ffmpeg for a similar scenario, they used -r 1/5 to produce frames with a 5 second interval. My assumption is that for the desired interval you want, you just slap it in the denominator for the -r option.