
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (57)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (5193)
-
FFMPEG installation & configuration with xampp on fedora
10 octobre 2013, par UMII have running Fedora 8, where I have installed XAMPP-Linux. First I installed latest version with Xampp-Linux-1.8.3 including PHP 5.5 from "http://www.apachefriends.org/en/xampp-linux.html".
After setting up everything, tried to install "FFMPEG" from "http://www.nixgurus.com/fedora/installing-ffmpeg-using-yum-on-centos-redhat-fedora/". This is the only guide which gets completed with successful installation and configuration, otherwise all other tried tutorials got leave me middle of nowhere.
Note : While installing FFMPEG following above provided URL, "phpize" did not work to me so I had to install php-devel by running "yum install php-devel" command. I always got different "Zend Module" and "Zend Extension API" versions.
When I installed ffmpeg and put extension in "php.ini" with correct path, it never appeared in phpinfo().
Then after searching, I got a hint that installed "FFMPEG" will not be compatible to the installed PHP version. So I removed complete pack of XAMMP-LINUX and installed old one with Xampp-Linux-1.8.2 including PHP 5.4. But it result were same.
Then, I decided to use more older version and it was Xampp-Linux-1.8.1 including PHP 5.4. Now currently I have this version but having version results are totally changed that after installation of FFMPEG when I put ffmpeg.so with its correct path in PHP.INI (definitely restart the server on every change) server behaves strange way that PHP files get downloaded by browsers and when I comment same line and restart web server everything works well.
Just to let you know that, even I have given path "extension=/usr/lib/php/modules/ffmpeg.so" which did not work and even moved files to default extension path "/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525" as well but in vain.
Looking forward to your help please.
-
Extract frames from a video results in abnormaly more frames for each fps by using ffmpeg
15 juin 2021, par alanzzzI have a job of using ffmpeg to extract the frames averagely from a video, with different fps. I use this command for it.


ffmpeg -i input.mp4 -r specified_fps -q:v 2 image %4d.png


And I have 3 questions about this task.


- 

- What I expect is that if I double the fps, the number of extracted frames will also get doubled. However, that's not the case. Take one of the input videos as an example. I get 2 extra frames for all the sample factors (80 / 158 / 236 / 392 v.s. 78 / 156 / 234 / 390). Does it related to the mechanism of picking/dropping frames when extracting frames from a video? (credit to @Tom Yan)




video info


- 

- Duration : 1min18s
- Frame rate mode : constant (CFR)
- Frame rate : 30.0 FPS
- Total number of frames : 2340










Config setting & results







 FPS 

Actual num of frames 

correct num of frames 







 1 

80 

78 




 2 

158 

156 




 3 

236 

234 




 5 

392 

390 









- 

-
I check for the output images, the extracted frames for different fps are totally different from each other. In other words, for example, the 1st image for fps=1 is not the same as the 1st image for fps=2. Is that legitimate ? And is it possible for me the get some identical images for different fps ?


-
The last problem is that for some videos I use, the difference between the 1st and 2nd image is different from the difference between the 2nd and 3rd. While for the remaining images, the differences become average. To be specific, there is only a slight change from 1st to 2nd frame, while for 2nd to 3rd, 3rd to 4th, and so on, the changes are the same, which is normally distributed according to the specified FPS. I am wondering why such a case happens ? Does it relate to the I-frame, B-frame, P-frame, GOP, or IDR ?








I am new to this field and cannot find some useful info from other places. I've tried my best to describe my questions clearly. Feel free to leave some comments. Any help would do me a great favor. Thanks in advance !


-
Error while decoding camera stream video frame using FFMpeg iOS
30 novembre 2015, par Irfan GulI have an app, In which I am decoding video frames coming from ip camera, but the method
avcodec_decode_video2(m_pCodecCtx, m_pFrame, &consumed_bytes, &avpkt);
present inavcodec.h
generating bad_access, I can’t figure out what is wrong.This app was working fine with old libraries FFMpeg, but by apple policy, in order to publish app it support arm64, so I updated my libraries to support arm64 and after that this issue occurred.
Here is the screenshot
While bad_access app is generating the following log :
[h264 @ 0x1071400] sps_id 12 out of range
[h264 @ 0x1071400] pps_id 417 out of range
[h264 @ 0x1071400] sps_id 3 out of range
[h264 @ 0x1071400] sps_id 32 out of range
[h264 @ 0x1071400] sps_id 6 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 32 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 3 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 32 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 32 out of range
[h264 @ 0x1071400] sps_id 3 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] pps_id 418 out of range
[h264 @ 0x1071400] Partitioned H.264 support is incomplete
[h264 @ 0x1071400] sps_id 6 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 1 out of range
[h264 @ 0x1071400] non-existing PPS 3 referenced
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] slice type 10 too large at 0 0
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] non-existing PPS 2 referenced
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] slice type 29 too large at 0 0
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] sps_id 2 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] sps_id 0 out of range
[h264 @ 0x1071400] slice type 32 too large at 0 0
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] slice type 32 too large at 0 0
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] slice type 32 too large at 0 0
[h264 @ 0x1071400] decode_slice_header error
[h264 @ 0x1071400] slice type 32 too large at 0 0Complete error log : https://drive.google.com/file/d/0B-Nh7ci6wLX0OVlxaXV4aGpJems/view?usp=sharing
Crash Log : http://crashes.to/s/6765d63b540
Note : If you need any thing else, please comment.