
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (30)
-
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) (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5189)
-
FFMPEG command capturing darker pics from webcam
19 décembre 2018, par Pratul YadavI am using ffmpeg in linux to capture pics from a webcam.
Command Used : ffmpeg -y -f video4linux2 -ss 00:00:00.900 -t 1 -s 1280x720 -i /dev/v4l/by-id/usb-HD_Camera_Manufacturer_USB_2.0_Camera-video-index0 -vframes 1 -q:v 2 /tmp/test.jpg
Query : The strange thing is the pics clicked using this command are darker (good) and brighter (good) alternately.
Which means, 1st-time pic is darker, 2nd time its brighter, 3rd time its darker again and so on.Can anyone let me know why this is happening ? And how can I fix this issue to get all time brighter pics ?
Please see sample pics.
-
vaapi_encode_h265 : Ensure that ref pics are always in the RPS
25 janvier 2019, par Mark Thompsonvaapi_encode_h265 : Ensure that ref pics are always in the RPS
When making a new P-frame when B-frames are present the previous P-frame
is normally in the DPB because it will be referred to by subsequent
B-frames. However, this is not true if there are no B-frames, or in edge
cases where a GOP ends with two P-frames. Fix this by adding the direct
ref pics to the RPS explicitly.Fixes #7699.
Tested-by : Ullysses A Eoff <ullysses.a.eoff@intel.com>
-
Shell script works fine from shell but doesn’t work as expected when executed via PHP “shell_exec” code
9 décembre 2019, par Eric FeillantThis record.sh script shell is here and works fine on command line to record an MP4 file from a local flv live stream :
DATE=`date +"%d-%m-%Y-%T"`
if [ -s NAMESTREAM ]
then
cat config.php | dos2unix | grep auth | grep username | \
awk -F ' ' '{print $3}' | sed "s/'//g" | sed "s/;//g" | while read VAR
do echo $VAR > RECSTREAM
echo "Starting recording ..."
ffmpeg -i "rtmp://localhost/hls/$VAR" -crf 19 videos/"$VAR"_"$DATE".mp4
done
else
echo "Streaming is not started, please start it before"
fiI send a shell_exec to call the last shell script in a php script like this :
$old_path = getcwd();
chdir('/usr/local/nginx/html/mydir');
$output = shell_exec('nohup ./record.sh >/dev/null 2>/dev/null &');
chdir($old_path);The MP4 video files are generated but unreadable with VLC, etc… It seems that the problem is due to my PHP script but I am not able to know why.
When executing from the shell command line : PHP myphpscript.php works fine, MP4 video files are OK. But from the PHP web page, the MP4 video files are corrupted.
Any ideas ? Any param to test in FFmpeg to have a good mp4 video file ?