
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 (39)
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (9028)
-
PHP ffmpeg how give information about video file if binary path /usr/bin/ffmpeg ? [closed]
19 septembre 2012, par John SmithTell me please how give information about video file if binary path /usr/bin/ffmpeg ? me need code on php. Found not give results for this question...
-
avformat/img2dec : add option to provide metadata fields related to input path
1er janvier 2020, par Alexandre Heitor Schmidtavformat/img2dec : add option to provide metadata fields related to input path
libavformat/img2.h : New field export_path_metadata to
VideoDemuxData to only allow the use of the extra metadata
upon explicit user request, for security reasons.libavformat/img2dec.c : Modify image2 demuxer to make available
two special metadata entries called lavf.image2dec.source_path
and lavf.image2dec.source_basename, which represents, respectively,
the complete path to the source image for the current frame and
the basename i.e. the file name related to the current frame.
These can then be used by filters like drawtext and others. The
metadata fields will only be available when explicitly enabled
with image2 option -export_path_metadata 1.doc/demuxers.texi : Documented the new metadata fields available
for image2 and how to use them.doc/filters.texi : Added an example on how to use the new metadata
fields with drawtext filter, in order to plot the input file path
to each output frame.Usage example :
ffmpeg -f image2 -export_path_metadata 1 -pattern_type glob
-framerate 18 -i '/path/to/input/files/*.jpg'
-filter_complex drawtext="fontsize=40:fontcolor=white :
fontfile=FreeSans.ttf:borderw=2:bordercolor=black :
text='%metadata\:lavf.image2dec.source_basename\:NA':x=5:y=50"
output.aviFixes #2874.
Signed-off-by : Alexandre Heitor Schmidt <alexandre.schmidt@gmail.com>
Signed-off-by : Marton Balint <cus@passwd.hu> -
How give information about file with binary path /usr/bin/ffmpeg ? [closed]
19 septembre 2012, par John SmithHow give information about file with binary path /usr/bin/ffmpeg ?
Peoples its not answer - its code for help all peoples-)
Long time i search the correct code, now i write here. Washes it be useful to someone.
1) get duration file
ob_start();
passthru("ffmpeg-9260.exe -i \"". $videofile . "\" 2>&1");
$duration = ob_get_contents();
ob_end_clean();
preg_match('/Duration: (.*?),/', $duration, $matches);
$duration = $matches[1];
$duration_array = split(':', $duration);
$duration = $duration_array[0] * 3600 + $duration_array[1] * 60 + $duration_array[2];
$time = $duration * $percent / 100;
$time = intval($time/3600) . ":" . intval(($time-(intval($time/3600)*3600))/60) . ":" . sprintf("%01.3f", ($time-(intval($time/60)*60)));2) get a picture of a particular frame of the video (flv or avi or another)
ffmpeg -i video.avi -an -ss 00:01:30 -r 1 -vframes 1 -s 320×240 -y -f mjpeg screenshot.jpg
3) how to convert video file to format .ogg
a) ffmpeg -an -deinterlace -s 400×300 -r 20.00 -i CapeCodMarsh.avi -vcodec rawvideo -pix_fmt yuv420p -f rawvideo – | ffmpeg -an -f rawvideo -s 400×300 -r 20.00 -i – -f yuv4mpegpipe – | libtheora-1.0/lt-encoder_example –video-rate-target 512k – -o tmp.ogv
b)ffmpeg -y -i CapeCodMarsh.avi -vn -acodec libvorbis -ac 2 -ab 128k -ar 44100 audio.ogg4) How I can get this value for the buffer ?
var v = document.getElementById('file_id');
var r = v.buffered.end(0);Enjoy=)