
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (106)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9057)
-
Can't get ffmpeg to flip video 180 degrees from PHP exec call. Works from SSH
25 octobre 2013, par Brandon RunyonWhen I run ./ffmpeg -i path/video.mp4 -vf "vflip,hflip" -metadata:s:v:0 rotate=0 newvideo.mp4 from the terminal it works well, but when I put this same system call into a PHP exec() ; function it fails.
example :
$path = "videos/" ;
$video = "test_rotated.mp4" ;
//this script runs and works
$rotation = exec('./mediainfo —Inform="Video ;%Rotation%" '.$path.$video) ;if ((int)$rotation == 180) {
$test = exec("./ffmpeg -i ".$path.$video." -vf \"vflip,hflip\" videos/test_rotatedback.mp4 2>&1");
exec('./mediainfo --Inform="Video;%Rotation%" '.$path.'test_'.$video);
echo "<pre>".$test."</pre>";
}The result is that the var $test prints out "Video encoding failed" and I'm not sure why because it's pretty much the same exact syntax, it's just running from PHP but it fails.
-
Unable to mux two live streams from webcam using ffmpeg in linux
24 octobre 2013, par user2902884We are trying to multiplex two live streams from webcams into an output file using ffmpeg in linux as follows,
fmpeg -i "http://10.41.2.57:8090/webcam.asf" -i "http://10.41.2.49:8090/webcam.asf" -map 0:0 -map 1:0 -t 60 "/home/../MuxLiveStream1.flv"
ffmpeg stops responding at after a while and the console shows the following output,
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jan 24 2013 19:42:59, gcc: 4.4.3
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 2.00 (2/1)
Input #0, flv, from 'http:10.41.2.154:8090/webcam.flv':
Duration: 00:00:00.00, start: 1587016.579000, bitrate: 200 kb/s
Stream #0.0: Video: flv, yuv420p, 320x240, 200 kb/s, 2 tbr, 1k tbn, 1k tbc
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 2.00 (2/1)
Input #1, flv, from 'http:10.41.2.57:8090/webcam.flv':
Duration: 00:00:00.00, start: 1587230.806000, bitrate: 200 kb/s
Stream #1.0: Video: flv, yuv420p, 320x240, 200 kb/s, 2 tbr, 1k tbn, 1k tbc
Number of stream maps must match number of output streamsIs there a mistake in the command or is there anything else that needs to be done ?
-
ffmpeg bash script to generate thumbnails for all videos in a folder
17 novembre 2017, par smokeyoneI found this bash script via google and would like to modify it slightly to generate jpg thumbnails from a desktop folder call indie. All my mts files are named by their exact time taken and ffmpeg is installed.
This is the original script :
for f in *.mov; do
ffmpeg -y -i "$f" -f image2 -ss 10 -vframes 1 -an "${f%.mov}.jpg";
doneI changed it to this :
for f in Desktop/indie/*.mts; do
ffmpeg -y -i "$f" -f image2 -ss 10 -vframes 1 -an "${f%.mts}.jpg";
doneI am hoping someone can tell me where I have gone wrong (my terminal output just says no such file).
Thanks