Recherche avancée

Médias (91)

Autres articles (63)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (14223)

  • ffmpeg unrecognized option 'segment_list_flags'

    28 septembre 2012, par user1704620

    this is my first time ever posting a question on here, so bear with me. I'm using Ubuntu 12.04 and ffmpeg version 0.11.2, and I'm trying to capture a video from /dev/video0, segment the videos, and then create an m3u8 list file that lists all the segments. According to the ffmpeg documentation at http://ffmpeg.org/ffmpeg.html#Synopsis , ffmpeg supports certain options when creating a list file like '-segment_list_flags' and '-segment_list_type'. When I tried implementing these into my script, though, I just got an error that said :"unrecognized option 'segment_list_flags'" or "unrecognized option 'segment_list_type'". The actual command that I'm typing in looks like this :

     ffmpeg -f video4linux2 -s wvga -t ${CAPTURE_DURATION} -i "/dev/video0" \
     -vcodec ${VID_CODEC} -b:v 96k -flags +loop -cmp +chroma \
     -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 1 -coder 0 \
     -me_range 16 -keyint_min 25 -sc_threshold 40 -map 0 -flags -global_header \
     -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' \
     -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30 \
     -async 2 -preset fast -crf 22 -threads 0 -sameq -f segment -segment_time ${SEG_TIME} \
     -segment_list ${LOCATE}${OUTPUT}_first.m3u8 -segment_list_flags +live \
     -segment_list_size ${SEG_LIST_SIZE} -segment_format ${SEG_FORMAT} -acodec libmp3lame \
     -ar 4800 -ab 64k -y "${LOCATE}${OUTPUT}%01d.${EXTENSION}"

    In other parts of my script, I obviously have those variables that you see defined, and they all work fine. I should mention that before I tried implementing the -segment_list_flags option, it did spit out a list file, but it wasn't a legal .m3u8 list file that I would need for Http Live Streaming. It just sequentially listed the different $LOCATE$OUPUT segments that I told it to create.

    The full output of my command in the terminal is this :

    ffmpeg version 0.11.2 Copyright (c) 2000-2012 the FFmpeg developers
     built on Sep 27 2012 13:32:44 with gcc 4.6.3
     configuration: --enable-gpl --enable-gray --enable-runtime-cpudetect --enable-bzlib --enable-gnutls --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-openssl --enable-zlib --enable-nonfree --enable-version3 --enable-x11grab

     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

    [video4linux2,v4l2 @ 0x30e1e80] The V4L2 driver changed the video from 852x480 to 640x480
    [video4linux2,v4l2 @ 0x30e1e80] Estimating duration from bitrate, this may be inaccurate
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 10590.729975, bitrate: 110592 kb/s
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480, 110592 kb/s, 30 tbr, 1000k tbn, 30 tbc
    Unrecognized option 'segment_list_flags'
    Failed to set value '+live' for option 'segment_list_flags'

    If any one knows why it's giving me this error, I'd really appreciate if you could help out. Maybe I don't have some option enabled from the ./configure ?

  • Bad quality output with FFmpeg, bitrate specified [closed]

    28 septembre 2012, par Darkman2412

    I have a static background image where I add 2 videos on top of it using FFmpeg CLI. The output file (test.avi in this case), is very bad quality.

    ffmpeg -loop 1 -i outro.png
         -vf "movie='intro.mov' [last], [last]scale=512:288[scaled1], [in][scaled1] overlay=290:396 [tmp];
              movie='intro2.mov' [featured], [featured]scale=512:288[scaled2], [tmp][scaled2] overlay=1118:396 [out]" -b 512k -t 10 -r 30 -y test.avi

    The first image is the first frame of test.avi.
    The second one is what it should be.

    image 1

    image 2

    Edit : my question is why it's such bad quality.

    Edit2 : Console output :

    ffmpeg version N-44601-gcb3591e Copyright (c) 2000-2012 the FFmpeg developers
     built on Sep 19 2012 16:31:43 with gcc 4.7.1 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      51. 73.101 / 51. 73.101
     libavcodec     54. 56.100 / 54. 56.100
     libavformat    54. 27.101 / 54. 27.101
     libavdevice    54.  2.100 / 54.  2.100
     libavfilter     3. 16.104 /  3. 16.104
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    [image2 @ 0000000001f4fa40] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, image2, from 'outro.png':
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgba64be, 1920x1080, 25 tbr, 25 tbn, 25 tbc
    Please use -q:a or -q:v, -qscale is ambiguous
    Output #0, avi, to 'test.avi':
     Metadata:
       ISFT            : Lavf54.27.101
       Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080, q=2-31, 200 kb/s, 30 tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (png -> mpeg4)
    Press [q] to stop, [?] for help
    frame=    6 fps=0.0 q=2.0 size=      72kB time=00:00:00.23 bitrate=2527.9kbits/s    
    frame=   12 fps= 11 q=2.0 size=     115kB time=00:00:00.46 bitrate=2013.6kbits/s    
    frame=   18 fps= 11 q=2.0 size=     190kB time=00:00:00.70 bitrate=2223.8kbits/s    
    frame=   24 fps= 11 q=2.0 size=     235kB time=00:00:00.96 bitrate=1987.4kbits/s    
    frame=   30 fps= 11 q=2.0 size=     314kB time=00:00:01.20 bitrate=2142.8kbits/s    
    frame=   36 fps= 11 q=2.0 size=     368kB time=00:00:01.43 bitrate=2102.2kbits/s    
    frame=   42 fps= 11 q=2.0 size=     457kB time=00:00:01.66 bitrate=2247.6kbits/s    
    frame=   48 fps= 11 q=2.0 size=     510kB time=00:00:01.90 bitrate=2199.8kbits/s    
    frame=   54 fps= 11 q=2.0 size=     596kB time=00:00:02.16 bitrate=2253.9kbits/s    
    frame=   60 fps= 11 q=2.0 size=     649kB time=00:00:02.40 bitrate=2216.5kbits/s    
    frame=   66 fps= 11 q=2.0 size=     718kB time=00:00:02.63 bitrate=2232.9kbits/s    
    frame=   72 fps= 11 q=2.0 size=     779kB time=00:00:02.86 bitrate=2226.4kbits/s    
    frame=   78 fps= 11 q=2.0 size=     868kB time=00:00:03.10 bitrate=2293.0kbits/s    
    frame=   84 fps= 11 q=2.0 size=     956kB time=00:00:03.36 bitrate=2325.8kbits/s    
    frame=   90 fps= 11 q=2.0 size=    1049kB time=00:00:03.60 bitrate=2386.2kbits/s    
    frame=   96 fps= 11 q=2.0 size=    1143kB time=00:00:03.83 bitrate=2442.9kbits/s    
    frame=  101 fps= 11 q=2.0 size=    1224kB time=00:00:04.03 bitrate=2485.2kbits/s    
    frame=  106 fps= 10 q=2.0 size=    1259kB time=00:00:04.23 bitrate=2436.7kbits/s    
    frame=  111 fps= 10 q=2.0 size=    1326kB time=00:00:04.43 bitrate=2449.5kbits/s    
    frame=  116 fps= 10 q=2.0 size=    1355kB time=00:00:04.63 bitrate=2396.5kbits/s    
    frame=  121 fps= 10 q=2.0 size=    1409kB time=00:00:04.83 bitrate=2388.1kbits/s    
    frame=  127 fps= 10 q=2.0 size=    1424kB time=00:00:05.06 bitrate=2302.5kbits/s    
    frame=  133 fps= 10 q=2.0 size=    1480kB time=00:00:05.30 bitrate=2286.8kbits/s    
    frame=  139 fps= 10 q=2.0 size=    1497kB time=00:00:05.56 bitrate=2203.7kbits/s    
    frame=  145 fps= 10 q=2.0 size=    1552kB time=00:00:05.80 bitrate=2191.8kbits/s    
    frame=  151 fps= 10 q=2.0 size=    1567kB time=00:00:06.03 bitrate=2127.6kbits/s    
    frame=  157 fps= 10 q=2.0 size=    1621kB time=00:00:06.26 bitrate=2119.2kbits/s    
    frame=  163 fps= 10 q=2.0 size=    1641kB time=00:00:06.50 bitrate=2068.1kbits/s    
    frame=  169 fps= 10 q=2.0 size=    1710kB time=00:00:06.76 bitrate=2070.3kbits/s    
    frame=  175 fps= 10 q=2.0 size=    1750kB time=00:00:07.00 bitrate=2047.9kbits/s    
    frame=  181 fps= 10 q=2.0 size=    1834kB time=00:00:07.23 bitrate=2077.6kbits/s    
    frame=  187 fps= 10 q=2.0 size=    1876kB time=00:00:07.46 bitrate=2058.4kbits/s    
    frame=  193 fps= 10 q=2.0 size=    1962kB time=00:00:07.70 bitrate=2087.7kbits/s    
    frame=  199 fps= 10 q=2.0 size=    2005kB time=00:00:07.96 bitrate=2061.5kbits/s    
    frame=  205 fps= 10 q=2.0 size=    2088kB time=00:00:08.20 bitrate=2086.1kbits/s    
    frame=  211 fps= 10 q=2.0 size=    2126kB time=00:00:08.43 bitrate=2065.0kbits/s    
    frame=  217 fps= 10 q=2.0 size=    2201kB time=00:00:08.66 bitrate=2080.5kbits/s    
    frame=  223 fps= 10 q=2.0 size=    2230kB time=00:00:08.90 bitrate=2052.8kbits/s    
    frame=  229 fps= 10 q=2.0 size=    2293kB time=00:00:09.16 bitrate=2049.5kbits/s    
    frame=  235 fps= 10 q=2.0 size=    2307kB time=00:00:09.40 bitrate=2010.4kbits/s    
    frame=  241 fps= 10 q=2.0 size=    2366kB time=00:00:09.63 bitrate=2011.8kbits/s    
    frame=  247 fps= 10 q=2.0 size=    2409kB time=00:00:09.86 bitrate=2000.1kbits/s    
    frame=  250 fps= 10 q=2.0 Lsize=    2438kB time=00:00:10.00 bitrate=1997.2kbits/s    

    video:2425kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.523809%
  • How to use ffmpeg to mix two audio files to a single one ?

    18 mars 2014, par Dead Live

    I want to mix two audio files to a single one use ffmpeg. So I download the latest version of ffmpeg, and check the document and get the code :

    ffmpeg -i 10001.wav -i 201.wav -filter_complex amix=inputs=2:duration=shortest output.wav

    but I got this error :

    ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
     built on Aug  9 2012 16:22:59 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
     configuration: --prefix=/usr/ --enable-gpl --enable-libx264 --enable-libmp3lame
     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
    [wav @ 0x13d08100] max_analyze_duration 5000000 reached at 5120000
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, wav, from '10001.wav':
     Duration: 00:00:07.91, bitrate: 64 kb/s
       Stream #0:0: Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, mono, s16, 64 kb/s
    [wav @ 0x13d08980] max_analyze_duration 5000000 reached at 5120000
    Guessed Channel Layout for  Input Stream #1.0 : mono
    Input #1, wav, from '201.wav':
     Duration: 00:00:11.88, bitrate: 128 kb/s
       Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 128 kb/s
    [abuffersink @ 0x13d268c0] No opaque field provided, an AVABufferSinkParams struct is required

    Can anyone can help me ? Thanks !