Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (96)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9884)

  • Stream webcam using ffmpeg/avconv to RTMP libx264 doesn't work

    15 mars 2016, par Erez Posner

    i have been trying to stream my webcam to Ustream using RTMP.

    using the standard command works great :

    "avconv -f video4linux2 -r 25 -s 320x240 -i /dev/video0 -f flv rtmp ://host/pass"

    but i encoutner a 15 seconds latency !
    therefore i decided to compress the video using libx264.
    i downloaded it and confirmed it is installed properly.
    but when running this command :

    "avconv -f video4linux2 -r 25 -s 320x240 -i /dev/video0 -c:v libx264 -pix_fmt yuv420p-f flv rtmp ://host/pass"

    on ffmpeg i get "Illegal instruction"
    and under avconv it starts to stream but nothing is shown in Ustream channel.

    output from avconv command

    avconv version 9.14-6:9.14-1rpi1rpi1, Copyright (c) 2000-2014 the
    Libav developers
    built on Jul 22 2014 15:08:12 with gcc 4.6 (Debian 4.6.3-14+rpi1)
    [video4linux2 @ 0x709740] The driver changed the time per frame from 1/5 to 1/30
       [video4linux2 @ 0x709740] Estimating duration from bitrate, this may
       be inaccurate
       Input #0, video4linux2, from '/dev/video0':
         Duration: N/A, start: 5069.991764, bitrate: 36864 kb/s
           Stream #0.0: Video: rawvideo, yuyv422, 320x240, 36864 kb/s, 1000k    tbn, 30 tbc
       [libx264 @ 0x70a9e0] using cpu capabilities: none!
       [libx264 @ 0x70a9e0] profile High, level 1.2
       [libx264 @ 0x70a9e0] 264 - core 130 r2282 1db4621 - H.264/MPEG-4 AVC
       codec - Copyleft 2003-2013 - 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=1 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=5 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, flv, to
       'rtmp:host/pass:
         Metadata:
           encoder         : Lavf54.20.4
           Stream #0.0: Video: libx264, yuv420p, 320x240, q=-1--1, 1k tbn, 5 tbc
       Stream mapping:
         Stream #0:0 -> #0:0 (rawvideo -> libx264)
       Press ctrl-c to stop encoding
       frame=   44 fps=  3 q=23.0 size=      26kB time=0.20
       bitrate=1071.8kbits/s    bits/s

    what could be the problem ?
    thank you in advanced

  • 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
  • Remove Rotate metadata from mp4

    2 avril 2014, par mbajur

    I'm trying to remove or modify a rotate param from my mp4 file using ffmpeg. Based on some google results, i've ended up with such command (i've tried a few more but none of them worked) :

    $ ffmpeg -i ./source.mp4 -metadata rotate=0 ./output.mp4

    But it's not working at all. The rotate=270 metadata param is still there in the output file. Can you please advise me on how it should be done ?

    I'm using

    ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers
     built on Dec  9 2013 20:00:03 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid

    Output :

    ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers
     built on Dec  9 2013 20:00:03 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/michal/Downloads/mp4_c8ffe9a587b126f152ed3d89a146b445.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.63.104
     Duration: 00:00:13.80, start: 0.021333, bitrate: 437 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 313 kb/s, 7.50 fps, 7.50 tbr, 15360 tbn, 15 tbc
       Metadata:
         rotate          : 270
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 134 kb/s
       Metadata:
         handler_name    : SoundHandler
    File '/Users/michal/Desktop/mp4.mp4' already exists. Overwrite ? [y/N] y
    using SAR=1/1
    [libx264 @ 0x7fb17b01ec00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x7fb17b01ec00] profile High, level 2.2
    [libx264 @ 0x7fb17b01ec00] 264 - core 125 - 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=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=7 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
    Output #0, mp4, to '/Users/michal/Desktop/mp4.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       rotate          : 0
       encoder         : Lavf54.63.104
       Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 15360 tbn, 7.50 tbc
       Metadata:
         rotate          : 270
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libfaac)
    Press [q] to stop, [?] for help
    frame=   99 fps= 39 q=32766.0 Lsize=     730kB time=00:00:13.80 bitrate= 433.1kbits/s    
    video:497kB audio:226kB subtitle:0 global headers:0kB muxing overhead 0.821272%
    [libx264 @ 0x7fb17b01ec00] frame I:8     Avg QP:14.85  size: 11183
    [libx264 @ 0x7fb17b01ec00] frame P:68    Avg QP:17.68  size:  5348
    [libx264 @ 0x7fb17b01ec00] frame B:23    Avg QP:18.26  size:  2419
    [libx264 @ 0x7fb17b01ec00] consecutive B-frames: 53.5% 46.5%  0.0%  0.0%
    [libx264 @ 0x7fb17b01ec00] mb I  I16..4: 31.9% 55.9% 12.1%
    [libx264 @ 0x7fb17b01ec00] mb P  I16..4:  8.2%  9.1%  0.3%  P16..4: 54.3% 13.0%  7.6%  0.0%  0.0%    skip: 7.4%
    [libx264 @ 0x7fb17b01ec00] mb B  I16..4:  0.2%  0.2%  0.0%  B16..8: 49.9%  4.0%  0.3%  direct: 8.6%  skip:36.8%  L0:45.5% L1:50.9% BI: 3.6%
    [libx264 @ 0x7fb17b01ec00] 8x8 transform intra:53.3% inter:90.4%
    [libx264 @ 0x7fb17b01ec00] coded y,uvDC,uvAC intra: 41.7% 90.1% 55.3% inter: 23.9% 56.7% 7.1%
    [libx264 @ 0x7fb17b01ec00] i16 v,h,dc,p: 12% 20% 10% 59%
    [libx264 @ 0x7fb17b01ec00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 20% 28%  8%  8%  4%  8%  5%  5%
    [libx264 @ 0x7fb17b01ec00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 18%  6% 11%  5%  8%  3%  3%
    [libx264 @ 0x7fb17b01ec00] i8c dc,h,v,p: 57% 22% 18%  4%
    [libx264 @ 0x7fb17b01ec00] Weighted P-Frames: Y:5.9% UV:0.0%
    [libx264 @ 0x7fb17b01ec00] ref P L0: 61.2%  2.2% 23.5% 12.5%  0.6%
    [libx264 @ 0x7fb17b01ec00] ref B L0: 74.2% 25.8%
    [libx264 @ 0x7fb17b01ec00] kb/s:308.34