Recherche avancée

Médias (91)

Autres articles (85)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (7147)

  • fluent-ffmpeg ffmpeg exited with code 1 : Unknown decoder 'h264_nvenc'

    3 juillet 2022, par zzzhim
          import { ipcMain } from "electron"
      import fluentFfmpeg from "fluent-ffmpeg"
      import ffmpegStaticElectron from "ffmpeg-static-electron"
      import ffprobeStaticElectron from "ffprobe-static-electron"

      const ffmpeg = fluentFfmpeg()
      ffmpeg.setFfmpegPath(ffmpegStaticElectron.path)
      ffmpeg.setFfprobePath(ffprobeStaticElectron.path)

      ffmpeg
        .input('0.mp4')
        .inputOption([
          "-hwaccel cuvid",
          // "-hwaccel_device 1",
          "-c:v h264_cuvid",
          "-c:v h264_nvenc",
        ])
        // .videoCodec("h264_nvenc")
        .outputOptions([
          '-map 0',
          '-f hls',
          '-hls_time 5',
          '-segment_time 5',
          '-hls_list_size 0',
          '-hls_segment_filename',
          `${tsFilePath}/%d.ts`
        ])
        .output(`${m3u8FilePath}/${name}.m3u8`)
        .on('start', (commandLine) => {
        })
        .on('error', (err, stdout, stderr) => {
          console.log(err, stdout, stderr)
        })
        .on('progress', (progress) => {

        })
        .on('end', (err, stdout, stderr) => {
      
          
        })
        .run()


    


    ffmpeg -codecs

    


    enter image description here
enter image description here
Sorry, my English is not very good !

    


    I want ffmpeg to use GPU hardware acceleration. The above is my code, but it has been executing incorrectly. This problem has plagued me for several days. I hope you can help me, thank you !

    


  • ffmpeg -vcodec is not working , unknown encoder [closed]

    24 mai 2022, par Younghwan Kim

    i want to use ffmpeg to encode ,
but i guess it's not working '-vcodec' option,

    


    command :

    


     ffmpeg -i test.mp4 -vcodec videocodec -acodec audiocodec test.flv 2>&1


    


    output :

    


      libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
  major_brand     : isom
  minor_version   : 512
  compatible_brands: isomiso2avc1mp41
  encoder         : Lavf58.45.100
  Duration: 00:02:34.40, start: 0.000000, bitrate: 934 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 
  1916x1032 [SAR 1:1 DAR 479:258], 921 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
  Metadata:
  handler_name    : VideoHandler
  vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 4 kb/s 
  (default)
  Metadata:
  handler_name    : AAC Audio Track
  vendor_id       : [0][0][0][0]
  **Unknown encoder 'videocodec'**


    


    how can i figure it out ?

    


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