Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (98)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (10540)

  • How create with ffmpeg a *.mov file which could be opened in default WMP ?

    22 mai 2016, par xiaose

    How create MOV, QuickTime Movie (.mov) which could be opened in default Windows Media Player ? Actually, smth. like this : http://cdn.online-convert.com/example-file/video/mov/example.mov

    I have files MPEG-1 or MPEG-2 and want to convert it with ffmpeg to the mov. Sure, I can write smth. like this :

    ffmpeg -i in.mpg -level 3.1 -vformat mpeg4 -qscale 1 -f mov out.mov

    ...and this will be Ok. But I need resulting file which will be correct MOV but, may be, without mpeg4 in it and played in WMP without installing any additional codecs

  • ffmpeg splitting RGB and Alpha channels using filter

    29 juin 2012, par Dow

    I'm trying to use ffmpeg to split an input file into two separate files :

    1. An MP4 with only R,G and B channels
    2. An MP4 with the "extracted" A channel (a so-called Key clip, see http://ffmpeg-users.933282.n4.nabble.com/quot-Extracting-quot-Alpha-Channel-td3700227.html)

    I've managed to do both, but now I want to combine them into one single command. Here's what I do :

    ffmpeg -r $FPS -y -i input.flv -vcodec libx264 -vpre ipod640 -acodec libfaac -s 256x256 -r $FPS -filter_complex INSERT_FILTER_HERE rgb.mp4 alpha.mp4

    where INSERT_FILTER_HERE is :

    format=rgba, split [rgb_in][alpha_in];
    [rgb_in] fifo, lutrgb=a=minval [rgb_out];
    [alpha_in] format=rgba, split [T1], fifo, lutrgb=r=maxval:g=maxval:b=maxval, [T2] overlay [out];
    [T1] fifo, lutrgb=r=minval:g=minval:b=minval [T2]

    In short, I split the file into two streams, for the first stream, I "remove" the alpha channel, for the second stream, I extract a grayscale representation of the alpha channel. When I put this through graph2dot, it works fine, with a nullsink as output.

    However, when I run it in ffmpeg with -filter_complex, I get :

    ffmpeg version N-41994-g782763e Copyright (c) 2000-2012 the FFmpeg developers
     built on Jun 28 2012 17:45:15 with gcc 4.6.3
     configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-filters --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libtheora --enable-libvpx --enable-postproc --enable-avfilter
     libavutil      51. 63.100 / 51. 63.100
     libavcodec     54. 29.101 / 54. 29.101
     libavformat    54. 11.100 / 54. 11.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     3.  0.100 /  3.  0.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, flv, from 'input.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
     Duration: 00:01:10.56, start: 0.000000, bitrate: 1964 kb/s
       Stream #0:0: Video: vp6a, yuva420p, 800x950, 1536 kb/s, 25 tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
    [graph 0 input from stream 0:0 @ 0x2e4c6e0] w:800 h:950 pixfmt:yuva420p tb:1/30 fr:30/1 sar:0/1 sws_param:flags=2
    Output pad "default" for the filter "Parsed_lutrgb_3" of type "lutrgb" not connected to any destination

    Any ideas on how I make ffmpeg recognize that it has to write [rgb_out] to rgb.mp4 and [out] to alpha.mp3 ?

    Thanks in advance !

  • Ffmpeg and png watermark on OSX error

    28 juin 2012, par Stpn

    I am trying to add watermark with transparent background on OSX with ffmpeg.

    I am using this command :

    ffmpeg -i test.mpg -vf "movie=stuff.png, scale=100:100 [watermark]; [in][watermark] overlay=main_w-overlay_w:main_h-overlay_h-10 [out]"  out.mpg

    And I am getting this :

    ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jun 12 2012 21:37:10 with clang 3.1 (tags/Apple/clang-318.0.54)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/clang --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc --disable-ffplay
     libavutil      51. 54.100 / 51. 54.100
     libavcodec     54. 23.100 / 54. 23.100
     libavformat    54.  6.100 / 54.  6.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     2. 77.100 /  2. 77.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mpeg, from 'test.mpg':
     Duration: 00:00:01.04, start: 1.000000, bitrate: 9106 kb/s
       Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 24 fps, 24 tbr, 90k tbn, 24 tbc
       Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s
    File 'out.mpg' already exists. Overwrite ? [y/N] y
    w:640 h:480 pixfmt:yuv420p tb:1/90000 sar:1/1 sws_param:flags=2
    [buffersink @ 0x7ff50bc1c3e0] No opaque field provided
    [png @ 0x7ff50c038400] unsupported bit depth 16 and color type 4
    [image2 @ 0x7ff50c044800] decoding for stream 0 failed
    [image2 @ 0x7ff50c044800] Could not find codec parameters (Video: png, 640x480)
    [movie @ 0x7ff50bc17200] Failed to find stream info
    [movie @ 0x7ff50bc17200] seek_point:0 format_name:(null) file_name:stuff.png stream_index:0
    [scale @ 0x7ff50bc178c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_movie_0' and the filter 'Parsed_scale_1'
    Impossible to convert between the formats supported by the filter 'Parsed_movie_0' and the filter 'auto-inserted scaler 0'
    Error opening filters!

    I thought I am missing png support and I checked homebrew for libpng install, but it turn out png support is already included by Apple with OSX.

    Also I did

    ffmpeg -codecs list | grep -i png

    and I do have PNG support in ffmpeg :

    DEV D  png             PNG (Portable Network Graphics) image