Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (13)

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

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (4741)

  • ffmpeg : simple RTMP streaming

    2 avril 2013, par sajad

    I am trying to launch up a rtmp transcoder server using ffmpeg ; that receives udp MPEG-TS streams as input, transcodes it ; and generates an rtmp output to a URL, that can be accessed by users to receive and play the rtmp stream. All these are expected to be performed in a LAN and the output be accessed by all users.

    1) First I don't know where the URL should point to. Is it enought to specify the IP of the system and some optional port ? Is it neccessary that a program should be listening on that port ?

    2) How I can play the stream on the URL ?

    I use a linux ubuntu machine whith IP=10.1.1.229 and I want to transcode multicast stream on this URL : udp://@224.10.1.1:2001.

    here is the command used to transcode input stream and generate rtmp url "rtmp ://10.1.1.229:2020".

    ffmpeg -y -f mpegts -i "udp://@224.10.1.1:2001" -re -vcodec libx264 -maxrate 700k -r 25 -s 640x360 -deinterlace -acodec libfaac -ab 64k -ac 1 -ar 44100 -f flv "rtmp://10.1.1.229:2020"

    and here is the command by which I am trying to play rtmp stream :

    ffplay rtmp://10.1.1.229:2020

    Any guidance would be helpfull. Thank you.

  • ffmpeg : simple RTMP streaming over LAN

    30 mars 2013, par sajad

    I am trying to launch up a rtmp transcoder server using ffmpeg ; that receives udp MPEG-TS streams as input, transcodes it ; and generates an rtmp output to a URL, that can be accessed by users to receive and play the rtmp stream. All these are expected to be performed in a LAN and the output be accessed by all users.

    1) First I don't know where the URL should point to. Is it enought to specify the IP of the system and some optional port ? Is it neccessary that a program should be listening on that port ?

    2) How I can play the stream on the URL ?

    I use a linux ubuntu machine whith IP=10.1.1.229 and I want to transcode multicast stream on this URL : udp://@224.10.1.1:2001.

    here is the command used to transcode input stream and generate rtmp url "rtmp ://10.1.1.229:2020".

    ffmpeg -y -f mpegts -i "udp://@224.10.1.1:2001" -re -vcodec libx264 -maxrate 700k -r 25 -s 640x360 -deinterlace -acodec libfaac -ab 64k -ac 1 -ar 44100 -f flv "rtmp://10.1.1.229:2020"

    and here is the command by which I am trying to play rtmp stream :

    ffplay rtmp://10.1.1.229:2020

    Any guidance would be helpfull. Thank you.

  • ffmpeg mapping to mkv introduces "fake" delay relative to video

    1er août 2016, par JMor

    I need to map this x.264 clip into a matroska container using ffmpeg :

    ffmpeg -i f-0.mp4 -c copy f-0.mkv

    Here is the ffmpeg console output :

    ffmpeg -i f-0.mp4 -c copy f-0.mkv  
    ffmpeg version N-69672-g078be09 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 18.100 / 54. 18.100
     libavcodec     56. 21.102 / 56. 21.102
     libavformat    56. 19.100 / 56. 19.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5.  9.104 /  5.  9.104
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'f-0.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.19.100
     Duration: 00:02:08.06, start: 0.005333, bitrate: 5030 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4865 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 160 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Side data:
         unknown side data type 7 (4 bytes)
    Output #0, matroska, to 'f-0.mkv':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.19.100
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 4865 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 30k tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 160 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Side data:
         unknown side data type 7 (4 bytes)
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    ...

    The result seems good, playing with well synchronized audio and video. However, MediaInfo shows a new item under Audio (that the original clip didn’t have) :

    Delay relative to video                  : 1mn 5s

    Here is the Mediainfo from the original f-0.mp4 file :

    Audio
     ID                                       : 2
     Format                                   : AC-3
     Format/Info                              : Audio Coding 3
     Mode extension                           : CM (complete main)
     Format settings, Endianness              : Big
     Codec ID                                 : ac-3
     Duration                                 : 2mn 8s
     Bit rate mode                            : Constant
     Bit rate                                 : 160 Kbps
     Channel(s)                               : 2 channels
     Channel positions                        : Front: L R
     Sampling rate                            : 48.0 KHz
     Bit depth                                : 16 bits
     Compression mode                         : Lossy
     Delay relative to video                  : 67ms
     Stream size                              : 2.44 MiB (3%)

    Mediainfo from the f-0.mkv output :

    Audio
     ID                                       : 2
     Format                                   : AC-3
     Format/Info                              : Audio Coding 3
     Mode extension                           : CM (complete main)
     Format settings, Endianness              : Big
     Codec ID                                 : A_AC3
     Duration                                 : 2mn 8s
     Bit rate mode                            : Constant
     Bit rate                                 : 160 Kbps
     Channel(s)                               : 2 channels
     Channel positions                        : Front: L R
     Sampling rate                            : 48.0 KHz
     Bit depth                                : 16 bits
     Compression mode                         : Lossy
     Delay relative to video                  : 1mn 5s
     Stream size                              : 2.44 MiB (3%)
     Default                                  : Yes
     Forced                                   : No
     HANDLER_NAME                             : SoundHandler

    There is no delay whatsoever and no reason to insert a delay.

    I am concerned that this information (Delay relative to video) be used by some players or other applications as a delay that should be corrected. Is there a way to prevent this from happening ?

    Adding ffprobe output : f-0.mp4 clip

    ffprobe -show_entries stream=codec_type,duration,start_time -of compact f-0.mp4
       ffprobe version N-69672-g078be09 Copyright (c) 2007-2015 the FFmpeg developers
       built with gcc 4.9.2 (GCC)
       configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
       libavutil      54. 18.100 / 54. 18.100
       libavcodec     56. 21.102 / 56. 21.102
       libavformat    56. 19.100 / 56. 19.100
       libavdevice    56.  4.100 / 56.  4.100
       libavfilter     5.  9.104 /  5.  9.104
       libswscale      3.  1.101 /  3.  1.101
       libswresample   1.  1.100 /  1.  1.100
       libpostproc    53.  3.100 / 53.  3.100
     Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'f-0.mp4':
       Metadata:
         major_brand     : isom
         minor_version   : 512
         compatible_brands: isomiso2avc1mp41
         encoder         : Lavf56.19.100
       Duration: 00:02:08.06, start: 0.005333, bitrate: 5030 kb/s
         Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4865 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
         Metadata:
           handler_name    : VideoHandler
         Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 160 kb/s (default)
         Metadata:
           handler_name    : SoundHandler
         Side data:
           unknown side data type 7 (4 bytes)
     stream|codec_type=video|start_time=0.000000|duration=128.061267
     stream|codec_type=audio|start_time=-0.005333|duration=128.064000

    f-0.mkv clip :

    ffprobe version N-69672-g078be09 Copyright (c) 2007-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 18.100 / 54. 18.100
     libavcodec     56. 21.102 / 56. 21.102
     libavformat    56. 19.100 / 56. 19.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5.  9.104 /  5.  9.104
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, matroska,webm, from 'f-0.mkv':
     Metadata:
       COMPATIBLE_BRANDS: isomiso2avc1mp41
       MAJOR_BRAND     : isom
       MINOR_VERSION   : 512
       ENCODER         : Lavf56.19.100
     Duration: 00:02:08.13, start: 0.061000, bitrate: 5026 kb/s
       Stream #0:0(und): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
       Metadata:
         LANGUAGE        : und
         HANDLER_NAME    : VideoHandler
       Stream #0:1(und): Audio: ac3, 48000 Hz, stereo, fltp, 160 kb/s (default)
       Metadata:
         LANGUAGE        : und
         HANDLER_NAME    : SoundHandler
    stream|codec_type=video|start_time=0.066000|duration=N/A
    stream|codec_type=audio|start_time=0.061000|duration=N/A