Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (108)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (9361)

  • FFMpeg - Merge multiple rtmp stream inputs to a single rtmp output

    5 septembre 2013, par Paulo Miguel Almeida

    I'm trying to combine/merge two rtmp streams and then publish 'em to another stream

    Ex. :

    ffmpeg -i rtmp://ip:1935/live/micMyStream7 -i rtmp://ip:1935/live/MyStream7  -strict -2  -f flv rtmp://ip:1935/live/bcove7

    The scenario is the following, I got a stream which comes from an user's microphone that
    is the first one (micMyStream7) and I also got a stream from another user but this one has audio and video(MyStream7).

    As they are talking to each other when a user is speaking, the other one would only be listening to and vice versa.

    My idea is to set up a third stream called (bcove) which would "merge" both of them so that I could have spectators who would only be listening to the entire conversation between them.

    This is the log that ffmpeg printed although I couldn't recognize any message which helped me out.

    paulo@paulo-desktop:~$ ffmpeg -re -i rtmp://ip:1935/live/micMyStream7 -i rtmp://ip:1935/live/MyStream7  -strict -2  -f flv rtmp://ip:1935/live/bcove7
    ffmpeg version N-56029-g2ffead9 Copyright (c) 2000-2013 the FFmpeg developers
     built on Sep  4 2013 11:05:57 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
     configuration:
     libavutil      52. 43.100 / 52. 43.100
     libavcodec     55. 31.100 / 55. 31.100
     libavformat    55. 16.100 / 55. 16.100
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 83.102 /  3. 83.102
     libswscale      2.  5.100 /  2.  5.100
     libswresample   0. 17.103 /  0. 17.103
    Input #0, flv, from 'rtmp://ip:1935/live/micMyStream7':
     Metadata:
       author          :
       copyright       :
       description     :
       keywords        :
       rating          :
       title           :
       presetname      : Medium Bandwidth (300 Kbps) - VP6
       creationdate    : Wed Sep  4 16:41:52 2013
                       :
       videodevice     : Built-in iSight
       videokeyframe_frequency: 5
       audiodevice     : External microphone
       audiochannels   : 1
       audioinputvolume: 75
     Duration: N/A, start: 0.000000, bitrate: 253 kb/s
       Stream #0:0: Video: vp6f, yuv420p, 320x240, 204 kb/s, 44.83 tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 49 kb/s
    Input #1, flv, from 'rtmp://ip:1935/live/MyStream7':
     Metadata:
       author          :
       copyright       :
       description     :
       keywords        :
       rating          :
       title           :
       presetname      : Custom
       creationdate    : Wed Sep  4 12:02:24 2013
                       :
       videodevice     : FaceTime HD Camera (Built-in)
       videokeyframe_frequency: 5
       audiodevice     : Internal microphone
       audiochannels   : 1
       audioinputvolume: 75
     Duration: N/A, start: 0.000000, bitrate: 253 kb/s
       Stream #1:0: Video: vp6f, yuv420p, 320x240, 204 kb/s, 45.08 tbr, 1k tbn, 1k tbc
       Stream #1:1: Audio: mp3, 22050 Hz, mono, s16p, 49 kb/s
    Output #0, flv, to 'rtmp://ip:1935/live/bcove7':
     Metadata:
       author          :
       copyright       :
       description     :
       keywords        :
       rating          :
       title           :
       presetname      : Medium Bandwidth (300 Kbps) - VP6
       creationdate    : Wed Sep  4 16:41:52 2013
                       :
       videodevice     : Built-in iSight
       videokeyframe_frequency: 5
       audiodevice     : External microphone
       audiochannels   : 1
       audioinputvolume: 75
       encoder         : Lavf55.16.100
       Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 320x240, q=2-31, 200 kb/s, 1k tbn, 44.83 tbc
       Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 88 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (vp6f -> flv)
     Stream #0:1 -> #0:1 (mp3 -> adpcm_swf)
    Press [q] to stop, [?] for help
    [mp3 @ 0x3625ec0] overread, skip -9 enddists: -3 -300:14.44 bitrate= 224.0kbits/s    
    [mp3 @ 0x3625ec0] overread, skip -7 enddists: -3 -30:26.39 bitrate= 203.5kbits/s  

    Thanks in advance

  • 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%