
Recherche avancée
Autres articles (60)
-
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 -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (8741)
-
Why can't I set "aspect ratio" by ffmpeg -aspect ? [on hold]
7 août 2014, par yasiI want to generate an h264 (avc) file by a jpg file. I generated it by command :
- ffmpeg -f image2 -i img%d.jpg -vcodec libx264 sample.h264
- mv avatar.h264 sample-320.avc
the img%d.jpg is 0.jpg, 1.jpg, 2.jpg ... 24.jpg, all of which is the same, resolution is 320x180
When sample.avc is generated, I checked information of it by ESEyE, it’s like below.
As you can see, the resolution is correct, but aspect ratio is weird since original jpg sequence is 320x180, whose aspect ratio is 16:9. So, I tried to keep 16:9 by the command below
- ffmpeg -r 25 -f image2 -i img%d.jpg -vcodec libx264 -profile:v baseline -level:v 1.1 -aspect "16:9" sample.h264
However, it doesn’t work, the generated avc aspect ratio is still 5x3.
How can I keep aspect ratio of 16:9 ?
P.S.
I guess h264 miminal block is 16x16, and avc width could be padded as 192 (16 * 12), so aspect ratio is 320:192 = 5:3. -
Retrieve real-time entries of m3u8 file (HLS) creating with ffmpeg
5 janvier 2018, par Amit YadavI am using ffmpeg for the recording of rtsp stream from IP camera by generating m3u8 file with ts chunks. I want real time or only latest entries done by ffmpeg in generated m3u8 file but I didn’t able to get that.
ffmpeg -rtsp_transport tcp -i rtsp://admin:admin@192.168.0.27:80/cam/realmonitor?channel=1&subtype=0 -t 86399 -vcodec copy -force_key_frames expr:gte(t,n_forced*5) -hls_list_size 0 -r 12 -f segment -segment_time 10 -strftime 1 -segment_list_type m3u8 -segment_list /tmp/4/del20180105.m3u8 -segment_format ts -y /tmp/4/%Y%m%d%H%M%S.ts
When I apply tail command on generated m3u8 file like below I am not able to get new entries.
tail -f /tmp/4/del20180105.m3u8
I thought for every new entry ffmpeg is replacing the whole m3u8 file with new entry. How I can get realtime entries of ts file name and duration from ffmpeg generated m3u8 file ?
-
How convert High bitrate mp3 to lower rate using ffmpeg in android
23 mars 2018, par Android TeamWe want to convert 320kbps mp3 file to 128kbps mp3 so currently we are using below ffmpeg command but its not working.
ffmpeg -i input.mp3 -codec:a libmp3lame -qscale:a 5 output.mp3
Result :-the output bitrate same as input mp3.
And we are following the FFmpeg Encoding guideline for that here is the link :- https://trac.ffmpeg.org/wiki/Encode/MP3
so please suggest any solution.