Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (26)

  • 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

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (5430)

  • How to make mpv more compatible with ffmpeg filters like minterpolate ?

    1er octobre 2020, par F usedEmacs -con fused

    ffmpeg filter minterpolate (motion interpolation) does not work in MPV.

    



    (Nevertheless the file then is played normally without the minterpolate).

    



    (I researched using search engines and throughout documentation and troubleshooted to make a use of opengl and generally tried everything apart from asking for help and learning to understand more in the source code and I'm not a programmer)…

    



    --gpu-context=angle --gpu-api=opengl also does not make opengl work. (I'm guessing opengl could help from seeing its use in the documentations).

    



    


    Note

    
 


    To get a full list of available video filters, see —vf=help and
 http://ffmpeg.org/ffmpeg-filters.html .

    
 


    Also, keep in mind that most actual filters are available via the
 lavfi wrapper, which gives you access to most of libavfilter's
 filters. This includes all filters that have been ported from MPlayer
 to libavfilter.

    
 


    Most builtin filters are deprecated in some ways, unless they're only
 available in mpv (such as filters which deal with mpv specifics, or
 which are implemented in mpv only).

    
 


    If a filter is not builtin, the lavfi-bridge will be automatically
 tried. This bridge does not support help output, and does not verify
 parameters before the filter is actually used. Although the mpv syntax
 is rather similar to libavfilter's, it's not the same. (Which means
 not everything accepted by vf_lavfi's graph option will be accepted by
 —vf.)

    
 


    You can also prefix the filter name with lavfi- to force the wrapper.
 This is helpful if the filter name collides with a deprecated mpv
 builtin filter. For example —vf=lavfi-scale=args would use
 libavfilter's scale filter over mpv's deprecated builtin one.

    


    



    I expect MPV to play with minterpolate (one of several filters that MPV can use, listed in http://ffmpeg.org/ffmpeg-filters.html) enabled. But this is what happens :

    



    Input : "--vf=lavfi=[minterpolate=fps=60000/1001:mi_mode=mci]"

    



    Output :

    



       cplayer:  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
   cplayer:  (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
        vd: Using hardware decoding (d3d11va).
    ffmpeg: Impossible to convert between the formats supported by the filter 'mpv_src_in0' and the filter 'auto_scaler_0'
     lavfi: failed to configure the filter graph
        vf: Disabling filter lavfi.00 because it has failed.


    



    (Interesting is also that --gpu-api=opengl does not work (despite that according to specification my—not to brag—HD Graphics 400 Braswell supports its 4.2 version)… And that aresample seems to have no effect too, and with the few audio filters selected playback often doesn't start nor output errors.)

    


  • stop or kill node media server

    9 juillet 2019, par user_66663333

    I am trying to implement stop feature for live video streaming using node-media-server.

    Basically I want to stop node-media-server completely, restart it later.

    const NodeMediaServer = require("node-media-server");
       let config = {
         logType: 3,
         rtmp: {
           port: rtmpPort,
           chunk_size: 60000,
           gop_cache: true,
           ping: 60,
           ping_timeout: 30,
         },
         http: {
           port: httpPort,
           allow_origin: "*",
         },
         relay: {
           ffmpeg: "/usr/bin/ffmpeg",
           tasks: [
             {
               app: "cctv",
               mode: "static",
               edge: "rtsp://" + cameraUrl + "/h264_ulaw.sdp",
               name: "uterum",
               rtsp_transport: "udp",
             },
           ],
         },
       };

       let nms = new NodeMediaServer(config);
       nms.run();
  • An error occured 'maybe incorrect parameters such as bit_rate, rate, width or height' when I encode my video

    17 mai 2019, par Crystal

    I always use this source code when I encode my videos. they are almost 1920x1080 videos.
    but An error occured when I tried to encode a 7680x3840 video.

       ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
       built with gcc 5.4.0 (GCC)
       configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
       libavutil      55. 34.100 / 55. 34.100
       libavcodec     57. 64.101 / 57. 64.101
       libavformat    57. 56.100 / 57. 56.100
       libavdevice    57.  1.100 / 57.  1.100
       libavfilter     6. 65.100 /  6. 65.100
       libswscale      4.  2.100 /  4.  2.100
       libswresample   2.  3.100 /  2.  3.100
       libpostproc    54.  1.100 / 54.  1.100
       [avisynth @ 03af8040] Stream #0: not enough frames to estimate rate; consider increasing probesize
       Guessed Channel Layout for Input Stream #0.1 : stereo
       Input #0, avisynth, from 'a.mp4.avs':
       Duration: 00:00:01.85, start: 0.000000, bitrate: 2 kb/s
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 7680x3840, 60 fps, 60 tbr, 60 tbn, 60 tbc
       Stream #0:1: Audio: pcm_f32le, 48000 Hz, stereo, flt, 3072 kb/s
       [libx264 @ 054c5c20] VBV maxrate specified, but no bufsize, ignored
       [libx264 @ 054c5c20] frame MB size (480x240) > level limit (8192)
       [libx264 @ 054c5c20] DPB size (4 frames, 460800 mbs) > level limit (0 frames, 32768 mbs)
       [libx264 @ 054c5c20] MB rate (6912000) > level limit (245760)
       [libx264 @ 054c5c20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
       x264 [error]: malloc of size 152432416 failed
       Stream mapping:
       Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
       Stream #0:1 -> #0:1 (pcm_f32le (native) -> aac (native))
       Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    there is a strange message.
    ’malloc of size 152432416 failed’
    I think this is memory problem but I have no idea to solve this problem.

    This is avs file

       PluginPath = "D:\Application\Frame_Doubling_Set_Drag_And_Drop\ffmpeg-Convert-TrueMotion-x86_Newer_Svpflow\_exe\"

       LoadPlugin(PluginPath + "ffms2.dll")
       LoadPlugin(PluginPath + "svpflow1.dll")
       LoadPlugin(PluginPath + "svpflow2.dll")
       LoadPlugin(PluginPath + "mvtools2.dll")

       Video=FFVideoSource("a.mp4", threads=8)
       Audio=FFAudioSource("a.mp4")
       Audiodub(Video, Audio)

       Import(PluginPath + "InterFrame2.avsi")

       InterFrame(GPU=true, Preset="Medium", FrameDouble=true, NewNum=60000, NewDen=1000, Cores=8)

    and this is batch file

       @echo off

       CD /D "%~dp1"
       cls

       set DestPath=%~dp1

       set Src0=%~nx1
       set Src1=%~n1

       set DestExt=.mp4

       set Dest0=%DestPath%\%Src1%-Cnv%DestExt%
       set Dest1=%DestPath%\%Src1%-Cnv-New%DestExt%

       set exe=%~dp0_exe\ffmpeg.exe
       set Opt1=-i
       set Opt2=-c:v libx264 -b:v 200000k -minrate 10k -maxrate 200000k -profile:v high -level 4.1 -pix_fmt yuv420p
       set Opt3=-c:a aac -ab 192k
       set Opt4=-f mp4

       If Not Exist "%Src0%" (echo. && echo  [ %Src0% ] Not Found. && echo. && pause && Goto End)

       If Exist "%Dest0%" set Dest0=%Dest1%

       "%exe%" %Opt1% "%Src0%" %Opt2% %Opt3% %Opt4% "%Dest0%"

       :End
       If Not Exist "%Dest0%" (echo. && pause)
       rem pause
       pause

    What’s my problem ?