
Recherche avancée
Autres articles (109)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (14715)
-
hevc/rext : basic infrastructure for supporting range extension
15 juillet 2014, par Mickaël Raulethevc/rext : basic infrastructure for supporting range extension
support for 4:2:2 and 4:4:4 up to 12 bits
add a new profile for range extension (cherry picked from commit d3c067fa65bbc871758d28aa07f54123430ca346)
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
- [DH] libavcodec/avcodec.h
- [DH] libavcodec/hevc.c
- [DH] libavcodec/hevc.h
- [DH] libavcodec/hevc_cabac.c
- [DH] libavcodec/hevc_filter.c
- [DH] libavcodec/hevc_ps.c
- [DH] libavcodec/hevcdsp.c
- [DH] libavcodec/hevcdsp.h
- [DH] libavcodec/hevcdsp_template.c
- [DH] libavcodec/hevcpred.c
- [DH] libavcodec/hevcpred_template.c
-
ffmpeg php video basic uses and types
15 mai 2014, par HackerManiacCan anyone give a code on how do i covert a video using ffmpeg.
As thought currently i have only uploading system.
vu.php(only a part is shown)
define('UPLOAD','../../videos/');
$fileName = time().$file['name'];
$target = UPLOAD.$fileName;
if(move_uploaded_file($file['tmp_name'],$target)){
exec("ffmpeg -i ".UPLOAD." ".UPLOAD.$filename.".flv");
}This pice of code block just uploads the video on video folder but does not converts it to
.flv
.
I am not sure how to use ffmpeg.My diretory looks like this
www[localhost]->videos[videos folder]
www[localhost]->pictures[pictures folder]
www[localhost]->resources[folder]->php[folder]->vu.phpI also want to return a
.jpg
image of any frame of video through json by converting via ffmpeg and uploading it topictures
folder.return json_encode(array("thumbnail"=>$image_src));
UPDATE 1
The above stuff was solved but now i have a question regarding video conversion.
Suppose i have a file.avi and i want to convert it in 3 sizes of.flv
format -> Low(320p) ,Medium (720p)and HD(1080p)what commands will i have to send to
shell_exec();
and will that be fast enough ?
CUrrently what i have is$vidSize = "640x480";
$ffmpeg -i $videoFile -ar 22050 -ab 32 -f flv -s $vidSize $vidFileAnd i am not sure what
-ar
and-ab
means and what value will be good for all those 3 sized videos ? -
Basic FFmpeg Conversion Error ?
26 mars 2018, par Sarah SzaboI’m trying to convert an .mp4 to a .opus file using ffmpeg. I have a directory on my desktop called
Indexing
which has a test file called40.mp4
. I’ve tried using the commandffmpeg -i 40.mp4 -b:a 320k 40.opus
which always works from a terminal set in the Indexing directory, but trying the same thing using Java always fails :NOTE : I’m running on Kubuntu 17.10
private static final Path INDEXING_PATH = Paths.get("/home/sarah/Desktop/Indexing");
Process proc = new ProcessBuilder("ffmpeg -i 40.mp4 -b:a 320k 40.opus")
.directory(INDEXING_PATH.toFile()).inheritIO().start();Yields :
Exception in thread "main" java.io.IOException: Cannot run program "ffmpeg -i 40.mp4 -b:a 320k 40.opus" (in directory "/home/sarah/Desktop/Indexing"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)