
Recherche avancée
Autres articles (101)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (6680)
-
Create Video Thumbnail of All Files in a Directory via FFmpeg and PHP
2 février 2012, par Hashid HameedI have searched all over the Google and StackOverFlow, but still did not find a solution for this.
I want to generate video thumbnail of all mp4 video files in a directory and name the thumbnails as "filename.mp4".jpg
I have ffmpeg and ffmpeg-php installed on my server. I also succeeded in creating thumbnails of one file at a time.
So this is the situation, I have a directory named uploads which has lots of mp4 videos.
Now, when I run the script, thumbnail of size 100x100 shoud be created automatically and placed in another folder "skrin". Eg : xxx.mp4 should have xxx.mp4.jpg has the thumb name.IMPORTANT : My filenames have spaces, single quotes, brackets etc in their file names. So the script should be able to handle this.
Could some one help me ? I use the following shell command in php using exec to generate thumb of an individual video.
exec("/usr/local/bin/ffmpeg -itsoffset -105 -i 'xxx haha.mp4' -vcodec mjpeg -vframes 1 -an -f rawvideo -s 100x100 'xxx haha.mp4.jpg'");
-
avcodec/aacdec : fix parsing of dual mono files
5 juillet 2022, par James Almeravcodec/aacdec : fix parsing of dual mono files
Dual mono files report a channel count of 2 with each individual channel in its
own SCE, instead of both in a single CPE as is the case with standard stereo.
This commit handles this non default channel configuration scenario.Fixes ticket #1614
Signed-off-by : James Almer <jamrial@gmail.com>
-
How to find Video Codec for file ffmpeg
10 janvier 2023, par iggy12345I'm working with HLS streams of MPEGTS that contains H264.


When I look at the HLS Playlist given by the server, it specifies that the codec is
avc1.77.30,mp4a.40.2


Here's a snippet from the file


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1787760,CODECS="avc1.77.30,mp4a.40.2",RESOLUTION=640x360



Is there a way I can retrieve this information from
ffmpeg
?

I found a question that was asked before How to determine video codec of a file with FFmpeg


But the closest I can seem to get to any of their outputs is
h264
and notavc1.77.30


The playlist contains 7 MPEG-TS files, I've tried using
ffprobe
on both the playlist file, as well as the individual video files, but they both seem to report the parser, not the encoding of the actual video.