
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (51)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4752)
-
qt-faststart never finish
19 avril 2012, par Shakti SinghI am trying to use qt-faststart on MP4 videos to make the streaming fast but the qt-faststart command is never get finish, It is running from the last one and half hour and video file is of 14MB only.
The command is showing the
ftyp
andfree
as outputthe output look like this
ftyp 2324322 32
free 2324456 8and the number is keep increasing with the output. No error is shown.
The MP4 video is converted from FLV video using the FFMPEG.
Generally it show the output like this but with my installation of qt-faststart I never get this ouput
patching stco atom...
patching stco atom..
writing ftyp atom...
writing moov atom...
copying rest of file ...What could be the issue ?
Is there anything wrong with the installation of qt-faststart ?I am on
Linux 2.6.18-128.2.1.el5PAE i686
-
avcodec/jpegxl : add Jpeg XL image codec
17 avril 2022, par Leo Izen -
ffmpeg avcodec_open2() return error -22 only in ubuntu
26 octobre 2020, par User800222AS title,


I'm working on a project on Mac with ffmpeg. It runs on my Mac to encode frames to vp9 & vp8. But when I run it on my docker image in a ubuntu, the function
avcodec_open2()
, returns-22
error. (only for vp9&vp8, h264 works).

I wonder if the error comes from the setting parameters part ? But it's still weird to have it working on mac but not in ubuntu.


Does anyone has a similar experience ?


bool open_video(AVFormatContext * oc,AVCodec * codec,OutputStream * ost,AVDictionary * opt_arg, bool reduceQuality) {
 int ret;
 AVCodecContext * c = ost->st->codec;
 AVDictionary * opt = NULL;
 av_dict_copy(&opt,opt_arg,0);

 if(codec264){
 // http://arstechnica.com/civis/viewtopic.php?f=6&t=1239375
 av_dict_set(&opt,"refs", "3", 0);
 av_dict_set(&opt,"vprofile","main", 0); // 2 versions to support differents libav/ffmpeg
 av_dict_set(&opt,"profile", "main", 0);
 
 //av_dict_set(&opt,"preset","superfast",0);
 //av_dict_set(&opt,"preset","ultrafast",0);
 av_dict_set(&opt,"preset","superfast",0);
 //av_dict_set(&opt,"preset","slow",0);
 
 //https://mattgadient.com/2013/06/12/a-best-settings-guide-for-handbrake-0-9-9/
 //av_dict_set(&opt, "tune", "zerolatency", 0); //bluerry but very small size
 //av_dict_set(&opt, "tune", "fastdecode", 0); // hd but large size
 // 23 300k, 29 150k, 35 75k
 if(reduceQuality)
 av_dict_set(&opt, "crf", "35", 0); //35 +-6 decrease/increase bitrate half/twice
 else
 av_dict_set(&opt, "crf", "29", 0); //29 +-6 decrease/increase bitrate half/twice
 
 }
 else if (codecVP9)
 { 
 // Setting explanation:
 // http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide
 // https://developers.google.com/media/vp9/live-encoding/
 // https://developers.google.com/media/vp9/settings/vod/
 // https://developers.google.com/media/vp9/bitrate-modes/

 if(reduceQuality) //crf is the quality value for VP9 (0-63), lower the better quality youll get 
 av_dict_set(&opt, "crf" , "40", 0); 
 else
 av_dict_set(&opt, "crf" , "45", 0);
 av_dict_set(&opt, "speed" , "8" , 0);
 av_dict_set(&opt, "quality", "realtime", 0); //realtime is recommended
 //av_dict_set(&opt, "threads", "4" , 0);
 //av_dict_set(&opt, "tile-columns", "2", 0);
 //av_dict_set(&opt, "frame-parallel", "1", 0);
 //av_dict_set(&opt, "row-mt", "1", 0);
 av_dict_set(&opt, "b:v", "1", 0);
 av_dict_set(&opt, "g", "400", 0); //key frame interval (big difference in vid size)

 //av_dict_set(&opt, "maxrate", "3k", 0);
 //av_dict_set(&opt, "minrate", "1k", 0);
 //av_dict_set(&opt, "hwaccel", "vaapi", 0);
 //av_dict_set(&opt, "c:v", "libvpx-vp9", 0);
 
 }
 else if (codecVP8)
 {
 // https://trac.ffmpeg.org/wiki/Encode/VP8 
 av_dict_set(&opt, "passes" , "1" , 0); 
 av_dict_set(&opt, "cpu-used" , "15" , 0); 
 av_dict_set(&opt, "qmax" , "63", 0); 
 av_dict_set(&opt, "rt" , "", 0); // realtime setting
 //av_dict_set(&opt, "crf" , "10", 0); 

 if(reduceQuality)
 av_dict_set(&opt, "qmin" , "40", 0); // Lower quality, smaller sizes
 else
 av_dict_set(&opt, "qmin" , "35", 0); // Higher quality, larger sizes
 }
 else 
 {
 if(reduceQuality)
 av_dict_set(&opt, "x265-params", "crf=29", 0);
 else
 av_dict_set(&opt, "x265-params", "crf=23", 0);
 
 av_dict_set(&opt, "preset", "ultrafast", 0);
 av_dict_set(&opt, "tune", "zerolatency", 0);
// av_dict_set(&opt, "profile", "main", 0);
 }
 
 // Open the codec
 ret = avcodec_open2(c,codec,&opt);
 av_dict_free(&opt);
 if (ret < 0) {
 cout << "Could not open video codec. (error code:" << ret << ")\n";
 return false;
 } // if



Edit : Does anyone know if the ffmpeg-linux using different parameters' name for setting from other platform's (like Mac) ?


Eidt2 : It seems like even if I don't set any options parameters, it's still giving me
-22
error. Ex :ret = avcodec_open2(c, codec, NULL)