Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (75)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (3972)

  • Cannot play local RTP stream

    24 janvier 2020, par gdogg371

    I have been struggling along with this issue now for a while, but am making good progress. I now have a 4k transport stream running using the below command line arguments for VLC :

    vlc --ffmpeg-hw --avcodec-hw=any dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K+)" :dshow-adev="Audio (2- 00 Pro Capture HDMI 4K+)" :dshow-threads=8 :dshow-aspect-ratio=16\:9 :dshow-size="3840x2160" :dshow-pixel_format=yuv444p16le :dshow-tune=film :dshow-preset=lossless :dshow-profile=main10 show-vcodec=hevc_nvenc :dshow-fps=50 :dshow-crf=0 :dshow-acodec=mp4a :dshow-stereo-mode=5 :dshow-force-surround-sound=0 :dshow-ab=128 :dshow-samplerate=44100 :no-dshow-config :live-caching=3000 --sout "#transcode{venc=ffmpeg,vcodec=mpgv,threads=8,aspect=16:9,width=3840,height=2160,fps=50,acodec=a52,ab=1500,channels=6,samplerate=48000,soverlay}:rtp{dst=239.255.0.1,port=5004,mux=ts}"

    I can access the rtp stream on the same PC as I am running the stream from with the below :

    vlc -vvv rtp://@239.255.0.1:5004

    However, if I try the same commands on a different computer, connected via Ethernet to the same network, the client VLC session just hangs. I have included the log below with the verbosity set to debug. Can anyone spot anything in here suggesting why the stream won’t play ?

    -- logger module started --
    main debug: VLC media player - 3.0.8 Vetinari
    main debug: Copyright © 1996-2019 the VideoLAN team
    main debug: revision 3.0.8-0-gf350b6b5a7
    main debug: configured with ../extras/package/win32/../../../configure  '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' 'host_alias=x86_64-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-release/windows/vlc-release-win32-x64/contrib/x86_64-w64-mingw32/lib/pkgconfig'
    main debug: using multimedia timers as clock source
    main debug:  min period: 1 ms, max period: 1000000 ms
    main debug: searching plug-in modules
    main debug: loading plugins cache file D:\VLC\plugins\plugins.dat
    main debug: recursively browsing `D:\VLC\plugins'
    main error: stale plugins cache: modified D:\VLC\plugins\access\libaccess_concat_plugin.dll
    main error: stale plugins cache: modified D:\VLC\plugins\access\libaccess_imem_plugin.dll
    ....
    ....
    ....
    main error: stale plugins cache: modified D:\VLC\plugins\visualization\libgoom_plugin.dll
    main error: stale plugins cache: modified D:\VLC\plugins\visualization\libprojectm_plugin.dll
    main error: stale plugins cache: modified D:\VLC\plugins\visualization\libvisual_plugin.dll
    main debug: plug-ins loaded: 494 modules
    main debug: opening config file (C:\Users\cg371\AppData\Roaming\vlc\vlcrc)
    main debug: looking for logger module matching "any": 2 candidates
    file debug: opening logfile `D:\VLC\Log.txt'
    main debug: using logger module "file"
    main debug: translation test: code is "en_GB"
    main debug: looking for keystore module matching "memory": 3 candidates
    main debug: using keystore module "memory"
    main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
    main debug: Creating an input for 'Media Library'
    main debug: Input is a meta file: disabling unneeded options
    main debug: using timeshift granularity of 50 MiB
    main debug: using timeshift path: C:\Users\cg371\AppData\Local\Temp
    main debug: `file/directory:///C:/Users/cg371/AppData/Roaming/vlc/ml.xspf' gives access `file' demux `directory' path `/C:/Users/cg371/AppData/Roaming/vlc/ml.xspf'
    main debug: creating demux: access='file' demux='directory' location='/C:/Users/cg371/AppData/Roaming/vlc/ml.xspf' file='C:\Users\cg371\AppData\Roaming\vlc\ml.xspf'
    main debug: looking for access_demux module matching "file": 15 candidates
    main debug: no access_demux modules matched
    main debug: creating access: file:///C:/Users/cg371/AppData/Roaming/vlc/ml.xspf
    main debug:  (path: C:\Users\cg371\AppData\Roaming\vlc\ml.xspf)
    main debug: looking for access module matching "file": 26 candidates
    main debug: using access module "filesystem"
    main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
    cache_read debug: Using stream method for AStream*
    cache_read debug: starting pre-buffering
    cache_read debug: received first data after 1 ms
    cache_read debug: pre-buffering done 304 bytes in 0s - 296 KiB/s
    main debug: using stream_filter module "cache_read"
    main debug: looking for stream_filter module matching "any": 24 candidates
    playlist debug: using XSPF playlist reader
    main debug: using stream_filter module "playlist"
    main debug: stream filter added to 00000266f6927700
    main debug: looking for stream_filter module matching "any": 24 candidates
    main debug: no stream_filter modules matched
    main debug: looking for stream_directory module matching "any": 1 candidates
    main debug: no stream_directory modules matched
    main debug: attachment of directory-extractor failed for file:///C:/Users/cg371/AppData/Roaming/vlc/ml.xspf
    main debug: looking for stream_filter module matching "record": 24 candidates
    main debug: using stream_filter module "record"
    main debug: creating demux: access='file' demux='directory' location='/C:/Users/cg371/AppData/Roaming/vlc/ml.xspf' file='C:\Users\cg371\AppData\Roaming\vlc\ml.xspf'
    main debug: looking for demux module matching "directory": 55 candidates
    main debug: using demux module "directory"
    main debug: looking for meta reader module matching "any": 2 candidates
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\meta\reader
    lua debug: Trying Lua scripts in D:\VLC\lua\meta\reader
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\reader\filename.luac
    main debug: no meta reader modules matched
    main debug: `file/directory:///C:/Users/cg371/AppData/Roaming/vlc/ml.xspf' successfully opened
    main debug: looking for xml reader module matching "any": 1 candidates
    main debug: using xml reader module "xml"
    main debug: EOF reached
    main debug: removing module "directory"
    main debug: removing module "record"
    main debug: removing module "playlist"
    main debug: removing module "cache_read"
    main debug: removing module "filesystem"
    main debug: creating audio output
    main debug: looking for audio output module matching "any": 6 candidates
    mmdevice debug: using default device
    mmdevice debug: display name changed: VLC media player (LibVLC 3.0.8)
    mmdevice debug: version 2 session control unavailable
    mmdevice debug: volume from -65.250000 dB to +0.000000 dB with 0.031250 dB increments
    main debug: using audio output module "mmdevice"
    main debug: keeping audio output
    main debug: looking for interface module matching "hotkeys,none": 16 candidates
    main debug: using interface module "hotkeys"
    main debug: looking for interface module matching "globalhotkeys,none": 16 candidates
    main debug: using interface module "win32"
    main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    main debug: looking for interface module matching "any": 16 candidates
    main debug: looking for extension module matching "any": 1 candidates
    lua debug: Opening Lua Extension module
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\extensions
    lua debug: Trying Lua scripts in D:\VLC\lua\extensions
    lua debug: Trying Lua playlist script D:\VLC\lua\extensions\VLSub.luac
    lua debug: Scanning Lua script D:\VLC\lua\extensions\VLSub.luac
    lua debug: Script D:\VLC\lua\extensions\VLSub.luac has the following capability flags: 0x5
    main debug: using extension module "lua"
    main debug: using interface module "qt"
    main debug: processing request item: null, node: Playlist, skip: 0
    main debug: rebuilding array of current - root Playlist
    main debug: rebuild done - 1 items, index -1
    main debug: starting playback of new item
    main debug: resyncing on rtp://239.255.0.1:5004
    main debug: rtp://239.255.0.1:5004 is at 0
    main debug: creating new input thread
    main debug: Creating an input for 'rtp://239.255.0.1:5004'
    main debug: requesting art for new input thread
    main debug: using timeshift granularity of 50 MiB
    main debug: using timeshift path: C:\Users\cg371\AppData\Local\Temp
    main debug: `rtp://@239.255.0.1:5004' gives access `rtp' demux `any' path `@239.255.0.1:5004'
    main debug: creating demux: access='rtp' demux='any' location='@239.255.0.1:5004' file='\\@239.255.0.1:5004'
    main debug: looking for access_demux module matching "rtp": 15 candidates
    main debug: net: opening 239.255.0.1 datagram port 5004
    qt debug: IM: Setting an input
    main debug: looking for meta fetcher module matching "any": 1 candidates
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\meta\fetcher
    lua debug: Trying Lua scripts in D:\VLC\lua\meta\fetcher
    main debug: no meta fetcher modules matched
    main debug: looking for art finder module matching "any": 2 candidates
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\meta\art
    lua debug: Trying Lua scripts in D:\VLC\lua\meta\art
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: skipping script (unmatched scope) D:\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\01_googleimage.luac
    lua debug: skipping script (unmatched scope) D:\VLC\lua\meta\art\01_googleimage.luac
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: skipping script (unmatched scope) D:\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\03_lastfm.luac
    main debug: using access_demux module "rtp"
    main debug: looking for meta reader module matching "any": 2 candidates
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\meta\reader
    lua debug: Trying Lua scripts in D:\VLC\lua\meta\reader
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\reader\filename.luac
    lua debug: skipping script (unmatched scope) D:\VLC\lua\meta\art\03_lastfm.luac
    main debug: no art finder modules matched
    main debug: no meta reader modules matched
    main debug: `rtp://@239.255.0.1:5004' successfully opened
    main debug: looking for meta fetcher module matching "any": 1 candidates
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\meta\fetcher
    lua debug: Trying Lua scripts in D:\VLC\lua\meta\fetcher
    main debug: no meta fetcher modules matched
    main debug: looking for art finder module matching "any": 2 candidates
    lua debug: Trying Lua scripts in C:\Users\cg371\AppData\Roaming\vlc\lua\meta\art
    lua debug: Trying Lua scripts in D:\VLC\lua\meta\art
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\01_googleimage.luac
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: Trying Lua playlist script D:\VLC\lua\meta\art\03_lastfm.luac
    main debug: no art finder modules matched
    main debug: exiting
    main debug: exiting
    main debug: no exit handler
    main debug: removing all interfaces
    main debug: removing module "qt"
    main debug: deactivating the playlist
    main debug: incoming request - stopping current input
    main debug: removing module "rtp"
    main debug: dead input
    main debug: nothing to play
    main debug: removing module "mmdevice"
    qt debug: requesting exit...
    qt debug: waiting for UI thread...
    qt debug: IM: Deleting the input
    qt debug: QApp exec() finished
    qt debug: Video is not needed anymore
    qt debug: Killing extension dialog provider
    qt debug: ExtensionsDialogProvider is quitting...
    main debug: removing module "lua"
    main debug: removing module "win32"
    main debug: removing module "hotkeys"
    main debug: destroying
    main debug: saving media library to file C:\Users\cg371\AppData\Roaming\vlc\ml.xspf.tmp14968
    main debug: looking for playlist export module matching "export-xspf": 4 candidates
    main debug: using playlist export module "export"
    main debug: removing module "export"
    main debug: deleting item `Media Library'
    main debug: deleting item `rtp://239.255.0.1:5004'
    main debug: deleting item `Playlist'
    main debug: removing module "memory"
    -- logger module stopped --
  • Error while processing the decoded data for stream using ffmpeg

    15 juin 2018, par Robert Smith

    I am using the following command :

    ffmpeg

       -i "video1a.flv"
       -i "video1b.flv"
       -i "video1c.flv"
       -i "video2a.flv"
       -i "video3a.flv"
       -i "video4a.flv"
       -i "video4b.flv"
       -i "video4c.flv"
       -i "video4d.flv"
       -i "video4e.flv"

       -filter_complex

       nullsrc=size=640x480[base];
       [0:v]setpts=PTS-STARTPTS+0.12/TB,scale=320x240[1a];
       [1:v]setpts=PTS-STARTPTS+3469.115/TB,scale=320x240[1b];
       [2:v]setpts=PTS-STARTPTS+7739.299/TB,scale=320x240[1c];
       [5:v]setpts=PTS-STARTPTS+4390.466/TB,scale=320x240[4a];
       [6:v]setpts=PTS-STARTPTS+6803.937/TB,scale=320x240[4b];
       [7:v]setpts=PTS-STARTPTS+8242.005/TB,scale=320x240[4c];
       [8:v]setpts=PTS-STARTPTS+9811.577/TB,scale=320x240[4d];
       [9:v]setpts=PTS-STARTPTS+10765.19/TB,scale=320x240[4e];
       [base][1a]overlay=eof_action=pass[o1];
       [o1][1b]overlay=eof_action=pass[o1];
       [o1][1c]overlay=eof_action=pass:shortest=1[o1];
       [o1][4a]overlay=eof_action=pass:x=320:y=240[o4];
       [o4][4b]overlay=eof_action=pass:x=320:y=240[o4];
       [o4][4c]overlay=eof_action=pass:x=320:y=240[o4];
       [o4][4d]overlay=eof_action=pass:x=320:y=240[o4];
       [o4][4e]overlay=eof_action=pass:x=320:y=240;
       [0:a]asetpts=PTS-STARTPTS+0.12/TB,aresample=async=1,pan=1c|c0=c0,apad[a1a];
       [1:a]asetpts=PTS-STARTPTS+3469.115/TB,aresample=async=1,pan=1c|c0=c0,apad[a1b];
       [2:a]asetpts=PTS-STARTPTS+7739.299/TB,aresample=async=1,pan=1c|c0=c0[a1c];
       [3:a]asetpts=PTS-STARTPTS+82.55/TB,aresample=async=1,pan=1c|c0=c0,apad[a2a];
       [4:a]asetpts=PTS-STARTPTS+2687.265/TB,aresample=async=1,pan=1c|c0=c0,apad[a3a];
       [a1a][a1b][a1c][a2a][a3a]amerge=inputs=5

       -c:v libx264 -c:a aac -ac 2 output.mp4

    This is the stream data from ffmpeg :

    Input #0
       Stream #0:0: Video: vp6f, yuv420p, 160x128, 1k tbr, 1k tbn
       Stream #0:1: Audio: nellymoser, 11025 Hz, mono, flt
    Input #1
       Stream #1:0: Audio: nellymoser, 11025 Hz, mono, flt
       Stream #1:1: Video: vp6f, yuv420p, 160x128, 1k tbr, 1k tbn
    Input #2
       Stream #2:0: Audio: nellymoser, 11025 Hz, mono, flt
       Stream #2:1: Video: vp6f, yuv420p, 160x128, 1k tbr, 1k tbn
    Input #3
       Stream #3:0: Audio: nellymoser, 11025 Hz, mono, flt
    Input #4
       Stream #4:0: Audio: nellymoser, 11025 Hz, mono, flt
    Input #5
       Stream #5:0: Video: vp6f, yuv420p, 1680x1056, 1k tbr, 1k tbn
    Input #6
       Stream #6:0: Video: vp6f, yuv420p, 1680x1056, 1k tbr, 1k tbn
    Input #7
       Stream #7:0: Video: vp6f, yuv420p, 1680x1056, 1k tbr, 1k tbn
    Input #8
       Stream #8:0: Video: vp6f, yuv420p, 1680x1056, 1k tbr, 1k tbn
    Input #9
       Stream #9:0: Video: vp6f, yuv420p, 1680x1056, 1k tbr, 1k tbn
    Stream mapping:
     Stream #0:0 (vp6f) -> setpts
     Stream #0:1 (nellymoser) -> asetpts
     Stream #1:0 (nellymoser) -> asetpts
     Stream #1:1 (vp6f) -> setpts
     Stream #2:0 (nellymoser) -> asetpts
     Stream #2:1 (vp6f) -> setpts
     Stream #3:0 (nellymoser) -> asetpts
     Stream #4:0 (nellymoser) -> asetpts
     Stream #5:0 (vp6f) -> setpts
     Stream #6:0 (vp6f) -> setpts
     Stream #7:0 (vp6f) -> setpts
     Stream #8:0 (vp6f) -> setpts
     Stream #9:0 (vp6f) -> setpts
     overlay -> Stream #0:0 (libx264)
     amerge -> Stream #0:1 (aac)

    This is the error :

    Press [q] to stop, [?] for help

    Enter command: <target>|all <time>|-1 <command>[ <argument>]

    Parse error, at least 3 arguments were expected, only 1 given in string 'ho Oscar'
    [Parsed_amerge_44 @ 0a7238c0] No channel layout for input 1
    [Parsed_amerge_44 @ 0a7238c0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
    [Parsed_pan_27 @ 07681880] Pure channel mapping detected: 0
    [Parsed_pan_31 @ 07681b40] Pure channel mapping detected: 0
    [Parsed_pan_35 @ 0a7232c0] Pure channel mapping detected: 0
    [Parsed_pan_38 @ 0a7234c0] Pure channel mapping detected: 0
    [Parsed_pan_42 @ 0a723740] Pure channel mapping detected: 0
    [libx264 @ 069e8a40] using SAR=1/1
    [libx264 @ 069e8a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 069e8a40] profile High, level 3.0
    [libx264 @ 069e8a40] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'output.mp4':
     Metadata:
       canSeekToEnd    : false
       encoder         : Lavf58.16.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         encoder         : Lavc58.19.102 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 11025 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         encoder         : Lavc58.19.102 aac
    frame=  200 fps=0.0 q=28.0 size=       0kB time=00:00:07.82 bitrate=   0.0kbits/s speed=15.6x    
    ...  
    frame=30132 fps=497 q=28.0 size=   29952kB time=00:20:05.14 bitrate= 203.6kbits/s speed=19.9x    
    Error while filtering: Cannot allocate memory
    Failed to inject frame into filter network: Cannot allocate memory
    Error while processing the decoded data for stream #2:1
    [libx264 @ 069e8a40] frame I:121   Avg QP: 8.83  size:  7052
    [libx264 @ 069e8a40] frame P:7609  Avg QP:18.33  size:  1527
    [libx264 @ 069e8a40] frame B:22367 Avg QP:25.44  size:   112
    [libx264 @ 069e8a40] consecutive B-frames:  0.6%  0.7%  1.0% 97.8%
    [libx264 @ 069e8a40] mb I  I16..4: 75.7% 18.3%  6.0%
    [libx264 @ 069e8a40] mb P  I16..4:  0.3%  0.7%  0.1%  P16..4: 10.6%  3.3%  1.6%  0.0%  0.0%    skip:83.4%
    [libx264 @ 069e8a40] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  3.2%  0.2%  0.0%  direct: 0.2%  skip:96.5%  L0:47.7% L1:48.2% BI: 4.0%
    [libx264 @ 069e8a40] 8x8 transform intra:37.4% inter:70.2%
    [libx264 @ 069e8a40] coded y,uvDC,uvAC intra: 38.9% 46.1% 28.7% inter: 1.7% 3.3% 0.1%
    [libx264 @ 069e8a40] i16 v,h,dc,p: 78%  8%  4% 10%
    [libx264 @ 069e8a40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20% 12%  3%  6%  8%  6%  6%  7%
    [libx264 @ 069e8a40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 22%  9%  4%  6%  7%  5%  5%  4%
    [libx264 @ 069e8a40] i8c dc,h,v,p: 60% 16% 17%  7%
    [libx264 @ 069e8a40] Weighted P-Frames: Y:0.7% UV:0.6%
    [libx264 @ 069e8a40] ref P L0: 65.5% 12.3% 14.2%  8.0%  0.0%
    [libx264 @ 069e8a40] ref B L0: 90.2%  7.5%  2.3%
    [libx264 @ 069e8a40] ref B L1: 96.4%  3.6%
    [libx264 @ 069e8a40] kb/s:99.58
    [aac @ 069e9600] Qavg: 65519.982
    [aac @ 069e9600] 2 frames left in the queue on closing
    Conversion failed!
    </argument></command></time></target>

    I am trying to figure out how to fix these errors :

    Error while filtering: Cannot allocate memory
    Failed to inject frame into filter network: Cannot allocate memory
    Error while processing the decoded data for stream #2:1

    Observation #1

    If I run the following command on stream #2:1 by itself :

    ffmpeg -i video1c.flv -vcodec libx264 -acodec aac video1c.mp4

    The files is converted fine with no errors.

    Observation #2

    Running MediaInfo on video1c.flv (stream #2) shows the following :

    Format: Flash Video
    Video Codecs: On2 VP6
    Audio Codecs: Nellymoser

    Any help would be appreciated in resolving this error.

    Update #1

    I have tried splitting the filter graph into two as requested but I receive the same errors :

    Error while filtering: Cannot allocate memory
    Failed to inject frame into filter network: Cannot allocate memory
    Error while processing the decoded data for stream #1:1

    However, I did discover something, if I try to bring up stream #1:1 mentioned above (video1b.flv) using VLC Media Player, I can hear the audio file but I cannot see the video and I receive this error message :

    No suitable decoder module:
    VLC Does not support the audio or video format "undf".
    Unfortunately there is no way for you to fix this.

    Update #2

    The above error was with the 32bit version of ffmpeg. I switched to a 64 bit machine and am now running the 64 bit ffmpeg version ffmpeg-20180605-b748772-win64-static.

    Now I no longer receive the following error :

    Error while processing the decoded data for stream #1:1

    But, I have a new error. About an hour into running it, I receive the following error :

    av_interleaved_write_frame(): Cannot allocate memory
    [mp4 @ 000000000433f080] Application provided duration: 3327365388930198318
    / timestamp: 17178820096 is out of range for mov/mp4 format

    I also tried first remuxing all the files as suggested and using those files to run the above command and that did not help. I still get the same error.

  • ffmpeg / avconv error while using a discord bot slash cmd

    30 novembre 2022, par Ema R

    Code

    &#xA;

    const {&#xA;    SlashCommandBuilder,&#xA;    PermissionFlagsBits,&#xA;    PermissionsBitField,&#xA;    EmbedBuilder,&#xA;  } = require("discord.js");&#xA;&#xA;    const { generateDependencyReport, AudioPlayerStatus, joinVoiceChannel, createAudioPlayer, createAudioResource  } = require(&#x27;@discordjs/voice&#x27;); &#xA;  const googleTTS = require("google-tts-api");&#xA;&#xA;module.exports = {&#xA;  data: new SlashCommandBuilder()&#xA;    .setName(`tts`)&#xA;    .setDescription(`Fai ripetere al bot un messaggio in un canale vocale`)&#xA;    .addStringOption((option) =>&#xA;        option&#xA;          .setName("messaggio")&#xA;          .setDescription("Scrivi il messaggio da far ripetere dal bot in vocale")&#xA;          .setRequired(true)&#xA;      )&#xA;    .addBooleanOption((option) =>&#xA;    option&#xA;      .setName("rallentatore")&#xA;      .setDescription("Vuoi che il messaggio sia mandato a rallentatore?")&#xA;      .setRequired(true)&#xA;  ),  &#xA;  async execute(interaction, client) {&#xA;&#xA;    const testo = interaction.options.getString("messaggio");&#xA;    const slow = interaction.options.getBoolean("rallentatore");&#xA;&#xA;&#xA;&#xA;     const url = googleTTS.getAudioUrl(testo, {&#xA;        lang: "it",&#xA;        slow: slow,&#xA;        host: &#x27;https://translate.google.com&#x27;,&#xA;      });&#xA;&#xA;      &#xA;&#xA;&#xA;      const { generateDependencyReport, AudioPlayerStatus, joinVoiceChannel, createAudioPlayer, createAudioResource  } = require(&#x27;@discordjs/voice&#x27;);&#xA;&#xA;&#xA;&#xA;      const voiceChannelId = interaction.member.voice.channel.id&#xA;        const voiceChannel = interaction.member.voice.channel&#xA;        const guildId = interaction.guild.id&#xA;&#xA;        &#xA;        const player = createAudioPlayer();&#xA;&#xA;    &#xA;&#xA;        const resource = createAudioResource(url);&#xA;        player.play(resource);&#xA;&#xA;        &#xA;        const connection = joinVoiceChannel({&#xA;            channelId: voiceChannelId,&#xA;            guildId: guildId,&#xA;            adapterCreator: voiceChannel.guild.voiceAdapterCreator,&#xA;        });    &#xA;&#xA;&#xA;&#xA;        const subscription = connection.subscribe(player);&#xA;&#xA;&#xA;        if (subscription) {&#xA;            setTimeout(() => subscription.unsubscribe(), 30_000);&#xA;        }&#xA;&#xA; &#xA;    &#xA;  },&#xA;};&#xA;&#xA;

    &#xA;

    Error

    &#xA;

    Error: FFmpeg/avconv not found!&#xA;    at Function.getInfo (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\node_modules\prism-media\src\core\FFmpeg.js:143:11)&#xA;    at Function.create (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\node_modules\prism-media\src\core\FFmpeg.js:156:38)&#xA;    at new FFmpeg (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\node_modules\prism-media\src\core\FFmpeg.js:45:27)&#xA;    at Object.transformer (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\node_modules\@discordjs\voice\dist\index.js:1699:27)&#xA;    at C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\node_modules\@discordjs\voice\dist\index.js:1855:58&#xA;    at Array.map (<anonymous>)&#xA;    at createAudioResource (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\node_modules\@discordjs\voice\dist\index.js:1855:39)&#xA;    at Object.execute (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\src\commands\tools\tts.js:56:26)&#xA;    at Object.execute (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\src\events\client\interactionCreate.js:13:23)&#xA;    at Client.<anonymous> (C:\Users\Casa\OneDrive\Desktop\Discord\eKicks\eKicks Bot v14\src\functions\handlers\handleEvents.js:20:23)&#xA;</anonymous></anonymous>

    &#xA;

    i am making a command to play a message in a voice channel. Once this error was returned from the terminal I installed ffmpeg by creating an environment variable and installed python. I don't understand why it keeps giving this error. below I am attaching a picture of the npm list

    &#xA;

    npm list

    &#xA;

    maybe I also have to install avconv but I don't know how to do it, could you please attach the link ? do i need to add avconv to the environment variables as well ?

    &#xA;