
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (41)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...)
Sur d’autres sites (11859)
-
how to increase bitrates of video which has been created through FFMPEG library in PHP ? [closed]
1er octobre 2020, par Raindrops Info-techIts an android application, where we are capturing image through mobile along with audio which then on server side, by using FFMPEG library we used to club them and making them MP4 Video.


So as can see as a final result we are getting mp4 video having bitrates of less than 144 kbps so whenever we are trying to upload this video on twitter or LinkedIn, they guys are refused to create preview because of the smaller bitrate.


Do we have any solution on how to increase Bit rates, actually we have one image along with 60 seconds audio only ? We had explored certain ways but fails to do so.


Looking forward to your kind response.


-
Concatenate audio parts of different videos with ffmpeg [migrated]
15 août 2024, par SwikeSo I have two videos :


- 

Vid_eng.mkv
is a high resolution video that has the audio in English.Vid_esp.mkv
is a low resolution video that has the audio in Spanish.






Both videos are showing more or less the same stuff but the difference is that the Spanish one has the intro and outro cut out (the first 66 seconds are missing).


I want to create a new video file,
Vid_out.mkv
that has theVid_eng.mkv
video and both audios (so the final file has multistream audio). The issue is that the Spanish audio will not be in sync with the high resolution video, so what I did was this :

ffmpeg -i Vid_eng.mkv
 -f lavfi -t 66 -i anullsrc -i Vid_esp.mkv
 -filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
 -map 0 -map "[outa]"
 -metadata:s:a:0 language=eng
 -metadata:s:a:1 language=spa
 -disposition:a:1 default
 -c:v copy Vid_out.mkv



What I'm doing here is essentially creating the new
Vid_out.mkv
using the video fromVid_eng.mkv
, the audio multistream from bothVid_eng.mkv
andVid_esp.mkv
, but with the twist that the audio fromVid_esp.mkv
is actually beginning 66 seconds later (so that it is synced with the English video). I did this by adding 66 seconds of silence (with-f lavfi -t 66 -i anullsrc
) and concatenating that silence with the Spanish audio (with-filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
) before adding this concatenated audio stream to the final file as the secondary audio. Also I included some metadata to know the which audio is which.

Everything good for the moment. But now I wanted to try something more sophisticated : instead of having 66 seconds of silence concatenated to the Spanish audio I want 66 seconds of the English audio (the audio from
Vid_eng.mkv
), then the audio fromVid_esp.mkv
, and finally when the Spanish audio has finished and the video is still going, I want the English audio again. So, instead of silence at the beginning and end of the video when played with the secondary audio stream, what I want is the English audio to play. How can I do that with ffmpeg ?


For reference I've been following ideas from these answers :


- 

- How to add audios from different videos into one multistream video
- How to add a few seconds of silence to an audio






-
FFMPEG doesn't decode the first few frames with multithreaded decoding. C++
12 octobre 2022, par Patrick McKeeverSo to get better decoding speeds, I'm setting


av_stream->codec->thread_count = 32;
av_stream->codec->thread_type = FF_THREAD_FRAME;



This greatly improves decoding time, but seems to lose some frames (equaling the amount of threads I set)


For the first 32 or so frames, av_readframe(), and avcodec_send_packet() succeed, but avcodec_recieve_frame() seems to fail.


This seems to result in the last 31 frames to not be decoded, as my loop exits once avcodec_send_packet() fails.


Anyone know how I can get the final frames to also be decoded ? I read something about flushing the buffers, but I'm not really sure how to do that.


Thanks.