
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (53)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (10509)
-
ffmpeg bitrate error when trying to capture frames at intervals from a video
25 octobre 2011, par TheShaggyBeardHere 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 heightSo 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.
-
Any updated http segmenter for IPad / iPhone video streaming with latest ffmpeg ?
5 février 2012, par ipegasusI 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
- http://svn.assembla.com/svn/legend/segmenter/
- http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/
Thanks !
-
Choppy playback video
2 janvier 2012, par SatheeshI 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.