
Recherche avancée
Autres articles (86)
-
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 (...) -
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 (...) -
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 : (...)
Sur d’autres sites (8494)
-
v4l2 : setting device parameters early
2 janvier 2014, par Federico Simoncelliv4l2 : setting device parameters early
Setting the v4l2 device parameters may influence video properties
such as width, height and pixel format.
This patch moves v4l2_set_parameters to be executed before fetching
the video properties, avoiding errors such as (pal vs ntsc) :The v4l2 frame is 829440 bytes, but 691200 bytes are expected
Signed-off-by : Federico Simoncelli <fsimonce@redhat.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
OS X Mavericks broken OpenCV VideoCapture frame numbers ?
20 novembre 2013, par MattPFresh install of Mavericks, managed to install ffmpeg via homebrew and compile the latest OpenCV at time of writing. My code is written in Python (though this shouldn't affect this issue) and basically navigates a video file using the
VideoCapture
class with the properties set frame position and get current position.The issue is, on prior versions of OS X, various Linux and Windows boxes, this works without issue. Each frame number is of the format i.0, where i is the current frame number (why it is a float anyway is confusing, alas it's how OpenCV gives it back). However, on this setup I get frame progressions like :
0.0 -> 1.3972597329753 -> 2.999999999 -> 3.9999999 -> 5.0 -> 6.252323552
This makes using the properties for getting / setting the current frame position impossible and, as one would imagine, causes the automated playback thereof to fail. I can only assume ffmpeg is reporting things odd such that OpenCV is incorrectly calculating frames, but have been unable to rectify this.
Has anyone any insight into the problem, and/or possible solution ? Thanks.
-
Not able to make video from images using ffmpeg [migrated]
18 novembre 2013, par HickThis is my log while making images from ffmpeg :
Incompatible pixel format 'yuvj420p' for codec 'mpeg4', auto-selecting format 'yuv420p'
[buffer @ 0x9e4f20] w:532 h:800 pixfmt:yuvj420p
[avsink @ 0x9f6240] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0xa86ac0] w:532 h:800 fmt:yuvj420p -> w:532 h:800 fmt:yuv420p flags:0x4
Output #0, mp4, to 'output2.mp4':
Metadata:
encoder : Lavf53.21.1
Stream #0.0: Video: mpeg4, yuv420p, 532x800 [PAR 1:1 DAR 133:200], q=2-31, 200 kb/s, 32 tbn, 32 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
[buffer @ 0x9e4f20] Changing frame properties on the fly is not supported.
Last message repeated 43 times
frame= 1 fps= 0 q=1.0 Lsize= 58kB time=0.03 bitrate=15312.1kbits/s
video:58kB audio:0kB global headers:0kB muxing overhead 1.321295%This is the command I ran :
ffmpeg -r 32 -qscale 1 -i %05d.morph.jpg output2.mp4
The output2.mp4 file barely works, as it shows only one image, and lasts for a meagre one second.
Where am I going wrong ?