Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (28)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • 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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (6572)

  • Fade Video-Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    27 octobre 2018, par varmashrivastava

    I am using below command to add Fade In Fade Out effect to my video

    {"-y", "-ss", "" + startMs / 1000, "-t", "" + (endMs - startMs) / 1000, "-i", inputPath, "-acodec", "copy", "-vf", "fade=t=in:st=0:d=5,fade=t=out:st=" + String.valueOf((endMs - startMs) / 1000 - 5) + ":d=5", outputPath};

    I received below error-

    "Failure3.3 5 .3gpffmpeg version n3.0.1 Copyright (c) 2000-2016 the
    FFmpeg developers\n built with gcc 4.8 (GCC)\n configuration :
    —target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
    —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
    —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
    -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
    -Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=\n libavutil 55. 17.103 / 55. 17.103\n libavcodec 57. 24.102 / 57. 24.102\n libavformat 57. 25.100 /
    57. 25.100\n libavdevice 57. 0.101 / 57. 0.101\n libavfilter 6. 31.100 / 6. 31.100\n libswscale 4. 0.100 / 4. 0.100\n libswresample 2. 0.101 / 2. 0.101\n libpostproc 54. 0.100 /
    54. 0.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180825_071734915.3gp’ :\n
    Metadata :\n major_brand : 3gp4\n minor_version : 0\n
    compatible_brands : isom3gp4\n creation_time : 2018-08-25
    01:47:47\n com.android.version : 8.0.0\n Duration : 00:00:10.83,
    start : 0.000000, bitrate : 17217 kb/s\n Stream #0:0(eng) : Video :
    h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown),
    1920x1080, 16756 kb/s, SAR 1:1 DAR 16:9, 29.49 fps, 29.58 tbr, 90k
    tbn, 180k tbc (default)\n Metadata :\n rotate : 90\n
    creation_time : 2018-08-25 01:47:47\n handler_name :
    VideoHandle\n Side data :\n displaymatrix : rotation of -90.00
    degrees\n Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D),
    48000 Hz, mono, fltp, 128 kb/s (default)\n Metadata :\n
    creation_time : 2018-08-25 01:47:47\n handler_name :
    SoundHandle\n[h263 @ 0xf49ff400] H.263 does not support resolutions
    above 2048x1152\nOutput #0, 3gp, to
    ’/storage/emulated/0/Movies/fade_video.3gp’ :\n Metadata :\n
    major_brand : 3gp4\n minor_version : 0\n
    compatible_brands : isom3gp4\n com.android.version : 8.0.0\n
    Stream #0:0(eng) : Video : h263, none, q=2-31, 128 kb/s, SAR 1:1 DAR
    0:0, 29.58 fps (default)\n Metadata :\n handler_name :
    VideoHandle\n creation_time : 2018-08-25 01:47:47\n
    encoder : Lavc57.24.102 h263\n Stream #0:1(eng) : Audio : aac
    (LC) (mp4a / 0x6134706D), 48000 Hz, mono, 128 kb/s (default)\n
    Metadata :\n creation_time : 2018-08-25 01:47:47\n
    handler_name : SoundHandle\nStream mapping :\n Stream #0:0 -> #0:0
    (h264 (native) -> h263 (native))\n Stream #0:1 -> #0:1 (copy)\nError
    while opening encoder for output stream #0:0 - maybe incorrect
    parameters such as bit_rate, rate, width or height\n"

    Why is causing this error in above command ?Any help will be welcome.

  • Is ffmpeg using a buffer ? Why arent the filename and drawtext times matching ?

    6 octobre 2018, par Ian Rubenstein

    I am using ffmpeg to

    1) capture images from a webcam as jpeg with the timestamp in the filename and as an overlay with drawtext

    ffmpeg -s 1920x1080 -framerate 20 -i /dev/video1 -f image2 -ss 8 -s 1920x1080 -qscale:v 1 -r 1 -strftime 1 -vf setpts=.2*PTS, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: text='%{localtime\:%Y-%m-%d_%T}': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)*.04: y=(h-text_h)*.96 /home/ian/netdrives/antares/Pictures/plant_lapse/ir/20181004/plant.%Y%m%d_%H%M%S.jpeg

    2) combine the images into a timelapse video

    C:/Users/Ian/apps/ffmpeg/bin/ffmpeg -f concat -safe 0 -i processingfilelist.ir_20181004.txt -c:v h264_nvenc -rc constqp -qp 38 -s 1920x1080 -filter:v format=yuv420p,fps=60,scale=iw/1.5:-1,yadif=0:-1:0,hqdn3d plant_lapse_ir_20181004_074451_dusk.mp4

    Its generally working, but I noticed the filenames are one frame ahead of the timestamp shown in the overlay.

    Example Image - Im not smart enough to know which is the right time, just to know that I’d like them to match. Any ideas why they don’t ?

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