
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (69)
-
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 -
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 (8645)
-
avcodec/cbs : allow cbs_read_fragment_content() to skip decomposition of units
15 novembre 2020, par James Almeravcodec/cbs : allow cbs_read_fragment_content() to skip decomposition of units
The caller may not need all units in a fragment in reading only scenarios.
They could in fact alter global state stored in the private CodedBitstreamType
fields in an undesirable way.
With this change, unit decomposition can be skipped based on parsed values
within the unit.Signed-off-by : James Almer <jamrial@gmail.com>
-
avdevice/decklink_dec : add support for querying RP188 High Frame Rate timecode
5 septembre 2020, par Marton Balint -
High Quality Screen Capture with FFmpeg
27 août 2021, par plumzlI'm trying to figure out a command for high quality screen capture on REHL.



I have tried various options, but none really worked. The quality is not good enough. I'm quite new to ffmpeg and doesn't quite understand all the different flags. So any help would be appreciated !



The commands I have tried :



ffmpeg -y -f x11grab -r 30 -s 1920x1080 -i :0.0+0,0 -vcodec libx264 -strict -2 -b:v 16M output.mov




The first command I tried. The weird thing is it doesn't seem to preserve the bitrate specified
-b:v 16M
. The output video's bitrate is only 2mb/s. Is that not the correct way to specify bitrate when doing screen capture ?


ffmpeg -f x11grab -s 1920x1080 -r 30 -i :0.0 -qscale 0 -vcodec huffyuv output.mov




The huffyuv codec is supposed to be lossless, but the quality doesn't seem to be any better than the libx264 output.



ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0+0,0 -vcodec copy -pix_fmt yuv420p -qscale 0 -an output.mkv
ffmpeg -f rawvideo -pix_fmt yuv420p -s:v 1920x1080 -r 30 -i output.mkv -an -c:v libx264 -qscale 0 result.mov 




I'm even trying to capture rawvideo and then convert it to libx264 codec viedeo. But the output is corrupted.



I'm using the version of ffmpeg that's built on April 23rd this year. It doesn't have the preset like
-vpre lossless_ultrafast
which I see mentioned in a lot posts.


Edit :



After more research, this is the command I end up using. I have to use h264 codec and yuv420p as pixel_fmt since I need to be able to play the quicktimes using quicktime.



ffmpeg -y -f x11grab -framerate 30 -video_size 1920x1080 -i :0.0+0,0 -c:v libx264 -pix_fmt yuv420p -qp 0 -preset ultrafast output.mov




The quality doesn't seem to be much improved even though -qp is set to 0. But it could also because of the rgb conversion to yuv color space according to this post.



https://trac.ffmpeg.org/wiki/Encode/H.264