
Recherche avancée
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...)
Sur d’autres sites (12291)
-
Capture video using FFMPEG without frozen image effect
27 juillet 2020, par NehemiaAnyone could help me ? Have been trying to record video from an RTSP server using FFMPEG but somehow the video result has many frozen images (couldn't be used for any people detection) - the people look similar to this :




Here is the code I used :





ffmpeg -i rtsp ://10.10.10.10/encoder1 -b:v 1024k -s 640x480 -an -t 60 -r 12.5 output.mp4





What I have done so far ?
- Recorded the video in smaller dimension instead of original one
- No audio and lower FPS
- Even only record from two IP sources on a machine



But still didn't get any luck yet. Anyone ever experience this ?


-
YUV values for a given macroblock in an AVFrame
10 avril 2019, par EnockI am trying to find the pixels value for a given macroblock in a frame.
What I did is the following ://for all macroblock in this frame
mb_height and mb_width are the number of macroblock horizontally and
vertically in the frame
for(int mby=0; mby/Now for this 16x16 macroblock
16 is the dimension of the macroblock (16x16 macroblock)
for(int y=0; y<16;y++)
{
for(int x=0; x<16;x++)
{
//All pixels YUV value for this macroblock
y = data[0][linesize[0]*y+x];
u = data[1][linesize[1]*(y/2)+x/2]
v = data[2][linesize[2]*(y/2)+x/2]
}
}
#Let's go to an other macroblock
}
}The problem is that for all macroblocks, I have the same
Y
,u
andv
value. That’s is true because I only use the same width and height for every macroblock.
My question is to know how can I put difference in the above code to find pixels yuv value for each macroblock in this frame.Perhaps I must use macroblock’s coordinate (MBX, MBY) or associated motion vector’s coordinate(mvx, mvy) to have this difference but I don’t know how to do so. The mbx and mby in the above loop are not mocroblock’s coordinate but integers for the loop.
I need your help, please. -
PHP FFMPEG - Convert .mov to .mp4 (H264)
5 novembre 2019, par AlexI’ve recently installed the PHP-FFMpeg lib on a server and used the following tutorial :
https://github.com/PHP-FFMpeg/PHP-FFMpegI managed to convert a .mov video (uploaded through a mobile device) to webm and ogg but when encoding to mp4 I always get an "Encoding Failed" message from the error object (in a try catch).
This is the code I’m using after instantiating FFMPEG
$video->filters()->resize(new FFMpeg\Coordinate\Dimension(756, 461), $mode = RESIZEMODE_SCALE_WIDTH)->synchronize();
$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))->save('sites/default/files/videos/thumbnails/'.$filename.'.jpg');
$video->save(new FFMpeg\Format\Video\Ogg(), 'sites/default/files/videos/'.$filename.'.ogg')
->save(new FFMpeg\Format\Video\X264(), 'sites/default/files/videos/'.$filename.'.mp4')
->save(new FFMpeg\Format\Video\WebM(), 'sites/default/files/videos/'.$filename.'.webm');Thanks for your help !