Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (43)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (7936)

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

  • ffmpeg : "Referenced QT chapter track not found"

    29 avril 2019, par Ze'ev

    Using ffmpeg to replace audio in a QuickTime with audio from a WAV.

    Anyone know why I’m getting Referenced QT chapter track not found ?

    Command :

    $ ffmpeg \
    -i "$video" -t 25 \
    -i "$audio" -map 0:v -c:v copy -map 1:a -c:a pcm_s24le -ar 48000 \
    -hide_banner "$output"

    Output :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7faf62010600] Referenced QT chapter track not found
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2018-11-06T09:27:43.000000Z
     Duration: 00:00:25.00, start: 0.000000, bitrate: 186987 kb/s
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 185115 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2018-11-06T09:27:43.000000Z
         handler_name    : Apple Alias Data Handler
         encoder         : Apple ProRes 422 (HQ)
         timecode        : 00:00:00:00
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
       Metadata:
         creation_time   : 2018-11-06T09:27:43.000000Z
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2018-11-06T09:27:43.000000Z
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, wav, from 'audio.wav':
     Metadata:
       encoded_by      : Pro Tools
       originator_reference: aaOpKJaTN7Nk
       date            : 2018-11-08
       creation_time   : 13:53:50
       time_reference  : 166698000
     Duration: 00:00:25.00, bitrate: 2128 kb/s
       Stream #1:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s32 (24 bit), 2116 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (pcm_s24le (native) -> pcm_s24le (native))
    Press [q] to stop, [?] for help
    Output #0, mov, to 'test19.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       encoder         : Lavf58.12.100
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 185115 kb/s, 0.04 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2018-11-06T09:27:43.000000Z
         handler_name    : Apple Alias Data Handler
         encoder         : Apple ProRes 422 (HQ)
         timecode        : 00:00:00:00
       Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
       Metadata:
         encoder         : Lavc58.18.100 pcm_s24le
    frame=  625 fps=277 q=-1.0 Lsize=  566343kB time=00:00:24.96 bitrate=185876.0kbits/s speed=11.1x
    video:564928kB audio:1406kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001496%

    Same error with -map 0:v:0

  • ffmbc : QuickTime to XDCAMHD422 MXF

    13 novembre 2018, par Ze'ev

    Trying to create an XDCAMHD422 MXF with video from a QuickTime and audio from a stereo WAV.

    Audio is pcm_s24le, 48000 Hz, 2 channels, s32

    But output is mixed :

    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.2(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s

    And shows alert : Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting format 's16'

    (For XDCAM, it’s necessary to split stereo into dual mono.)

    Command :

    ffmbc -i "$v" -i "$a" -tff -timecode 07:00:00:00 \
    -map_audio_channel 1:0:0:0:1:0 \
    -map_audio_channel 1:0:1:0:2:0 \
    -acodec pcm_s24le -ar 48000 -ac 2 \
    -target xdcamhd422 -vtag xd5c -y  -t 1 "$o" \
    -acodec pcm_s24le -newaudio

    Output :

    FFmbc version 0.7.2
    Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mov':
     Metadata:
       major_brand: qt
       minor_version: 537199360
       compatible_brands: qt
       timecode: 00:00:00:00
     Duration: 00:00:30.00, bitrate: 188317 kb/s
       Stream #0.0(eng): Video: prores, yuv422p10le, 1920x1080p, 186502 kb/s, PAR 1:1 DAR 16:9, 25.00 fps
       Metadata:
         codec_name: Apple ProRes 422 (HQ)
       Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
       Stream #0.2(eng): Data: unknown (tmcd)
    Input #1, wav, from 'audio.wav':
     Metadata:
       encoded_by: Pro Tools
       originator_reference: aaOpK7OBThOk
       date: 2018-11-08
       creation_time: 14:10:50
       time_reference: 175680000
     Duration: 00:00:30.00, bitrate: 2316 kb/s
       Stream #1.0(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
    [scale @ 0x7ff9f48009a0] w:1920 h:1080 fmt:yuv422p10le -> w:1920 h:1080 fmt:yuv422p flags:0x4 il:0
    Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting format 's16'
    Output #0, mxf, to 'mxftest3.mxf':
     Metadata:
       encoder: FFmbc 0.7
       Stream #0.0(und): Video: mpeg2video, yuv422p, 1920x1080i tff [PAR 1:1 DAR 16:9], cbr, 50000 kb/s, 25.00 fps
       Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
       Stream #0.2(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #1.0 -> #0.1 [channel: 0 -> 0]
     Stream #1.0 -> #0.2 [channel: 1 -> 0]
    Press [q] to stop, [?] for help
    frame=   25 fps=  8 q=2.0 Lsize=    7586kB time=00:00:01.00 bitrate=62145.0kbits/s
    video:7309kB audio:236kB global headers:0kB muxing overhead 0.541060%