Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (4503)

  • openCV - ffmpeg H264 and Webm error

    9 avril 2020, par Karthikaeyan

    I have ubuntu 16.04 LTS and OpenCV 3.4.0 Installed(Intel i5 and AMD graphics card), I need to create a browser supported video, which is playable in browser.

    



    If I'm using H264 im getting

    



    OpenCV: FFMPEG: tag 0x34363248/'H264' is not supported with codec id 27 and format 'mp4 / MP4 (MPEG-4 Part 14)' OpenCV: FFMPEG: fallback to use tag 0x31637661/'avc1' [h264_nvenc @ 0x7f4e0407f5e0] Cannot load libcuda.so.1 Could not open codec 'h264_nvenc': Unspecified error


    



    if I'm using webm VP8

    



    OpenCV: FFMPEG: tag 0x30385056/'VP80' is not supported with codec id 139 and format 'webm / WebM'


    



    if I'm using webm VP9

    



    OpenCV: FFMPEG: tag 0x30395056/'VP90' is not supported with codec id 167 and format 'webm / WebM'


    



    I'm using this code for conversion.

    



        fourcc = cv2.VideoWriter_fourcc(*'VP80')
    frame = cv2.imread(movements[0].file_path)
    height, width, _ = frame.shape
    event_video_name = video.file_name.split('.')[0] + '_eventvideo.webm'
    event_video = cv2.VideoWriter(path + event_video_name, fourcc, 5, (width, height))

    for _, image in enumerate(movements):
        image = Image.objects.get(id=image.id)
        frame = cv2.imread(image.file_path)
        event_video.write(frame)
    event_video.release()


    


  • how to use ffmpeg with gpu support on macos

    26 décembre 2023, par Soroush Tayyebi

    When 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.