
Recherche avancée
Autres articles (5)
-
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (3055)
-
how can i use for/loop in FFMPEG
10 octobre 2022, par Mohammed Hamdanto merge single image in top of video i use


String imagePath = '/storage/emulated/0/DCIM/Camera/IMG_20221010_002819.jpg';
 String videoPath = '/storage/emulated/0/DCIM/Camera/VID_20221010_002833.mp4';
 String outPutPath = '/storage/emulated/0/DCIM/Camera/output.mp4';

 String comand = '-y -i $videoPath -i $imagePath -filter_complex "[1:v]scale=600:600[ovrl];[0:v][ovrl]overlay=200:200" $outPutPath';



question what if i have list of images with unknown length ?


List imagesList = ['url1','url2','url3',etc....]



does ffmpeg support for/loop ?
if yes how could i use
myimagesList
into my previous command ?

-
Output FFMPEG segments to GCS
28 janvier 2019, par TerrabyteIm trying to output an ffmpeg hls stream to google cloud storage after each segment is created or at least after the entire encoding is done. Doesn anyone know how to accomplish this ?
This is what i have in my bash script :
$FFMPEG -hide_banner -i "$infile" \
$PASSVAR \
-y \
-codec:v "$VIDEO_CODEC" \
-codec:a "$AUDIO_CODEC" \
-threads "$NUMTHREADS" \
-map 0:v \
-map 0:a \
-flags \
-global_header \
-f segment \
-segment_list "$playlist_name" \
-segment_time "$SEGLENGTH" \
-segment_format mpeg_ts \
-g "$key_frames_interval" \
-keyint_min "$key_frames_interval" \
$resolution \
$bitrate \
$FFMPEG_ADDITIONAL \
$FFMPEG_FLAGS \
"$OUTPUT_DIRECTORY/$output_name" | gsutil -m mv "$OUTPUT_DIRECTORY/$output_name" gs://bucket-vod-example
}does anyone know how to output the files to gsutls as it’s being encoded ? I can make the output the mounted storage point of google cloud storage but encoding directly to it is extremely slow so if possible is there way to encode locally then transfer as it’s being encoded ?
-
FFmpeg converting two videos with dynamic frame rates - dup/drop frames
18 décembre 2017, par MathoI have problems with converting two videos using ffmpeg. Those videos have dynamic frame rate. I’m using this ffmpeg command :
ffmpeg -y -i /storage/emulated/0/Movies/RMR/RMR_camera_2017-10-04-20-42-56.mp4 -i /storage/emulated/0/Movies/RMR/RMR_screen_2017-10-04-20-42-56.mp4 -strict experimental -preset ultrafast -filter_complex [0]scale=iw/4:ih/4[pip];[pip]transpose=2[rotate];[1][rotate]overlay=main_w-overlay_w-30:main_h-overlay_h-10 -profile:v main -level 3.1 -ar 44100 -b:a 160k -crf 20 -s 720x1280 -vcodec h264 -vsync 2 -acodec aac -movflags +faststart /storage/emulated/0/Movies/RMR/out.mp4
I’m using -vsync to drop duplicated frames. This is not good enough, video is with freezing frames. How can I prevent freezing ?