Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (50)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Ffmpeg : Audio/Video mixing but no sound

    14 janvier 2014, par user2914878

    I'm trying to add an audio file to a video file generated from images with FFmpeg.

    The command i am using on a Debian distrib is this one

    ffmpeg -r 1 -i edit%0d.jpg outputName.mp4 -i Test.mp3

    The video file is created but the audio is not working .

    Output : :

    > ffmpeg version 0.8.9-6:0.8.9-1, Copyright (c) 2000-2013 the Libav developers
     built on Nov  3 2013 00:54:50 with gcc 4.7.2
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [image2 @ 0x2283b20] max_analyze_duration reached
    Input #0, image2, from 'edit%0d.jpg':
     Duration: 00:00:24.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj420p, 800x600 [PAR 1:1 DAR 4:3], 1 fps, 1 tbr, 1 tbn, 1 tbc
    [mp3 @ 0x22d8840] max_analyze_duration reached
    [mp3 @ 0x22d8840] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'Test.mp3':
     Duration: 00:00:46.04, start: 0.000000, bitrate: 128 kb/s
       Stream #1.0: Audio: mp3, 16000 Hz, mono, s16, 128 kb/s
    [buffer @ 0x2287480] w:800 h:600 pixfmt:yuvj420p
    [libx264 @ 0x22d7d20] using SAR=1/1
    [libx264 @ 0x22d7d20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x22d7d20] profile Main, level 3.1
    [libx264 @ 0x22d7d20] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
    Output #0, mp4, to '6953289.mp4':
     Metadata:
       encoder         : Lavf53.21.1
       Stream #0.0: Video: libx264, yuvj420p, 800x600 [PAR 1:1 DAR 4:3], q=-1--1, 1 tbn, 1 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    frame=   24 fps= 16 q=17.0 Lsize=    1247kB time=23.00 bitrate= 444.1kbits/s
    video:1246kB audio:0kB global headers:0kB muxing overhead 0.079555%
    frame I:1     Avg QP:14.91  size: 65650
    [libx264 @ 0x22d7d20] frame P:23    Avg QP:14.94  size: 52587
    [libx264 @ 0x22d7d20] mb I  I16..4: 11.8%  0.0% 88.2%
    [libx264 @ 0x22d7d20] mb P  I16..4: 29.8%  0.0% 60.5%  P16..4:  6.8%  0.2%  0.3%  0.0%  0.0%    skip: 2.4%
    [libx264 @ 0x22d7d20] coded y,uvDC,uvAC intra: 73.2% 58.6% 49.7% inter: 9.2% 8.0% 1.2%
    [libx264 @ 0x22d7d20] i16 v,h,dc,p: 56% 24%  6% 14%
    [libx264 @ 0x22d7d20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 22% 12%  7%  7%  7%  7%  7%  7%
    [libx264 @ 0x22d7d20] i8c dc,h,v,p: 60% 17% 13%  9%
    [libx264 @ 0x22d7d20] Weighted P-Frames: Y:17.4% UV:17.4%
    [libx264 @ 0x22d7d20] ref P L0: 12.9%  8.0% 66.4% 12.8%
    [libx264 @ 0x22d7d20] kb/s:425.05

    On Windows it is working fine, i tried multiple scenarios but i can't seem to find the issue, maybe a codec problem ?

    Thank you !

    Update :

    I manage to fix it this way :

    ffmpeg -r 1 -i edit%0d.jpg -i Test.mp3 -ar 44100 -strict experimental
  • FFMPEG error while converting flv1 (flv) -> h264 (libx264)

    3 juillet 2016, par Kalivarapu

    I am trying to covert flv format video to h264 codec with mp4 format video, but am facing the following error :

    Command I executed :

    ffmpeg -i input_video.flv -c:v libx264 output.mp4

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

    Logs :

    ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
     built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --enable-opencl --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 41.100 / 56. 41.100
     libavformat    56. 36.100 / 56. 36.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, flv, from 'input.flv':
     Metadata:
       encoder         : Lavf53.24.2
     Duration: 00:00:53.32, start: 0.000000, bitrate: 787 kb/s
       Stream #0:0: Video: flv1, yuv420p, 320x240, 500 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp, 384 kb/s
    [libx264 @ 0x7ff885000c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7ff885000c00] profile High, level 1.3
    [libx264 @ 0x7ff885000c00] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libvo_aacenc @ 0x7ff885001e00] Unable to set encoding parameters
    Output #0, mp4, to 'output1.mp4':
     Metadata:
       encoder         : Lavf53.24.2
       Stream #0:0: Video: h264 (libx264), yuv420p, 320x240, q=-1--1, 25 fps, 25 tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.41.100 libx264
       Stream #0:1: Audio: aac, 0 channels, 128 kb/s
       Metadata:
         encoder         : Lavc56.41.100 libvo_aacenc
    Stream mapping:
     Stream #0:0 -> #0:0 (flv1 (flv) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (libvo_aacenc))
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    What could be the reason for this ?

  • Unable to record video without audio in windows using ffmpeg

    20 janvier 2017, par Syam Pradeep

    I am using ffmpeg to record the desktop on windows.Everything works fine if i play the audio in PC,when i try to record without playing any audio i am not able to get the desired output file.

    Used the following command to start the recording

    "-f gdigrab -framerate 10 -i desktop -f dshow -i audio="virtual-audio-capturer" -ac 2 -ar 44100 -acodec aac -ab 192k -pix_fmt yuv420p -r 30 -vcodec h264 -crf 27 -preset ultrafast -f mp4 Recording_2017-18-1--18-42-12.mp4"

    Got the following output in cmd line

    [gdigrab @ 037abaa0] Capturing whole desktop as 1600x900x32 at (0,0)
    [gdigrab @ 037abaa0] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, gdigrab, from 'desktop':
     Duration: N/A, start: 1484893527.269157, bitrate: 460804 kb/s
       Stream #0:0: Video: bmp, bgra, 1600x900, 460804 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbc
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, dshow, from 'audio=virtual-audio-capturer:':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    [libx264 @ 052e50a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 052e50a0] profile Constrained Baseline, level 4.0
    [libx264 @ 052e50a0] 264 - core 148 r2744 b97ae06 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 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=crf mbtree=0 crf=27.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    Output #0, mp4, to 'fileName.mp4':
     Metadata:
       encoder         : Lavf57.61.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1600x900, q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.70.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 192 kb/s
       Metadata:
         encoder         : Lavc57.70.100 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
     Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=N/A
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [aac @ 052e7360] Qavg: nan
    Exiting normally, received signal 2.

    The output file is 1 kb.