
Recherche avancée
Autres articles (38)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 ;
Sur d’autres sites (6257)
-
how to use ffmpeg with gpu support on macos
26 décembre 2023, par Soroush TayyebiWhen I exec ffmpeg command, it use my CPU to render videos, it take long time to do this job, how i can force ffmpeg use my GPU to render ?


I have a macOS with AMD Radeon R9 M370X 2048 MB Graphic card. What I must install and what command i must use for this work ?


I use this commands when my script run :


$source_decoder = "ffmpeg -i $film_aval_source -vf drawtext=\"text_shaping=1:fontfile=$font_source:
 text='$esme_film': fontcolor=black: fontsize=$font_size: box=1: boxcolor=black@0:
 boxborderw=0: x=(w-text_w)/2: y=(h-text_h)/2 :enable='between(t,5,10)'\" -c:a copy -force_key_frames 0:05:00,0:6:00 $film_aval_dest";

$source_decoder = "ffmpeg -i $film_aval_source -i ".$path."/Data.jpg -filter_complex '[0:v][1:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable=between(t\,5\,10)' -codec:a copy $film_aval_dest";

$convert1 = "ffmpeg -i $film_aval_dest -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra ".$path."output1.ts";

$convert_logo = "ffmpeg -i $path_tmp -i ".$main_path."/data/logo.png -filter_complex 'overlay=4:4' -codec:a copy $path_tmp2";

$convert2 = "ffmpeg -i $path_tmp2 -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra ".$path."output2.ts";
$merge = "ffmpeg -i 'concat:".$path."output1.ts|".$path."output2.ts' -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra ".$path."output_new.ts";
$convert3 = "ffmpeg -i ".$path."output_new.ts -acodec aac -vcodec copy ".$path."video_out2.mp4";



thanks


-
How use FFMPEG multi GPU proccess
31 janvier 2021, par R.A.M
I have a problem and cant find any suitable answer for it.

Its about use multi GPU proccess.

I have 3 graphic card and you could see it :
[![enter image description here][1]][1]

if image not loaded use this image link : https://i.stack.imgur.com/msR83.jpg enter link description here



My problem is : when i run more than one ffmpeg command with cuda all process assigned to first GPU.

like below image :
[![enter image description here][2]][2]

if image not loaded use this image link : https://i.stack.imgur.com/PfYfz.jpg


you see ? all 6 proccess assigned to first GPU.

I really confused how could i fix it.



my FFMPEG code is :

ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i my-video.mp4 \
 -vf scale_npp=w=426:h=240 -c:v h264_nvenc -profile:v main -b:v 400k -sc_threshold 0 -g 25 \
 -c:a aac -b:a 64k -ar 48000 \
 -f hls -hls_time 6 -hls_playlist_type vod \
 -hls_allow_cache 1 -hls_key_info_file encription.keyinfo \
 -hls_segment_filename f-0-seg-%d.ts f-0.m3u8



i run top FFMPEG code for 6 diffrent video at same time.

please help to find answer. by sharing your knowledge or some links that could help me.

Thanks a lot.

-
Play mpeg-2 file with 608/708 embedded captions out Decklink SDI
29 octobre 2022, par asperiI have built ffmpeg with decklink support, it plays my mpg file fine out the SDI but not seeing any captions on my works broadcast monitor (JVC DT-V17G1Z). This monitor shows captions on SDI from my Mojito card but trying to get it to work with a BlackMagic 4k extreme. The mpg file has embedded 608 and 708 captions. Using the to play-


ffmpeg -i C:\video\RD2838_720p.mpg -f decklink -pix_fmt uyvy422 "DeckLink 4K Extreme"



MediaInfo on captinos :


Text #1



ID : 4096 (0x1000)-CC1
Menu ID : 1 (0x1)
Format : EIA-608
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 28 min 30 s
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
Language : English
CaptionServiceName : CC1


Text #2
ID : 4096 (0x1000)-1
Menu ID : 1 (0x1)
Format : EIA-708
Muxing mode : A/53 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 28 min 30 s
Bit rate mode : Constant
Stream size : 0.00 Byte (0%)
Language : English


How do I get the Decklink 4k to pass the captions ? Thanks !