Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (68)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (5716)

  • How to pass custom parameters when creating docker swarm service ?

    31 mai 2022, par Mike

    I am new to docker and docker swarm and started dockerizing several services and am trying to get them running as docker swarm services. I ran into a road block with the linuxserver/ffmpeg image :

    


      

    1. it uses a —device parameter which is not implemented in create service
    2. 


    3. it expects several custom parameters to pass them to the ffmpeg encoder
    4. 


    


    From my research up to now I assume that passing parameters is not implemented in docker create service, but maybe you can think of a workaround ? (unfortunately the image does not process environment variables, or at least they are not documented)

    


    This is how I start dockerized ffmpeg (working fine in standalone mode) :

    


    docker run -d /
    
—network="host" /
    
—device=/dev/video0 :/dev/video0 / ### error : unknow flag
    
—name ffmpeg_streamer /
    
—restart always -it /
    
-v $(pwd)/video :/video /
    
linuxserver/ffmpeg / ### custom parameters below here
    
-stream_loop /
    
-1 -re -nostdin /
    
-i "/video/test.avi" /
    
-f pulse /
    
-vcodec libx264 /
    
-preset:v veryfast /
    
-b:v 400k /
    
-f flv rtmp ://localhost:1935/live/streamkey

    


    Many thanks for looking into this !

    


  • How to avoid ffmpeg failing to add chapters to mov file ?

    27 septembre 2022, par BabaG

    I've been trying all day to get ffmpeg to add chapters to a prores mov file. It does add the first two, but then it fails with the name of the text file and an error message :

    


    chapterstest_orig.txt: Invalid data found when processing input


    


    I see lots of online references to the format of both the ffmpeg command, as well as the text file containing the chapter metadata. Here are mine :

    


    ffmpeg -i chapterstest_orig.mov -i chapterstest_orig.txt -map_metadata 1 -codec copy chapterstest.mov


    


    i've also tried it with -map_chapters :

    


    ffmpeg -i chapterstest_orig.mov -i chapterstest_orig.txt -map_metadata 1 -map_chapters 1 -codec copy chapterstest.mov


    


    Here's a copy of my text file, containing the chapter info :

    


    ;FFMETADATA1
title=Angel's Gate Cultural Center
artist=Buzzworld

[CHAPTER]
TIMEBASE=1/1000
START=0
END=6999
title=Buzzworld 10-10-1997

[CHAPTER]
TIMEBASE=1/1000
START=7000
END=290999
title=The Road To Lisdoonvarna

[CHAPTER]
TIMEBASE=1/1000
START=291000
END=739999
title=Jack Orion

[CHAPTER]
TIMEBASE=1/1000
START=740000
END=992999
title=The Frieze Britches

[CHAPTER]
TIMEBASE=1/1000
START=993000
END=1295999
title=The Blackleg Miner

[CHAPTER]
TIMEBASE=1/1000
START=1296000
END=1559999
title=Johnny Jump Up

[CHAPTER]
TIMEBASE=1/1000
START=1560000
END=1867999
title=Tom Billy's

[CHAPTER]
TIMEBASE=1/1000
START=1868000
END=2143999
title=When Will We Be Married?

[CHAPTER]
TIMEBASE=1/1000
START=2144000
END=2500999
title=The Old Bush

[CHAPTER]
TIMEBASE=1/1000
START=2501000
END=2839000
title=Niamh's Capers


    


    If I delete everything after the second chapter, the file processes. It always fails if I add more chapters.

    


    I've also tried using things like :

    


    -map 0:v -map 0:a -map 0:s


    


    Any help is much appreciated. I'm kind of at my wits end here.

    


    Thanks.

    


  • Using hwaccel ffmpeg option with moviepy library

    12 octobre 2022, par Nicola Lepetit

    I am trying to add the hwaccel option of ffmpeg to a script I am working on in Python, based on the moviepy library, by passing the options via the ffmpeg_params parameter :

    


    from moviepy.editor import VideoFileClip

ASSETS_FOLDER = "./assets/backgrounds/road/"
video_file_name = "12386.mp4"
start_time = 5
end_time = 20
target_file = "output.mp4"

video = VideoFileClip(f"{ASSETS_FOLDER}{video_file_name}")
new = video.subclip(start_time, end_time)
new.fps = 25
new.write_videofile(target_file, ffmpeg_params= ['-hwaccel','cuda'])


    


    The problem is that these ffmpeg_params are added at the end of the ffmpeg command line, so I am getting the following error :

    


    [Errno 22] Invalid argument

MoviePy error: FFMPEG encountered the following error while writing file 
   ./assets/temp/3/cut1.mp4:

 b'Option hwaccel (use HW accelerated decoding) cannot be applied to output url 
  ./assets/temp/3/cut1.mp4 -- you are trying to apply an input option to an output file
  or vice versa. Move this option before the file it belongs to.\r\nError parsing
  options for output file ./assets/temp/3/cut1.mp4.\r\nError opening output files:
  Invalid argument\r\n'


    


    Is there another way to use the option with moviepy