
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (57)
-
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 -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
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 (11951)
-
grab_image is not working for HD videos ?
21 février 2012, par user1222769I am using ffmpeg command for grab_image of converted videos which are in flv format. All videos images are created except for HD videos. The code which i have written is as follws. Thanks in advance.
function grab_image($filename, $rootpath, $inputpath,$outputpath, $no_of_thumbs, $frame_number, $image_format, $width, $height)
$_rootpath = $rootpath."\ffmpeg";
// Media Size
$size = $width."x".$height;
// I am using static image, you can dynamic it with your own choice.
$out=explode(".",$filename);
$outfile = $out[0].".jpg";
//$ffmpegcmd1="ffmpeg -i ".$inputpath."/".$filename." -ss 1.4 -vframes 1 -f image2 ". $outputpath."/".$outfile;
// in local
$ffmpegcmd1="D:/xampp/htdocs/abc/ffmpeg -i ".$inputpath."/".$filename." -r 1 -ss 1.4 -vframes 1 -f image2 ". $outputpath."/".$outfile;
$ret = exec($ffmpegcmd1);
// Execute this command using exec command or any other tool to grab image from converted flv file.
return $ffmpegcmd1;
} -
NodeJS FFMPEG : Issues combining the crops and the trims
18 mars 2024, par Lqmnn B.I'm building a video editor where I can trim multiple clips and adjust the videos by cropping each clip. For example the first clip is centered in the middle and the second clip would be centered at the very right (for more details it's to crop a vertical format from a landscape video). And the goal is obviously to merge every clip in the end into one video.


I currently use this to trim and crop. :


// Constructing the filter string dynamically based on trim times
 const filterString = metadata.trim_times.map(({ start, end }) => `between(t,${start},${end})`).join('+');

 // FFMPEG command to trim the video based on the dynamic filter string
 await ffmpeg.current?.run(
 '-i', 'input.mp4',
 '-vf', `select='${filterString}',setpts=N/FRAME_RATE/TB,crop=(ih*9)/16:ih:${sliderValue}-((ih*9)/32):(in_h-out_h)/2`,
 '-af', `aselect='${filterString}',asetpts=N/SR/TB`,
 'output.mp4'
 );



An idea I had was to loop my
filterString
const
and trim/crop but then to concat i don't really know if that exists :/

I'd love to have some help with that, and please ask me if you need more details on the code 🙂
Thanks in advance !


-
libavcodec/qsvenc : Flush cached frames before reset encoder
13 février 2023, par Wenbin Chenlibavcodec/qsvenc : Flush cached frames before reset encoder
According to https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#configuration-change.
Before calling MFXVideoENCODE_Reset, The application needs to retrieve
any cached frames in the SDK encoder.
A loop is added before MFXVideoENCODE_Reset to retrieve cached frames
and add them to async_fifo, so that dynamic configuration works when
async_depth > 1.Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>