Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (75)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10338)

  • docker service create : How to deal with custom or unknown parameter needed by linuxserver/ffmpeg image ?

    24 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 !

    


  • Error and understanding issue : using ffmpeg to real time publish FLV file to Red5 and real time download FLV from Red5

    29 août 2014, par kajarigd

    OS : Windows 8, RTMP Server : Red5, Video File format : FLV, I want to : Read/Write FLV from and to Red5 by live streaming.

    To publish FLV file from local I am using this command at Command Line :

    ffmpeg -re -i input.flv -acodec copy -vcodec copy -f flv rtmp://ocalhost/oflaDemo/streams

    My understanding : This command will upload input.flv to the server location C :\Program Files\red5\webapps\oflaDemo\streams. So, after the command is done running, I expect in this server location a new file input.flv will be created. Is this correct ?

    When I am running this command I am getting the following error and no file is getting created on the server side :

    [flv @ 03c6a660] Failed to update header with correct duration.
    [flv @ 03c6a660] Failed to update header with correct filesize.
    frame= 1567 fps= 24 q=-1.0 Lsize=    3064kB time=00:01:05.43 bitrate= 383.6kbits
    /s
    video:2232kB audio:767kB subtitle:0kB other streams:0kB global headers:0kB muxin
    g overhead: 2.183349%

    Can you help me understand what I am doing wrong ? What should be correct command in this case to achieve what I want ?

    Now, I am using the following command to livestream read a FLV file from the server into my local :

    ffmpeg -re -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv -c copy dump.flv

    My understanding : File hobbit_vp6.flv will be downloaded into my local directory and will get saved as dump.flv. And this will be live streaming. This will be like, recording a video stream from the server. Is this correct ?

    When I am running this command I am getting the following error and no file is getting created on the local :

    Closing connection: NetStream.Play.StreamNotFound rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv: Unknown error occurred

    Can you help me understand what I am doing wrong ? What should be correct command in this case to achieve what I want ?

  • (FFmpeg) VP9 Vaapi encoding to a .mp4 or .webm container from given official ffmpeg example

    13 mai 2021, par User800222

    I'm trying to implement vp9 hardware acceleration encoding process. I followed ffmpeg offical github's example (Here -> vaapi_encode.c).

    



    But given example only save a .yuv file to .h264 file, I would like to save the frames to either .mp4 or .webm container. And having the ability to control the quality, and etc.

    



    I'm not reading frames from a file, I'm collecting frames from a live feed. When having full 5 secs of frames from the live feed, encode those frames using vp9_vaapi to a 5 secs .mp4 file.

    



    I'm able to save all the 5 secs frames from my live feed to a .mp4 or .webm file, but they couldn't be played correctly (more precisely : keep loading, and I open).

    



    The result from the official site's example :

    



    enter image description here

    



    The cpu encoded vp9 .mp4 file result :

    



    enter image description here

    



    Edit :
Result
enter image description here