Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (58)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (7085)

  • How to choosing audio stream

    5 septembre 2013, par user2696962

    I want to choose the first audio stream. but for some reason, it's not working. it's always choosing the last audio stream

    what i've tried

    ffmpeg -i test.avi -vf "movie=watermark_720.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" -map 0:0 -map 0:1 -y -ar 44100 -ac 1 -vcodec libx264 -b 555K -threads 0 test.2.flv

    ffmpeg -i test.avi

    ffmpeg -i test.avi
    ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg developers
     built on Sep  5 2013 03:04:34 with gcc 4.7 (Debian 4.7.1-2)
     configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
     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, avi, from 'test.avi':
     Metadata:
       encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
     Duration: 01:37:21.64, start: 0.000000, bitrate: 2018 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 29.97 tbr, 29.97 tbn, 29.97 tbc
       Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 160 kb/s
       Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s

    test.2.flv comes out with Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s

  • Pushing data to web-browser while processing input from ffmpeg

    6 septembre 2013, par Stacked

    I want to push output of this directly to the user using PHP/Python :

    wget -qO- "http://my-video-stream-input.url/here" | ffmpeg -i pipe:0 -ab 192000 -acodec libmp3lame -map_metadata -1 -vn 1378457645_myfile.mp3

    The above command takes the input stream and converts on-the-fly it to audio without waiting for full-file to download, this works perfectly at terminal. Now, I need to push the ffmpeg processed output audio to the web-browser, once again on-the-fly without completing the full transcode, like :

    Wget->ffmpeg->Web-browser in real-time

    I tried the below in PHP but this results in 0 byte file-downloads :

    $cmd = "wget -qO- "http://my-video-stream-input.url/here" | ffmpeg -i pipe:0 -ab 192000 -acodec libmp3lame -map_metadata -1 -vn 1378457645_myfile.mp3";
    header('Content-type: audio/mpeg');
    header("Content-Type: application/octet-stream");
    header("Content-Disposition: attachment; filename=\"1378457645_myfile.mp3\"");
    passthru($cmd);

    Adding 2>&1 to the $cmd shows downloads a 3.6 KB file with following

     ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb 22 2013 07:22:31 with gcc 4.4.5
     configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
     libavutil    50. 43. 0 / 50. 43. 0
     libavcodec   52.123. 0 / 52.123. 0
     libavformat  52.111. 0 / 52.111. 0
     libavdevice  52.  5. 0 / 52.  5. 0
     libavfilter   1. 80. 0 /  1. 80. 0
     libswscale    0. 14. 1 /  0. 14. 1
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:0':
     Duration: 00:02:54.75, start: 164.745578, bitrate: N/A
       Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16
       Metadata:
         creation_time   : 2013-08-30 05:36:13
    Output #0, mp3, to '1378458744_myfile.mp3':
     Metadata:
       TSSE            : Lavf52.111.0
       Stream #0.0(und): Audio: libmp3lame, 44100 Hz, stereo, s16, 192 kb/s
       Metadata:
         creation_time   : 2013-08-30 05:36:13
    Stream mapping:
     Stream #0.0 -> #0.0
    size=     134kB time=00:00:05.69 bitrate= 192.3kbits/s    
    size=     263kB time=00:00:11.23 bitrate= 192.1kbits/s    
    size=     386kB time=00:00:16.45 bitrate= 192.1kbits/s    
    size=     515kB time=00:00:21.96 bitrate= 192.1kbits/s    
    size=     637kB time=00:00:27.16 bitrate= 192.1kbits/s    
    size=     765kB time=00:00:32.62 bitrate= 192.0kbits/s    
    size=     884kB time=00:00:37.69 bitrate= 192.0kbits/s    
    size=    1011kB time=00:00:43.12 bitrate= 192.0kbits/s    
    size=    1134kB time=00:00:48.37 bitrate= 192.0kbits/s    
    size=    1253kB time=00:00:53.47 bitrate= 192.0kbits/s    
    size=    1379kB time=00:00:58.82 bitrate= 192.0kbits/s    
    size=    1508kB time=00:01:04.31 bitrate= 192.0kbits/s    
    size=    1632kB time=00:01:09.64 bitrate= 192.0kbits/s    
    size=    1758kB time=00:01:14.99 bitrate= 192.0kbits/s    
    size=    1883kB time=00:01:20.35 bitrate= 192.0kbits/s    
    size=    2010kB time=00:01:25.76 bitrate= 192.0kbits/s    
    size=    2141kB time=00:01:31.35 bitrate= 192.0kbits/s    
    size=    2265kB time=00:01:36.65 bitrate= 192.0kbits/s    
    size=    2389kB time=00:01:41.92 bitrate= 192.0kbits/s    
    size=    2515kB time=00:01:47.31 bitrate= 192.0kbits/s    
    size=    2637kB time=00:01:52.50 bitrate= 192.0kbits/s    
    size=    2767kB time=00:01:58.04 bitrate= 192.0kbits/s    
    size=    2888kB time=00:02:03.21 bitrate= 192.0kbits/s    
    size=    3017kB time=00:02:08.70 bitrate= 192.0kbits/s    
    size=    3142kB time=00:02:14.06 bitrate= 192.0kbits/s    
    size=    3266kB time=00:02:19.33 bitrate= 192.0kbits/s    
    size=    3391kB time=00:02:24.66 bitrate= 192.0kbits/s    
    size=    3518kB time=00:02:30.07 bitrate= 192.0kbits/s    
    size=    3650kB time=00:02:35.71 bitrate= 192.0kbits/s    
    size=    3778kB time=00:02:41.20 bitrate= 192.0kbits/s    
    size=    3862kB time=00:02:44.78 bitrate= 192.0kbits/s    
    video:0kB audio:3862kB global headers:0kB muxing overhead 0.004804%
  • x264 on Ubuntu video bad/corrupted

    6 septembre 2013, par Ryzone

    I am trying to use command line x264 to produce a blu-ray compatible file for use in Adobe Encore. For the source file I've tried both ProRes and mpeg2, both 1080p24. Both files import into Encore fine (no transcoding needed which is great) but the ProRes version is pink and grey "static" and the mpeg2 is just a bunch of green/black lines. The exact same files and the exact same commands on my Win7 PC come out fine. I'm only doing a 10 sec sample of the complete 90min movie. I'd love for it to work on Ubuntu cause it is running a new i7 haswell that encodes much quicker than my PC (many hours difference in encoding time)

    Ubuntu 13.04

    x264 0.135.2 f0c1c53<br />
    built on Jul 24 2013, gcc: 4.7.3<br />
    configuration: --bit-depth=8 --chroma-format=all<br />
    x264 license: GPL version 2 or later

    command:
       x264 --bitrate 30000 --preset veryslow --tune film --bluray-compat --fps 24000/1001 --force-cfr --bframes 3 --ref 4 --muxer raw --no-weightb --weightp 0 --b-pyramid none --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --profile high --keyint 24 --min-keyint 1 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1  -o output.264 --input-res 1920x1080 sample.mov

    (if it would work I'd be doing two pass encoding)

    I am able to encode the sample file with ffmpeg to h264 (if that helps).