Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (85)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (10594)

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

    6 juillet 2016, par olega

    Found a lot of helpful answers. But could not find for my problem.
    I am trying to convert .mp4 to .webm. I tried with parameters, without them (like below), but always got same result :

    ================


    Converting (dseoFRQrJehleLDHPdcB.mp4) started - Tue - Jul 05, 2016 @ 06:29 PM


    /usr/local/bin/ffmpeg -i public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4 public_html/uploads/dseoFRQrJehleLDHPdcB.webm

    ffmpeg version N-80913-gd915b6e Copyright (c) 2000-2016 the FFmpeg developers

    built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)

    configuration : —enable-libvpx —enable-libvorbis

    libavutil 55. 28.100 / 55. 28.100

    libavcodec 57. 48.101 / 57. 48.101

    libavformat 57. 41.100 / 57. 41.100

    libavdevice 57. 0.102 / 57. 0.102

    libavfilter 6. 47.100 / 6. 47.100

    libswscale 4. 1.100 / 4. 1.100

    libswresample 2. 1.100 / 2. 1.100

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
    ’/home/supergirl/public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4’ :

    Metadata :

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    creation_time   : 1970-01-01 00:00:00

    encoder         : Lavf53.24.2

    Duration : 00:00:05.31, start : 0.000000, bitrate : 1589 kb/s

    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : VideoHandler

    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : SoundHandler

    [libvpx @ 0x21fd880] v1.2.0

    [libvpx @ 0x21fd880] Failed to initialize encoder : ABI version mismatch

    Output #0, webm, to ’/home/supergirl/public_html/uploads/dseoFRQrJehleLDHPdcB.webm’ :

    Metadata :

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    encoder         : Lavf53.24.2

    Stream #0:0(und): Unknown: none, SAR 1:1 DAR 0:0 (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : VideoHandler

     encoder         : Lavc57.48.101 libvpx

    Stream #0:1(und): Unknown: none (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : SoundHandler

     encoder         : Lavc57.48.101 libvorbis

    Stream mapping :

    Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))

    Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))

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

    ================

    Any suggestions, please ?

  • FFMPEG - Concatenate 2 MP4 Files, one has video and audio and the other has only audio

    5 août 2016, par Avi

    I am trying to merge 2 mp4 files using FFMPEG. One of these files has both video and audio (track1.mp4), while the other one has only audio (track2.mp4). The names of these files are listed in a text file called 'filesToMerge.txt' in the following manner :

    file 'track1.mp4'
    file 'track2.mp4'

    I then execute the following ffmpeg command to merge them.

    ffmpeg -f concat -i filesToMerge.txt -c copy output.mp4

    However, the concatenated file that is generated consists of only the first file that is listed in filesToMerge.txt. That is, if track1.mp4 (which has both video and audio) is the first file in the list, then only that file makes up output.mp4 (the concatenated file produced) and vice versa.

    I would like for both files to be in output.mp4. I am using Ubuntu 14.04 (if that helps). How can I solve this problem ?

    When I run this command
    ffmpeg -i track1.mp4 -i track2.mp4 output.mp4
    I get the following

    ffmpeg version N-76944-g15206ff Copyright (c) 2000-2015 the FFmpeg developers
         built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
         configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
         libavutil      55.  9.100 / 55.  9.100
         libavcodec     57. 16.101 / 57. 16.101
         libavformat    57. 19.100 / 57. 19.100
         libavdevice    57.  0.100 / 57.  0.100
         libavfilter     6. 17.100 /  6. 17.100
         libavresample   3.  0.  0 /  3.  0.  0
         libswscale      4.  0.100 /  4.  0.100
         libswresample   2.  0.101 /  2.  0.101
         libpostproc    54.  0.100 / 54.  0.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'track1.mp4':
         Metadata:
           major_brand     : isom
           minor_version   : 512
           compatible_brands: isomiso2avc1mp41
           encoder         : Lavf56.40.101
         Duration: 00:00:10.76, start: 0.023220, bitrate: 351 kb/s
           Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 800x400 [SAR 400:533 DAR 800:533], 181 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
           Metadata:
             handler_name    : VideoHandler
           Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 194 kb/s (default)
           Metadata:
             handler_name    : SoundHandler
       Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'track2.mp4':
         Metadata:
           major_brand     : isom
           minor_version   : 512
           compatible_brands: isomiso2mp41
           creation_time   : 1970-01-01 00:00:00
           encoder         : Lavf52.32.0
         Duration: 00:00:32.21, start: 0.000000, bitrate: 46 kb/s
           Stream #1:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 43 kb/s (default)
           Metadata:
             creation_time   : 1970-01-01 00:00:00
             handler_name    : SoundHandler
       [libx264 @ 0x3950ce0] using SAR=400/533
       [libx264 @ 0x3950ce0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
       [libx264 @ 0x3950ce0] profile High, level 3.0
       [libx264 @ 0x3950ce0] 264 - core 142 r2491 24e4fed - 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=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=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 'output.mp4':
         Metadata:
           major_brand     : isom
           minor_version   : 512
           compatible_brands: isomiso2avc1mp41
           encoder         : Lavf57.19.100
           Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 800x400 [SAR 400:533 DAR 800:533], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
           Metadata:
             handler_name    : VideoHandler
             encoder         : Lavc57.16.101 libx264
           Stream #0:1(und): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s (default)
           Metadata:
             handler_name    : SoundHandler
             encoder         : Lavc57.16.101 libfdk_aac
       Stream mapping:
         Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
         Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
       Press [q] to stop, [?] for help
       frame=  270 fps= 99 q=28.0 Lsize=     382kB time=00:00:10.72 bitrate= 291.9kbits/s dup=1 drop=0    
       video:230kB audio:143kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.482656%
       [libx264 @ 0x3950ce0] frame I:2     Avg QP:18.87  size:109452
       [libx264 @ 0x3950ce0] frame P:68    Avg QP:15.09  size:   171
       [libx264 @ 0x3950ce0] frame B:200   Avg QP:23.33  size:    23
       [libx264 @ 0x3950ce0] consecutive B-frames:  1.1%  0.0%  1.1% 97.8%
       [libx264 @ 0x3950ce0] mb I  I16..4: 11.0% 39.6% 49.5%
       [libx264 @ 0x3950ce0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  5.9%  0.1%  0.0%  0.0%  0.0%    skip:93.9%
       [libx264 @ 0x3950ce0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.3%  0.0%  0.0%  direct: 0.0%  skip:99.7%  L0:21.8% L1:78.2% BI: 0.0%
       [libx264 @ 0x3950ce0] 8x8 transform intra:39.7% inter:92.8%
       [libx264 @ 0x3950ce0] coded y,uvDC,uvAC intra: 92.0% 95.0% 73.2% inter: 0.1% 1.4% 0.0%
       [libx264 @ 0x3950ce0] i16 v,h,dc,p:  1% 30%  4% 66%
       [libx264 @ 0x3950ce0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  6% 55% 16%  2%  4%  2%  8%  2%  6%
       [libx264 @ 0x3950ce0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 18% 13%  7%  9%  7% 12%  6% 11%
       [libx264 @ 0x3950ce0] i8c dc,h,v,p: 44% 35% 10% 11%
       [libx264 @ 0x3950ce0] Weighted P-Frames: Y:0.0% UV:0.0%
       [libx264 @ 0x3950ce0] ref P L0: 98.1%  0.2%  1.1%  0.5%
       [libx264 @ 0x3950ce0] ref B L0: 85.1% 13.2%  1.7%
       [libx264 @ 0x3950ce0] ref B L1: 93.6%  6.4%
       [libx264 @ 0x3950ce0] kb/s:174.10
  • FFmpeg Hardware Acceleration with NVENC produces Half Green output video

    17 juin 2016, par Dan Sandland

    Using the FFmpeg build found here : https://github.com/illuspas/ffmpeg-hw-win32

    gcc 5.3.0
    --enable-nvenc nvidia_video_sdk_6.0.1
    --enable-libmfx Intel(R)_Media_SDK_2016.0.1
    --enable-libfdk-aac 0.1.4
    --enable-libspeex 1.2rc1
    --enable-libx264 1:148.20150725
    --enable-libopenh264 1.5.0
    --enable-libx265 1.8
    --enable-libopus 1.1.2
    --enable-libmp3lame 3.99.5
    --enable-libkvazaar 0.8.2

    ./configure —prefix=/home/aliang/FFmpeg/x86_64 —enable-small —disable-debug —disable-doc —arch=x86_64 —cc=’ccache x86_64-w64-mingw32-gcc’ —cross-prefix=x86_64-w64-mingw32- —enable-cross-compile —target-os=mingw32 —enable-libfdk-aac —enable-libmp3lame —enable-libopus —enable-libspeex —enable-libx264 —enable-libx265 —enable-libmfx —enable-nvenc —enable-libopenh264 —enable-libkvazaar —enable-gpl —enable-nonfree

    I’m running Windows on a MacBook Pro. I also tried with a more recent build and had the same output.

    Input video is from sample-videos.com.

    The ffmpeg command I am running is :

    ffmpeg -y -i sample.mp4 -vcodec nvenc_h264 -pixel_format yuv420p -f mp4 sample-out-nvenc.mp4

    sample-out-nvenc.mp4 looks like this via ffplay or vlc :

    enter image description here

    When I grab a frame using jpeg2, the colors appear normal, but the height is squished.

    ffmpeg -y -ss 15.5 -i sample.mp4 -vframes 1 -s 480x300 -f image2 grab.jpg

    enter image description here

    The ffprobe results for the output (sample-out-nvenc.mp4) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample-out-nvenc.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.25.100
     Duration: 00:00:31.02, start: 0.021333, bitrate: 1994 kb/s
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 1650 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 342 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    Lastly the output from the nvenc encoding command :

    ffmpeg -y -i sample.mp4 -vcodec nvenc_h264 -pixel_format yuv420p -f mp4 sample-out-nvenc.mp4
    ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --prefix=/home/aliang/FFmpeg/x86_64 --enable-small --disable-debug --disable-doc --arch=x86_64 --cc='ccache x86_64-w64-mingw32-gcc' --cross-prefix=x86_64-w64-mingw32- --enable-cross-compile --target-os=mingw32 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libx264 --enable-libx265 --enable-libmfx --enable-nvenc --enable-libopenh264 --enable-libkvazaar --enable-gpl --enable-nonfree
     libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.24.2
     Duration: 00:00:31.00, start: 0.000000, bitrate: 1353 kb/s
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 966 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 383 kb/s (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
    Output #0, mp4, to 'sample-out-nvenc.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.25.100
       Stream #0:0(und): Video: h264 (nvenc_h264) ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 2000 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
         encoder         : Lavc57.24.102 nvenc_h264
       Side data:
         unknown side data type 10 (24 bytes)
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, 5.1, fltp, 341 kb/s (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
         encoder         : Lavc57.24.102 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc_h264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame=  774 fps=253 q=-0.0 Lsize=    7551kB time=00:00:30.99 bitrate=1995.6kbits/s speed=10.1x
    video:6236kB audio:1297kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.243011%
    [aac @ 000001cdd9900520] Qavg: 743.457