Recherche avancée
Autres articles (69)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP 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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8493)
-
Can't find preset files
1er juin 2012, par Bilthonthis is a ffmpeg issue. I've got this error saying it could not find the hq preset file, then I read in the documentation that it looks for the preset files at 'PREFIX/share/ffmpeg' and also at '$HOME/.ffmpeg'. The thing is I'm calling ffmpeg from whithin a php file that calls a python script that finally executes the command something like 'commands.getstatusoutput(command)' so I was not sure who the user was.
The solution ? I just used -fpre and my call now looks like this :
/usr/local/bin/ffmpeg -i ../files/tmpvideos/myStream.flv -y -acodec libfaac -ab 96k -b 800k -maxrate 800k -minrate 600k -bufsize 800k -s 720x640 -vcodec libx264 -g 300 -r 20 -fpre /home/admin/.ffmpeg/libx264-hq.ffpreset -threads 0 ../files/tmpvideos/4647-60.mp4
I created that directory under /home/admin and am 100% sure that there the file is there now, but still ffmpeg says :
File for preset '/home/admin/.ffmpeg/libx264-hq.ffpreset' not foundSo I'm not sure why is it not working since I'm specifying the complete path now. Any ideas ?
One reason that I'm thinking of, is that it maybe was not compiled correctly, like with all the flags and stuff. What I mean is that while some outputs out there looked like this :
FFmpeg version SVN-r22976, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 30 2010 12:03:12 with gcc 4.2.1-sjlj (mingw32-2)
configuration: --enable-shared --enable-static --enable-memalign-hack
--enable
-libmp3lame --enable-libx264 --enable-gpl
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0mine looks more like this :
Output: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Nov 12 2010 16:32:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0No configuration stuff. What do u think ? could be that this ffmpeg was not compiled correctly so it will never find the presets ? I didn't compile it, so can't be sure.
Thanks and sorry for the verbosity of the question.
Nelson
-
how to reencode with ffmpeg (with limited x264)
26 mai 2012, par sarfrazUntil now I used this script to reencode my rips for my box (tv decoder) :
^_^ ( ~ ) -> cat ~/++/src/convert.sh
#! /bin/bash
name=$(path -r "$1") # it gives the file name without the extension
[ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy -acodec copy "$name".mkv
x264 --preset veryfast --tune animation --crf 18 --vf resize:720,576,16:15 -o "$name".tmp.mkv "$name".mkv
mkvmerge -o "$name [freeplayer sd]".mkv "$name".tmp.mkv --no-video "$1"
rm -rf "$name".tmp.mkv
[ "$1" = *.mp4 ] && rm -rf "$name".mkv
exit 0
#EOFIt works on my ubuntu and archlinux laptops. But it doesn’t on my desktop witch runs fedora.
Google says that the x264 package shiped by rpmfusion doesn,t support lavf and ffms2.
And I cannot unistall it because smplayer (witch i like) needs it.Ok, so I have to compile it. Google then says "you have to build ffmpeg, ffms2 tnen x264 ensuring that the flags are correctly refered." Well, didn’t work (ffms2 cannot find LIBAV - even when I am telling where - and x264 does’t configure with lavf...)
My question is : can I use ffmpeg alone to do what my script does.
I have ffmpeg version 0.8.11, x264 0.116.2048 59cb2eb and gcc : 4.6.1 20110804 (Red Hat 4.6.1-7)Any hint wound be appreciated.
EDIT : Ok, I found that : ffmpeg -i input file -acodec copy -vcodec libx264 -preset veryfast -tune animation [that part I don’t have] output
PS : english is not my native, plz forgive any spelling fault.
-
how to reencode with ffmpeg (with limited x264)
26 mai 2012, par sarfrazUntil now I used this script to reencode my rips for my box (tv decoder) :
^_^ ( ~ ) -> cat ~/++/src/convert.sh
#! /bin/bash
name=$(path -r "$1") # it gives the file name without the extension
[ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy -acodec copy "$name".mkv
x264 --preset veryfast --tune animation --crf 18 --vf resize:720,576,16:15 -o "$name".tmp.mkv "$name".mkv
mkvmerge -o "$name [freeplayer sd]".mkv "$name".tmp.mkv --no-video "$1"
rm -rf "$name".tmp.mkv
[ "$1" = *.mp4 ] && rm -rf "$name".mkv
exit 0
#EOFIt works on my ubuntu and archlinux laptops. But it doesn’t on my desktop witch runs fedora.
Google says that the x264 package shiped by rpmfusion doesn,t support lavf and ffms2.
And I cannot unistall it because smplayer (witch i like) needs it.Ok, so I have to compile it. Google then says "you have to build ffmpeg, ffms2 tnen x264 ensuring that the flags are correctly refered." Well, didn’t work (ffms2 cannot find LIBAV - even when I am telling where - and x264 does’t configure with lavf...)
My question is : can I use ffmpeg alone to do what my script does.
I have ffmpeg version 0.8.11, x264 0.116.2048 59cb2eb and gcc : 4.6.1 20110804 (Red Hat 4.6.1-7)Any hint wound be appreciated.
EDIT : Ok, I found that : ffmpeg -i input file -acodec copy -vcodec libx264 -preset veryfast -tune animation [that part I don’t have] output
PS : english is not my native, plz forgive any spelling fault.