
Recherche avancée
Autres articles (64)
-
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
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 (4940)
-
How to add a subtitle to an HLS playlist using FFmpeg ?
24 mai 2021, par AradI have a video (
video.mp4
) and a subtitle file (subtitle.srt
).

I'm trying to use FFmpeg to generate a VoD HLS playlist with 3 different resolutions for the video ; and I also want the subtitle file to turn into segmented
.vtt
files.

I've tried the following command, but it doesn't work, it gives me a "Conversion failed !" message without any further information :


ffmpeg -i video.mp4 -i subtitle.srt \
-preset slow -g 60 -sc_threshold 0 \
-map 0 -map 0 -map 0 -map 1 \
-s:v:0 640x360 -c:v:0 h264 -b:v:0 500k \
-s:v:1 854x480 -c:v:1 h264 -b:v:1 1000k \
-s:v:2 1280x720 -c:v:2 h264 -b:v:2 2000K \
-c:a copy -c:s webvtt \
-f hls -hls_playlist_type vod -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" \
-master_pl_name master.m3u8 -hls_time 6 -hls_list_size 0 -hls_allow_cache 1 -start_number 1 \
-hls_segment_filename "output/hls/%v/seg-%d.ts" output/hls/%v/index.m3u8



I'm struggling to find any useful information in FFmpeg docs or anywhere else regarding how subtitles can be added to an HLS playlist. What should the command be like exactly ? What am I missing in mine ?


-
Live Streaming WebM with Wowza Server
2 décembre 2010, par noreply@blogger.com (John Luther)Guest blogger Charlie Good is CTO and co-founder of Wowza Media Systems
As a company, we at Wowza move fast and like to tinker. When WebM was announced in May, we saw it as a promising new approach to HTML5 video and decided to do an experiment with live WebM streaming over http.
Adding WebM VP8 video and Vorbis audio to the other encoding formats that our server supported was easy (we designed the Wowza server to be codec-agnostic). We then created a WebMfile and implemented WebM HTTP streaming.
We originally created the demo as a proof-of-concept for the IBC show in September, 2010 but have made it available to watch on our web site.
The file is streamed live (more precisely, "pseudo-live") over http using the Wowza server-side publishing API (PDF). The result is very impressive ; playback starts fast and the VP8 image quality is fantastic.
You will need a WebM-enabled browser or VLC media player 1.1.5 to view the live stream.
If you’re interested in keeping up with Wowza’s WebM progress, visit Wowza Labs or drop us a note at info@wowzamedia.com.
-
how to scale video using ffmpeg with -filter_complex
7 juillet 2020, par JuraganFilmim trying to encode my video with watermark and subtitles , i and i have this codes that work for watermark and subtitles


ffmpeg -hide_banner -i $video -i $TITLE.ass -loop 1 -i $WATERMARK -loop 1 -i $LOGO -filter_complex "[${videomap}]drawtext=text='${TEXT}':fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf:y=h-line_h-100:x=w-(t-${MARQUE})*w/15:y='10':enable='lt(mod(t\,1000)\,100)':fontcolor=orange:fontsize=${FONT}:shadowx=${SHADOWX}:shadowy=${SHADOWY},ass=$TITLE.ass[FID1];[FID1][2:v]overlay=10:${WATERMARKPOSITION}:repeatlast=0:enable='between(t,300,600)'[FID3];[3:v]fade=in:st=1200:d=1.6:alpha=1,fade=out:st=107998:d=1.6:alpha=1[FID6];[FID3][FID6]overlay=10:5:repeatlast=0:enable='between(t,1200,187922)'" -c:v libx264 -x264-params "no-deblock=0:ref=2:weightp=2:chroma_qp_offset=0:keyint=50:keyint_min=5:bframes=3:b_pyramid=1:b-adapt=2:subme=7:b_bias=0:direct=1:weightb=1:open_gop=0:scenecut=40::threads=7:lookahead_threads=1" -b:v 500k -minrate 500k -maxrate 600k -bufsize 1200k -pix_fmt yuv420p -preset ultrafast -profile:v baseline -level:v 3.0 -c:a copy -vf "scale=trunc(oh*a/2)*2:480:flags=bicubic" -use_editlist 0 -movflags faststart -metadata title="${INFOVID} - Visit us @ ${WEBSITE}" -strict -2 -f mp4 -y "${output}/$TITLE-480p.mp4"



and now im trying to scale the video to 480p quality , i've tried using


-vf "scale=trunc(oh*a/2)*2:480"



and also add :flags=bicubic but still i got error .


how to scale video with -filter_complex from those code above ?


thank you before !