
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (73)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (9096)
-
Android - Choosing between MediaRecorder, MediaCodec and Ffmpeg
26 novembre 2018, par Rohan StarkI am working on a video recording and sharing application for Android. The specifications of the app are as follows :-
- Recording a 10 second (maximum) video from inside the app (not using the device’s camera app)
- No further editing on the video
- Storing the video in a Firebase Cloud Storage (GCS) bucket
- Downloading and playing of the said video by other users
From the research, I did on SO and others sources for this, I have found the following (please correct me if I am wrong) :-
The three options and their respective features are :-
1.Ffmpeg
- Capable of achieving the above goal and has extensive answers and explanations on sites like SO, however
- Increases the APK size by 20-30mb (large library)
- Runs the risk of not working properly on certain 64-bit devices
2.MediaRecorder
- Reliable and supported by most devices
- Will store files in .mp4 format (unless converted to h264)
- Easier for playback (no decoding needed)
- Adds the mp4 and 3gp headers
- Increases latency according to this question
3.MediaCodec
- Low level
- Will require MediaCodec, MediaMuxer, and MediaExtractor
- Output in h264 ( without using MediaMuxer for playback )
- Good for video manipulations (though, not required in my use case)
- Not supported by pre 4.3 (API 18) devices
- More difficult to implement and code (my opinion - please correct me if I am wrong)
- Unavailability of extensive information, tutorials, answers or samples (Bigflake.com being the only exception)
After spending days on this, I still can’t figure out which approach suits my particular use case. Please elaborate on what I should do for my application. If there’s a completely different approach, then I am open to that as well.
My biggest criteria are that the video encoding process be as efficient as possible and the video to be stored in the cloud should have the lowest possible space usage without compromising on the video quality.
Also, I’d be grateful if you could suggest the appropriate format for saving and distributing the video in Firebase Storage, and point me to tutorials or samples of your suggested approach.
Thank you in advance ! And sorry for the long read.
-
Android - Choosing between MediaRecorder, MediaCodec and Ffmpeg
15 mars 2017, par Rohan StarkI am working on a video recording and sharing application for Android. The specifications of the app are as follows :-
- Recording a 10 second (maximum) video from inside the app (not using the device’s camera app)
- No further editing on the video
- Storing the video in a Firebase Cloud Storage (GCS) bucket
- Downloading and playing of the said video by other users
From the research, I did on SO and others sources for this, I have found the following (please correct me if I am wrong) :-
The three options and their respective features are :-
1.Ffmpeg
- Capable of achieving the above goal and has extensive answers and explanations on sites like SO, however
- Increases the APK size by 20-30mb (large library)
- Runs the risk of not working properly on certain 64-bit devices
2.MediaRecorder
- Reliable and supported by most devices
- Will store files in .mp4 format (unless converted to h264)
- Easier for playback (no decoding needed)
- Adds the mp4 and 3gp headers
- Increases latency according to this question
3.MediaCodec
- Low level
- Will require MediaCodec, MediaMuxer, and MediaExtractor
- Output in h264 ( without using MediaMuxer for playback )
- Good for video manipulations (though, not required in my use case)
- Not supported by pre 4.3 (API 18) devices
- More difficult to implement and code (my opinion - please correct me if I am wrong)
- Unavailability of extensive information, tutorials, answers or samples (Bigflake.com being the only exception)
After spending days on this, I still can’t figure out which approach suits my particular use case. Please elaborate on what I should do for my application. If there’s a completely different approach, then I am open to that as well.
My biggest criteria are that the video encoding process be as efficient as possible and the video to be stored in the cloud should have the lowest possible space usage without compromising on the video quality.
Also, I’d be grateful if you could suggest the appropriate format for saving and distributing the video in Firebase Storage, and point me to tutorials or samples of your suggested approach.
Thank you in advance ! And sorry for the long read.
-
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 !