Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (22)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (6086)

  • error when converting mts to mp4

    6 janvier 2015, par Chan Kim

    I have many video files that I want to convert to mp4.
    so I installed ffmpeg on my win7 PC (64 bit) which is using shared library.
    I tried to convert an MTS file to MP4 and I get this error.
    What is the problem ?

    $ ffmpeg -i 20140806114251.MTS 20140806114251.mp4
    ffmpeg version N-68788-g37b35fe Copyright (c) 2000-2014 the FFmpeg developers
     built on Dec 30 2014 22:18:55 with gcc 4.9.2 (GCC)
     configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 19.100 / 56. 19.100
     libavformat    56. 16.102 / 56. 16.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  6.100 /  5.  6.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mpegts, from '20140806114251.MTS':
     Duration: 00:00:19.04, start: 1.033367, bitrate: 16273 kb/s
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
       Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
    [libx264 @ 0000000002b60a20] using SAR=1/1
    [libx264 @ 0000000002b60a20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0000000002b60a20] profile High, level 4.0
    [libx264 @ 0000000002b60a20] 264 - core 144 r2525 40bb568 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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 @ 00000000028a4020] Unable to set encoding parameters
    Output #0, mp4, to '20140806114251.mp4':
       Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 29.97 tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc56.19.100 libx264
       Stream #0:1: Audio: aac, 0 channels, 128 kb/s
       Metadata:
         encoder         : Lavc56.19.100 libvo_aacenc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (ac3 (native) -> aac (libvo_aacenc))
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    EDIT : I thought I solved this problem by using

    ffmpeg -i filename1.mts filename1.mkv

    my Samsung LED TV supports mkv file and during the conversion, it shows

     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (ac3 (native) -> vorbis (libvorbis))

    But Alas ! my TV doesn’t support vorbis codec. It only supports mp3, ac3, lpcm, and ADPCM when using mkv container. So the question is : How do people select output audio codec ?

  • How to use ffmpeg convert this file,the normal args can't convert it,it just convert one frame

    18 juillet 2017, par ggggle

    The Video Link is here.

    $ffmpeg -i 9.mp4 out.mp4
    ffmpeg version N-86676-g45dbb40cd1-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 67.100 / 55. 67.100
     libavcodec     57.100.102 / 57.100.102
     libavformat    57. 75.100 / 57. 75.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 94.100 /  6. 94.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '9.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       artist          : moodyz
       encoder         : Lavf57.75.100
       copyright       : moodyz
     Duration: 00:00:21.02, start: 0.000000, bitrate: 5662 kb/s
       Stream #0:0(jpn): Video: vc1 (Advanced) (vc-1 / 0x312D6376), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5658 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (vc1 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 0x3eabba0] using SAR=1/1
    [libx264 @ 0x3eabba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x3eabba0] profile High, level 4.0
    [libx264 @ 0x3eabba0] 264 - core 152 r19 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=3 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
    Output #0, mp4, to 'out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       artist          : moodyz
       copyright       : moodyz
       encoder         : Lavf57.75.100
       Stream #0:0(jpn): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc57.100.102 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=    1 fps=0.0 q=29.0 Lsize=      33kB time=00:00:00.00 bitrate=8254060.6kbits/s speed=0.000122x    
    video:32kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.640781%
    [libx264 @ 0x3eabba0] frame I:1     Avg QP:23.97  size: 32485
    [libx264 @ 0x3eabba0] mb I  I16..4: 24.7% 72.0%  3.3%
    [libx264 @ 0x3eabba0] 8x8 transform intra:72.0%
    [libx264 @ 0x3eabba0] coded y,uvDC,uvAC intra: 31.5% 51.4% 4.9%
    [libx264 @ 0x3eabba0] i16 v,h,dc,p: 50% 28% 11% 10%
    [libx264 @ 0x3eabba0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 58% 19% 17%  1%  1%  1%  1%  1%  1%
    [libx264 @ 0x3eabba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 53% 22%  7%  4%  2%  5%  2%  3%  2%
    [libx264 @ 0x3eabba0] i8c dc,h,v,p: 47% 20% 31%  2%
    [libx264 @ 0x3eabba0] kb/s:7788.61

    As you can see,original video "Duration : 00:00:21.02",but the output file only "Duration 00:00:00.03".And the program exit no error.

    It didn’t convert entire file.

    What args I need to add ?

  • Merging audio at specific time with ffmpeg

    19 octobre 2015, par Deepu

    I was trying to merge audio with ffmpeg with the following command but the audio is merging at starting point.

    ffmpeg -i output-1146.mp4 -i org-EOLWAudio.mp3 -filter_complex " [0:a]atrim=start=0,asetpts=PTS-STARTPTS[aud1]; [1:a]atrim=0:250,asetpts=PTS+100/TB[aud2]; [aud1][aud2]amix=inputs=2[aout]" -map 0:v -map "[aout]" -crf 24 -pix_fmt yuv420p -c:v libx264 -c:a aac -strict -2 -ac 2 output-1246.mp4

    With this command it is merging audio streams but not specified point of time.

    I want to merge audio of a mp3 file from 0 to 250 seconds audio to video
    Starting at 4th minute to 8.10 minute.

    Output :

    ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
     configuration: --arch=x86_64 --optflags='-02 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --[aram=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --enable-runtime-cpudetect
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output-1146.mp4':

    Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.25.101
     Duration: 00:15:03.80, start: 0.064000, bitrate: 212 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1366x768, 137 kb/s, 5 fps, 5 tbr, 10240 tbn, 10 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, stereo, fltp, 116 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Input #1, mp3, from 'org-EOLWAudio.mp3':
     Metadata:
       novideocodec    : 0
       server          : Red5
       creationdate    : Wed Sep 23 15:51:29 IST 2015
       canSeekToEnd    : true
       encoder         : Lavf56.25.101
     Duration: 00:14:00.74, start: 0.069063, bitrate: 48 kb/s
       Stream #1:0: Audio: mp3, 16000 Hz, stereo, s16p, 48 kb/s

    [libx264 @ 0x9d67440] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x9d67440] profile High, level 3.2
    [libx264 @ 0x9d67440] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=24.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00