Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (40)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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 (...)

Sur d’autres sites (6515)

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

  • ffmpeg with -strict -2 : Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    8 juin 2018, par Bhumi Shah

    This is my command

    ffmpeg -i a.mp4 -asyncec libx264 -strict -2 -refs 6 -coder 1 -sc_threshold 40 -flags +loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -trellis 1 -b:a 128k -pass 1 -profile:v baseline -level:v 3.0 -s 1080x1920 a.mp4

    Here is the error i am getting

    ffmpeg version N-46084-gcae004cab-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 19.101 / 58. 19.101
     libavformat    58. 13.102 / 58. 13.102
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 22.100 /  7. 22.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2018-01-17T06:39:29.000000Z
     Duration: 00:00:06.04, start: 0.000000, bitrate: 872 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 2160x3840, 534 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
       Metadata:
         creation_time   : 2018-01-17T06:39:29.000000Z
         handler_name    : Alias Data Handler
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
       Metadata:
         creation_time   : 2018-01-17T06:39:29.000000Z
         handler_name    : Alias Data Handler
    File 'a.mp4' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x66327c0] frame MB size (68x120) > level limit (1620)
    [libx264 @ 0x66327c0] DPB size (1 frames, 8160 mbs) > level limit (0 frames, 8100 mbs)
    [libx264 @ 0x66327c0] MB rate (244800) > level limit (40500)
    [libx264 @ 0x66327c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x66327c0] ratecontrol_init: can't open stats file
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!
  • h264 restream works when i have no audio in ffserver conf but does not work when i try to add audio

    27 février 2014, par Dnaso

    I am trying to restream an h264 video stream from a camera. All works well when I have NoAudio in my conf file. However when i add audio, even the video stream does not work. Has anyone ever encountered thiss ?

    ffmpeg -i rtsp ://*** -s 320x240 -vcodec copy -acodec copy -s 320x240 -ab 64k http://*:8091/feed1.ffm