
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (51)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (6367)
-
lavfi/vf_libplacebo : determine PTS of next frame from any input
15 juin 2023, par Niklas Haaslavfi/vf_libplacebo : determine PTS of next frame from any input
When combining multiple inputs with different PTS and durations, in
input-timed mode, we emit one output frame for every input frame PTS,
from *any* input. So when combining a low FPS stream with a high FPS
stream, the output framerate would match the higher FPS, independent of
which order they are specified in. -
Determine timestamp in mpg video of KLV streams
22 février 2024, par Joshua LevoyI'm currently working with MISP compliant klv data containing mpg videos. I'm able to find the streams containing this data with ffmpeg using the following command


`ffmpeg -v 0 -ss 0 -i "Day Flight.mpg" -map 0:1 -f framecrc -`



By varying the -ss argument I am able to select for different klv streams by excluding parts of the video, which leads me to believe that ffmpeg is capable of determining how far into the video these klv streams are. I'd very much be interested in finding these timestams of the KLV streams, such that I can create a process by which a misp compliant mpg video can be clipped into smaller segments, for which its relevant MISP-compliant klv data will be preserved.


Is there a way to get ffmpeg to show me the timestamps where these KLV streams begin, and if not, does anyone know of any better approach to determining the position within the video of these klv streams ?


you can obtain the mpg video file containing mpg data that I am using here https://samples.ffmpeg.org/MPEG2/mpegts-klv/Day%20Flight.mpg


Currently I have run the line laid out above and receive the following output :


#software: Lavf58.29.100 #tb 0: 1/90000 #media_type 0: data #codec_id 0: klv 0, 0, 0, 0, 163, 0xc7572adf, S=1, 1, 0x00bd00bd 0, 0, 0, 0, 163, 0xeddd2774, S=1, 1, 0x00bd00bd 0, 0, 0, 0, 163, 0x5c8d29b0, S=1, 1, 0x00bd00bd 0, 0, 0, 0, 163, 0xb7c428f5, S=1, 1, 0x00bd00bd 0, 0, 0, 0, 163, 0x3c3d28a5, S=1, 1, 0x00bd00bd 0, 0, 0, 0, 162, 0x5cdd2898, S=1, 1, 0x00bd00bd


which is useful for determining there are KLV packets within the video but provides me very little in the way of the timestamp where they are relevant. I have other methods of extracting and decoding these KLV values at these locations, but what I'm interested in specifically, is knowing as close as possible the exact timestamps that the KLV streams are referring to within the 3 minute and 20 second video.


-
How can I determine video rotation/orientation in PHP/FFMPEG/PhoneGap ?
15 août 2024, 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;
}