Recherche avancée

Médias (0)

Mot : - Tags -/images

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

Autres articles (43)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

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

Sur d’autres sites (5612)

  • ffmpeg amerge Error while filtering : Cannot allocate memory

    21 mars 2019, par Recessive

    This seems to be a recurring problem, as seen here : ffmpeg Error while filtering : Cannot allocate memory . I ask this only because that question has no answer.

    I get a memory error every time I try to use amerge to combine music and a video (with audio). I am at a loss as to how to get around this, so if there are any other command line alternatives that do the same thing (combining audio with video, merging the new audio and the current audio on the video) any suggestions would be much appreciated.

    FYI, here is the ffprobe information for the two files I am trying to combine :

    video (mp4) :

     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 21.104 / 58. 21.104
     libavformat    58. 17.101 / 58. 17.101
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 25.100 /  7. 25.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 'video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 00:11:08.48, start: 0.000000, bitrate: 1957 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1887 kb/s, 0.66 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 68 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    audio (mp3) :

     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 21.104 / 58. 21.104
     libavformat    58. 17.101 / 58. 17.101
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 25.100 /  7. 25.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, mp3, from 'song0.mp3':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       encoder         : Lavf57.56.101
     Duration: 00:06:20.79, start: 0.025057, bitrate: 192 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
       Metadata:
         encoder         : Lavc57.64

    EDIT :

    Here is the command I am using :

    ffmpeg -i video.mp4 -i song0.mp3 -filter_complex "[0:a][1:a]amerge=inputs=2[a]" -map 0:v -map "[a]" -c:v copy -c:a libvorbis -ac 2 -shortest out.mp4

    EDIT 2 :

    Added updated ffprobe with updated ffmpeg version

    video :

     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 00:11:08.48, start: 0.000000, bitrate: 1957 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1887 kb/s, 0.66 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 68 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Audio :

     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Input #0, mp3, from 'song0.mp3':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       encoder         : Lavf57.56.101
     Duration: 00:06:20.79, start: 0.025057, bitrate: 192 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
       Metadata:
         encoder         : Lavc57.64

    I tried again with the updated version, still the exact same error.

  • Where can I find my output video file after execution of ffmpeg command

    7 août 2019, par Giri Aakula

    I run this command to capture my screen

    ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4

    I didn’t find the output.mp4 file anywhere in my HDD. I checked in the bin folder of ffmpeg it is not there.
    I searched the whole PC I didn’t find it anywhere. Can anyone please help me out to find the file.
    The console output is

    C:\Users\USER>ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4
    ffmpeg version N-94405-g43891ea8ab Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190716
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 32.100 / 56. 32.100
     libavcodec     58. 55.100 / 58. 55.100
     libavformat    58. 30.100 / 58. 30.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 58.100 /  7. 58.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    [gdigrab @ 0000020d04e3b280] Capturing whole desktop as 1366x768x32 at (0,0)
    [gdigrab @ 0000020d04e3b280] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, gdigrab, from 'desktop':
     Duration: N/A, start: 1565202714.962639, bitrate: 2014274 kb/s
       Stream #0:0: Video: bmp, bgra, 1366x768, 2014274 kb/s, 60 fps, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 0000020d04e3edc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0000020d04e3edc0] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
    [libx264 @ 0000020d04e3edc0] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
    Output #0, mp4, to 'output.mp4':
     Metadata:
       encoder         : Lavf58.30.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1366x768, q=-1--1, 60 fps, 15360 tbn, 60 tbc
       Metadata:
         encoder         : Lavc58.55.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    More than 1000 frames duplicated   5632kB time=00:00:19.86 bitrate=2322.4kbits/s dup=981 drop=0 speed=1.01x
    More than 10000 frames duplicated 53504kB time=00:03:39.21 bitrate=1999.4kbits/s dup=9978 drop=0 speed=   1x
    frame=58906 fps= 60 q=-1.0 Lsize=  234800kB time=00:16:21.75 bitrate=1959.2kbits/s dup=45257 drop=0 speed=   1x
    video:234566kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.099927%
    [libx264 @ 0000020d04e3edc0] frame I:236   Avg QP: 0.00  size:230265
    [libx264 @ 0000020d04e3edc0] frame P:58670 Avg QP: 0.00  size:  3168
    [libx264 @ 0000020d04e3edc0] mb I  I16..4: 100.0%  0.0%  0.0%
    [libx264 @ 0000020d04e3edc0] mb P  I16..4: 52.9%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:47.1%
    [libx264 @ 0000020d04e3edc0] coded y,u,v intra: 0.2% 0.2% 0.2% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0000020d04e3edc0] i16 v,h,dc,p: 100%  0%  0%  0%
    [libx264 @ 0000020d04e3edc0] kb/s:1957.25
  • Revision 31020 : max = 255, ça bloquait la création de la table sur certaine base

    20 août 2009, par vincent@… — Log

    max = 255, ça bloquait la création de la table sur certaine base