Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (111)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12631)

  • ffmpeg amix filter on mp3 with image

    20 novembre 2018, par cutoffurmind

    I use ffmpeg to concatenate 2 mp3 files with amix filter (see full log).

    It works fine for mp3 files without any meta but it fails with mp3 files with cover image in meta, result file length is less then 1 second.

    How could I fix it in same command ?

    Here is full log :

    localhost:Music user$ ffmpeg -i input.mp3 -i /opt/docker/tag_long.mp3 -filter_complex amix=inputs=2:duration=shortest,volume=2 -codec:a libmp3lame -q:a 5  out.mp3 -report
    ffmpeg started on 2018-11-11 at 13:19:50
    Report written to "ffmpeg-20181111-131950.log"
    ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    [mp3 @ 0x7fe506000000] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from 'input.mp3':
     Metadata:
       artist          : Paul
       album           : Underground Vol. 17
       title           : Crazy
       track           : 11/20
       date            : 2017
     Duration: 00:04:46.23, start: 0.000000, bitrate: 324 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
       Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         comment         : Cover (front)
    [mp3 @ 0x7fe50601aa00] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from '/opt/docker/tag_long.mp3':
     Metadata:
       genre           : Blues
       id3v2_priv.XMP  : &lt;?xpacket begin="\xef\xbb\xbf" id="W5M0MpCehiHzreSzNTczkc9d"?>\x0a\x0a \x0a  <rdf 128="128" kb="kb"></rdf>s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s
    File 'out.mp3' already exists. Overwrite ? [y/N] Y
    Stream mapping:
     Stream #0:0 (mp3float) -> amix:input0 (graph 0)
     Stream #1:0 (mp3float) -> amix:input1 (graph 0)
     volume (graph 0) -> Stream #0:0 (libmp3lame)
     Stream #0:1 -> #0:1 (mjpeg (native) -> png (native))
    Press [q] to stop, [?] for help
    [swscaler @ 0x7fe506045000] deprecated pixel format used, make sure you did set range correctly
    [mp3 @ 0x7fe507810000] Frame rate very high for a muxer not efficiently supporting it.
    Please consider specifying a lower framerate, a different muxer or -vsync 2
    Output #0, mp3, to 'out.mp3':
     Metadata:
       TPE1            : Paul
       TALB            : Underground Vol. 17
       TIT2            : Crazy
       TRCK            : 11/20
       TDRC            : 2017
       TSSE            : Lavf58.20.100
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
       Metadata:
         encoder         : Lavc58.35.100 libmp3lame
       Stream #0:1: Video: png, rgb24(progressive), 500x500 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc
       Metadata:
         comment         : Cover (front)
         encoder         : Lavc58.35.100 png
    frame=    1 fps=0.0 q=-0.0 Lsize=     496kB time=00:00:00.26 bitrate=15501.4kbits/s speed=0.336x    
    video:495kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.084876%
  • Unable to Record Video in Jenkins using ffmpeg in Windows System

    12 novembre 2018, par Deepak Kumar Susarla

    I am using ffmpeg to capture video while running protractor scripts. Below ffmpeg code is working fine, when I directly run in windows from command line and able to create the video.

    C:\Jenkins\workspace\test\node_modules\ffmpeg-binaries\bin\ffmpeg.exe -f gdigrab -framerate 30 -s 1024x768 -i desktop -g 1000 -q:v 18 C:\Jenkins\workspace\test\AutomationVideo\Automation-11-7-2018-17.6.23.mpg

    But when I run the same code through jenkins(installed in windows system), showing below error and video is not getting recorded. Please help me in resolving the issue.

    error is :[gdigrab @ 000002395689b400] Capturing whole desktop as 1024x768x32 at (0,0)

    error is :[gdigrab @ 000002395689b400] Failed to capture image (error 5)
    [gdigrab @ 000002395689b400] Could not find codec parameters for stream 0 (Video : bmp, none, 754987 kb/s) : unspecified size
    Consider increasing the value for the ’analyzeduration’ and ’probesize’ options

    Input #0, gdigrab, from ’desktop’ :
    Duration : N/A, bitrate : 754987 kb/s
    Stream #0:0 : Video : bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc

    Output #0, mpeg, to ’C :\Jenkins\workspace\test\AutomationVideo\Automation-11-7-2018-17.6.23.mpg’ :

    Output file #0 does not contain any stream

    ============================================================
    FFMPEG Binary Version used :4.0.0
    Windows OS : Windows 10
    Jenkins Version : 2.138.2

  • Merging two mp4 videos using ffmpeg

    12 novembre 2018, par kristian zivkovic

    I want to concatenate two mp4 videos using ffmpeg and i am a newbie in this area. I have tried to concat them using several commands and one of them is like this :

    ffmpeg -i "jingle.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "out/jingle.ts"
    ffmpeg -i "logo_jingle.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts "out/camera_video.ts"

    ffmpeg -i "concat:out/camera_video.ts|out/jingle.ts" -bsf:a aac_adtstoasc -vcodec output.mp4

    The result is that the second video last for a minute and it shows only black screen and it actually lasts 5 seconds. I also noticed that videos have different parameters so i tried to harmonize some of the parameters but with that the second video is showing but without sound and still lasts a minute.
    Here are the video parameters.
    First :

    ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg          developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-     suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu  --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl  --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable- decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls  --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable- libopencv
    libavutil      54. 31.100 / 54. 31.100
    libavcodec     56. 60.100 / 56. 60.100
    libavformat    56. 40.101 / 56. 40.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 40.101 /  5. 40.101
    libavresample   2.  1.  0 /  2.  1.  0
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  2.101 /  1.  2.101
    libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'gajba-1.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.40.101
     Duration: 00:00:24.32, start: 0.000000, bitrate: 1557 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,   1280x720 [SAR 1:1 DAR 16:9], 1479 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 87 kb/s (default)
    Metadata:
     handler_name    : SoundHandler

    Second :

    ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg  developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build- suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable- libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'logo_jingle.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2017-03-02 00:49:10
     Duration: 00:00:05.44, start: 0.000000, bitrate: 5689 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv),   1280x720 [SAR 1:1 DAR 16:9], 5475 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)
    Metadata:
     creation_time   : 2017-03-02 00:49:10
     handler_name    : Alias Data Handler
     encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
     creation_time   : 2017-03-02 00:49:10
     handler_name    : Alias Data Handler

    Can you tell me how to harmonize these videos and merge them in this particular example ?
    Thank you !