
Recherche avancée
Autres articles (26)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (7348)
-
msrle : Use FFABS to determine the frame size in msrle_decode_pal4
25 mai 2015, par Luca Barbato -
Is there a way to use ffmpeg to determine the encoding of a file before transcoding ?
8 février 2016, par Bill NobleI am planning to use ffmpeg to ensure all video files uploaded to my website are encoded as mp4 h264.
Rather than automatically processing every file I would like to minimise the processing overhead by only processing those files that are not already mp4 h264. Is there an easy way to do this either with ffmpeg or with another command line utility ?
-
How can I determine video rotation/orientation in PHP/FFMPEG/PhoneGap ?
14 juin 2014, par SomethingOnOnce I upload videos to my server I’m creating a screencap using FFMPEG. Problem is, if the user takes a video in portrait mode the screencap is rotated 90º. The ridiculous things is that PhoneGap and FFMEG-php and FFMPEG don’t seem to offer a mechanism for reading the video rotation/orientation value.
I found another library called mediainfo that will provide the info, but not in an easy to read/digest manner and I’m trying to avoid having to use another library.
Am I wrong about PhoneGap/FFMPEG ? Is there a direct way to determine video orienation ?
Here’s my solution as a PHP function :
function get_video_orientation($video_path) {
$cmd = FFMPEG_PATH . "ffprobe " . $video_path . " -show_streams 2>/dev/null";
$result = shell_exec($cmd);
$orientation = 0;
if(strpos($result, 'TAG:rotate') !== FALSE) {
$result = explode("\n", $result);
foreach($result as $line) {
if(strpos($line, 'TAG:rotate') !== FALSE) {
$stream_info = explode("=", $line);
$orientation = $stream_info[1];
}
}
}
return $orientation;
}