Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • using FFMPEG with silencedetect to remove audio silence

    8 octobre 2016, par Zahlii

    I am trying to use the following command with the latest ffmpeg build to remove silence from my .mp3 files:

    ffmpeg -i SILENCE.mp3 -af silencedetect=n=-50dB:d=1 -y -ab 192k  SILENCE_OUT.mp3
    

    However, the following output is produced:

    ffmpeg version N-66154-g1654ca7 Copyright (c) 2000-2014 the FFmpeg developers
      built on Sep  5 2014 22:10:38 with gcc 4.8.3 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
    modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
    b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
    r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
    able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
     --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
    libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
      libavutil      54.  7.100 / 54.  7.100
      libavcodec     56.  1.100 / 56.  1.100
      libavformat    56.  4.100 / 56.  4.100
      libavdevice    56.  0.100 / 56.  0.100
      libavfilter     5.  1.100 /  5.  1.100
      libswscale      3.  0.100 /  3.  0.100
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  0.100 / 53.  0.100
    Input #0, mp3, from 'SILENCE.mp3':
      Metadata:
        title           : Snowblind (Featuring Tasha Baxter)
        artist          : Au5
        album           : Snowblind (Featuring Tasha Baxter)
        genre           : Electronica
        performer       : Au5
        track           : 1/1
        date            : 2014
        album_artist    : Au5,Tasha Baxter
        major_brand     : mp42
        minor_version   : 0
        compatible_brands: isommp42
        encoder         : Lavf55.42.100
      Duration: 00:05:50.80, start: 0.025057, bitrate: 192 kb/s
        Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
    Output #0, mp3, to 'SILENCE_OUT.mp3':
      Metadata:
        TIT2            : Snowblind (Featuring Tasha Baxter)
        TPE1            : Au5
        TALB            : Snowblind (Featuring Tasha Baxter)
        TCON            : Electronica
        TPE3            : Au5
        TRCK            : 1/1
        TDRL            : 2014
        TPE2            : Au5,Tasha Baxter
        major_brand     : mp42
        minor_version   : 0
        compatible_brands: isommp42
        TSSE            : Lavf56.4.100
        Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 192 kb/s
        Metadata:
          encoder         : Lavc56.1.100 libmp3lame
    Stream mapping:
      Stream #0:0 -> #0:0 (mp3 (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [silencedetect @ 0000000004398f40] silence_start: -0.00628118
    [silencedetect @ 0000000004398f40] silence_end: 3.21413 | silence_duration: 3.22
    041
    [silencedetect @ 0000000004398f40] silence_start: 343.844
    [libmp3lame @ 00000000043b2940] Trying to remove 1152 samples, but the queue is
    empty
    size=    8223kB time=00:05:50.79 bitrate= 192.0kbits/s
    video:0kB audio:8222kB subtitle:0kB other streams:0kB global headers:0kB muxing
    overhead: 0.011485%
    

    The generated audio file however still has the original length without any silence removed. See the following images: http://i.imgur.com/nVxe5lX.png

    Any help is appreciated!

    EDIT: Alright, silence detect is only DETECTING the silence. Not removing it. I will try to post a solution for this.

  • ffmpeg - Continuously stream webcam to single .jpg file (overwrite)

    8 octobre 2016, par Germanunkol

    I have installed ffmpeg and mjpeg-streamer. The latter reads a .jpg file from /tmp/stream and outputs it via http onto a website, so I can stream whatever is in that folder through a web browser.

    I wrote a bash script that continuously captures a frame from the webcam and puts it in /tmp/stream:

    while true
    do
        ffmpeg -f video4linux2 -i /dev/v4l/by-id/usb-Microsoft_Microsoft_LifeCam_VX-5000-video-index0 -vframes 1 /tmp/stream/pic.jpg
    done
    

    This works great, but is very slow (~1 fps). In the hopes of speeding it up, I want to use a single ffmpeg command which continuously updates the .jpg at, let's say 10 fps. What I tried was the following:

    ffmpeg -f video4linux2 -r 10 -i /dev/v4l/by-id/usb-Microsoft_Microsoft_LifeCam_VX-5000-video-index0 /tmp/stream/pic.jpg
    

    However this - understandably - results in the error message:

    [image2 @ 0x1f6c0c0] Could not get frame filename number 2 from pattern '/tmp/stream/pic.jpg'
    av_interleaved_write_frame(): Input/output error
    

    ...because the output pattern is bad for a continuous stream of images.

    Is it possible to stream to just one jpg with ffmpeg?

    Thanks...

  • FFMPEG to both save a file and stream to MPLayer on a different computer

    8 octobre 2016, par Laurent Bazinet

    Here's what i'm trying to do: Have a raspberry pi grab a video with a camera, using raspivid and pipe this directly to my main computer, which would act as a kind of server, by both saving the video, and allowing a live stream using MPlayer to be displayed by another computer on the network.

    My problem is only on the last part: display the stream on another computer.

    For clarity, Main computer is going to be Comp-A, and the computer running MPlayer will be Comp-X (because this can be any computer on my network, or even outside my network)

    If we follow the information, here's how i've done it so far: Grab the video and pipe it to the network (this is done on the raspberry pi)

    raspivid -t 0 -w 1280 -h 720 -a 12 -ih -v -fps 30 -n -o - | sudo nc -k -w 1 -l 80
    

    This works great for my purpose.

    Next, on Comp-A, I'm grabbing this stream with FFMPEG, and tee-ing to both a file and a UDP stream using this command:

    ffmpeg -i tcp://raspberryIP:80 -c:v h264 -f tee -map 0:v "[f=stream_segment:segment_wrap=25:segment_time=3600:reset_timestamps=1]output%%03d.mp4|[f=mpegts]udp://maincomputerIP:80"
    

    (side note, the [f=stream_segment:segment_wrap=25:segment_time=3600:reset_timestamps=1] is to have 25 videos of 1 hour long, and looping)

    Then I run into issues.

    If I run this on Comp-A: mplayer -fps 200 -demuxer mpegts "udp://Comp-A-IP:80" It works great.

    If I run the same command on Comp-X, it doesn't work.

    If I change the [f=mpegts]udp://Comp-A-IP:80" to [f=mpegts]udp://Comp-X-IP:80", then the Comp-X works, but the Comp-A doesn't anymore.

    This leads me to believe my issue is that the UDP url from FFMPEG is asking for the computer it's going to connect to, not the host computer.

    My problem is that Comp-X's IP is unknown.

    Is there a way? Maybe I'm over-complicating things. I don't know.

  • how to output gif with same size as input video

    7 octobre 2016, par Maxlight

    I am following How do I convert a video to GIF using ffmpeg, with reasonable quality?

    It gives example:

    ffmpeg -i input.flv -i palette.png -filter_complex "fps=10,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" output.gif
    

    However I want the gif output to be the same size as video and not 320 as specified here so I removed scale=320:-1 so I have

    ffmpeg -i input.flv -i palette.png -filter_complex "fps=10,flags=lanczos[x];[x][1:v]paletteuse" output.gif
    

    When I run that I get:

    No such filter: 'flags' Error initializing complex filters.
    

    If I remove:

    -filter_complex "fps=10,flags=lanczos[x];[x][1:v]paletteuse"
    

    Then it works but quality of the video is bad. So it seems that I must use a scale for those palette flags to work, how can I get ffmpeg to output gif same size as input video?

  • Issue when streaming some TV channels threw ffMpeg

    7 octobre 2016, par Raphael Serievic

    I am trying to stream a TV Tuner feed with ffMpeg through udp.

    The ffMpeg command line I use is the following :

    ffmpeg.exe -i udp://@239.255.255.9:1234 -map 0:p:1317:0 -profile:v baseline -crf 30 -preset ultrafast -vcodec libx264 -r 25 -vf scale=720:576-b:v 500k -f rtp udp://10.150.112.107:15048/ -map 0:p:1317:1 -acodec pcm_mulaw -strict experimental -ar 8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
    

    Where:

    • 1317 is the program id (channel)
    • 10.150.112.107 is where I want to stream the TV channel
    • 239.255.255.9 is where I receive the original TV channel's feed from my TV Tuner

    My problem is that with some program IDs it is working and with some others it is not : it is working with 1572 ("channel 10 hd") but not with 1317 ("7flix Sydney").

    The output of this command-line for channel 1572 (where it works) is the following :

    C:\Program Files (x86)\Tuner Manager\ServerModule> ffmpeg.exe
     -i udp://@239.255.255.7:1234 -map 0:p:1572:0 -profile:v baseline -crf 30 -prese
    t ultrafast -vcodec libx264 -r 25 -vf scale=720:576 -    b:v 500k -f rtp udp://1
    0.150.112.107:15048/ -map 0:p:1572:1 -acodec pcm_mulaw -strict experimental -ar
    8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
    ffmpeg version N-71924-ga2190de Copyright (c) 2000-2015 the FFmpeg developers
      built with gcc 4.9.2 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
     --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
      libavutil      54. 23.101 / 54. 23.101
      libavcodec     56. 37.100 / 56. 37.100
      libavformat    56. 31.102 / 56. 31.102
      libavdevice    56.  4.100 / 56.  4.100
      libavfilter     5. 16.101 /  5. 16.101
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  3.100 / 53.  3.100
    [NULL @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cc980] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 0000000004967c80] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
    [h264 @ 00000000049ce980] non-existing SPS 0 referenced in buffering period
    [h264 @ 00000000049ce980] non-existing PPS 0 referenced
    [h264 @ 00000000049ce980] decode_slice_header error
    [h264 @ 00000000049ce980] no frame!
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
        Last message repeated 2 times
    [mpeg2video @ 00000000049cdbc0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
        Last message repeated 3 times
    [mpeg2video @ 000000000497e3e0] Invalid frame dimensions 0x0.
    [mpeg2video @ 0000000004975b40] Invalid frame dimensions 0x0.
        Last message repeated 3 times
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 2 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 3 (Unknow
    n: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 4 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 5 (Unknow
    n: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 8 (Unknow
    n: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 9 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 10 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 14 (Unkno
    wn: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 15 (Unkno
    wn: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 16 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 25 (Unkno
    wn: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 26 (Unkno
    wn: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 27 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 29 (Unkno
    wn: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 30 (Unkno
    wn: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 000000000494d6c0] Could not find codec parameters for stream 31 (Unkno
    wn: none ([12][0][0][0] / 0x000C)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'udp://@239.255.255.7:1234':
      Duration: N/A, start: 64984.698511, bitrate: N/A
      Program 1569
        Metadata:
          service_name    : ONE
          service_provider: TEN Sydney
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:25[0x3e8]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:26[0x3f2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:27[0x3fc]: Unknown: none ([12][0][0][0] / 0x000C)
        Stream #0:23[0x202]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:24[0x2a0](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 192 kb/s
        Stream #0:7[0x241](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
      Program 1573
        Metadata:
          service_name    : TEN Digital
          service_provider: TEN Sydney
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:14[0x3ea]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:15[0x3f4]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:16[0x3fe]: Unknown: none ([12][0][0][0] / 0x000C)
        Stream #0:17[0x200]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:18[0x28a](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
    eo, s16p, 256 kb/s
        Stream #0:19[0x240](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
      Program 1574
        Metadata:
          service_name    : TVSN
          service_provider: TEN Sydney
        Stream #0:6[0x206]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
        Stream #0:28[0x2b2](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
    eo, s16p, 192 kb/s
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:29[0x3eb]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:30[0x3f5]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:31[0x3ff]: Unknown: none ([12][0][0][0] / 0x000C)
      Program 1575
        Metadata:
          service_name    : ONE
          service_provider: TEN Sydney
        Stream #0:23[0x202]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:24[0x2a0](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 192 kb/s
        Stream #0:7[0x241](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:25[0x3e8]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:26[0x3f2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:27[0x3fc]: Unknown: none ([12][0][0][0] / 0x000C)
      Program 1576
        Metadata:
          service_name    : ELEVEN
          service_provider: TEN Sydney
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:8[0x3e9]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:9[0x3f3]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:10[0x3fd]: Unknown: none ([12][0][0][0] / 0x000C)
        Stream #0:11[0x204]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:12[0x2a9](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, ster
    eo, s16p, 192 kb/s
        Stream #0:13[0x242](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
      Program 1577
        Metadata:
          service_name    : SpreeTV
          service_provider: TEN Sydney
        Stream #0:0[0x208]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
        Stream #0:1[0x2bc](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stere
    o, s16p, 192 kb/s
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:3[0x3ec]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:4[0x3f6]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:5[0x400]: Unknown: none ([12][0][0][0] / 0x000C)
      Program 1572
        Metadata:
          service_name    : TEN HD
          service_provider: TEN Sydney
        Stream #0:20[0x1ff]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv
    , bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
        Stream #0:21[0x289](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side
    ), fltp, 448 kb/s
        Stream #0:22[0x23f](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:2[0x1fd2]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:14[0x3ea]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:15[0x3f4]: Unknown: none ([11][0][0][0] / 0x000B)
        Stream #0:16[0x3fe]: Unknown: none ([12][0][0][0] / 0x000C)
    [NULL @ 0000000005af6de0] Unable to find a suitable output format for 'pipe:'
    pipe:: Invalid argument
    

    The output of this command-line for channel 1317 (where it does not works) is the following :

    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation. All rights reserved.
    C:\Users\Administrator.TMC>"C:\Program Files (x86)\Tv Tuner Mana
    ger\ServerModule\ffmpeg.exe" -i udp://@239.255.255.9:1234 -map 0:p:1317:0 -profi
    le:v baseline -crf 30 -preset ultrafast -vcodec libx264 -r 25 -vf scale=720:576
    -b:v 500k -f rtp udp://10.150.112.107:15048/ -map 0:p:1317:1 -acodec pcm_mulaw -
    strict experimental -ar 8k -ac 1 -b:a 128k -f rtp udp://10.150.112.107:15032/
    ffmpeg version N-71924-ga2190de Copyright (c) 2000-2015 the FFmpeg developers
      built with gcc 4.9.2 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
     --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
      libavutil      54. 23.101 / 54. 23.101
      libavcodec     56. 37.100 / 56. 37.100
      libavformat    56. 31.102 / 56. 31.102
      libavdevice    56.  4.100 / 56.  4.100
      libavfilter     5. 16.101 /  5. 16.101
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  3.100 / 53.  3.100
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
    [NULL @ 0000000004789600] non-existing PPS 0 referenced
    [h264 @ 0000000004789600] decode_slice_header error
    [h264 @ 0000000004789600] no frame!
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [NULL @ 000000000472a060] non-existing PPS 0 referenced
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
    [h264 @ 000000000472a060] non-existing PPS 0 referenced
        Last message repeated 1 times
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [h264 @ 000000000472a060] non-existing PPS 0 referenced
        Last message repeated 1 times
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 000000000472c620] Invalid frame dimensions 0x0.
    [h264 @ 0000000004789600] non-existing PPS 0 referenced
        Last message repeated 1 times
    [h264 @ 0000000004789600] decode_slice_header error
    [h264 @ 0000000004789600] no frame!
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [h264 @ 000000000472a060] non-existing PPS 0 referenced
        Last message repeated 1 times
    [h264 @ 000000000472a060] decode_slice_header error
    [h264 @ 000000000472a060] no frame!
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 000000000472c620] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
        Last message repeated 1 times
    [mpeg2video @ 000000000472dac0] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
        Last message repeated 2 times
    [mpeg2video @ 00000000047c9200] Invalid frame dimensions 0x0.
    [mpeg2video @ 000000000473a8a0] Invalid frame dimensions 0x0.
    [mpegts @ 0000000004710020] Could not find codec parameters for stream 3 (Unknow
    n: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0000000004710020] Could not find codec parameters for stream 4 (Unknow
    n: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'udp://@239.255.255.9:1234':
      Duration: N/A, start: 77183.898689, bitrate: N/A
      Program 1312
        Metadata:
          service_name    : 7 Sydney
          service_provider: Seven Network
        Stream #0:0[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
        Stream #0:1[0x202](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
    o, s16p, 256 kb/s
        Stream #0:2[0x204](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
      Program 1313
        Metadata:
          service_name    : 7 Sydney
          service_provider: Seven Network
        Stream #0:0[0x201]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
    p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn, 5
    0 tbc
        Stream #0:1[0x202](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
    o, s16p, 256 kb/s
        Stream #0:2[0x204](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
      Program 1314
        Metadata:
          service_name    : 7TWO Sydney
          service_provider: Seven Network
        Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:18[0x221]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:10[0x222](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 192 kb/s
        Stream #0:5[0x224](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
      Program 1315
        Metadata:
          service_name    : 7mate Sydney
          service_provider: Seven Network
        Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:13[0x231]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 14950 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:15[0x232](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, ster
    eo, s16p, 256 kb/s
        Stream #0:12[0x234](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
      Program 1316
        Metadata:
          service_name    : 7HD Sydney
          service_provider: Seven Network
        Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:6[0x241]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 19
    20x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
        Stream #0:16[0x243](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, ster
    eo, fltp, 384 kb/s
        Stream #0:8[0x244](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
      Program 1317
        Metadata:
          service_name    : 7flix Sydney
          service_provider: Seven Network
        Stream #0:3[0x206]: Unknown: none ([5][0][0][0] / 0x0005)
        Stream #0:11[0x251]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
    0p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 12500 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc
        Stream #0:9[0x253](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stere
    o, s16p, 128 kb/s
        Stream #0:14[0x254](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
      Program 1320
        Metadata:
          service_name    : RACING.COM
          service_provider: Seven Network
        Stream #0:7[0x281]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 64
    0x576 [SAR 8:5 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
        Stream #0:17[0x282](eng): Audio: aac_latm (HE-AACv2) ([17][0][0][0] / 0x0011
    ), 48000 Hz, stereo, fltp
        Stream #0:4[0x299]: Unknown: none ([11][0][0][0] / 0x000B)
    Cannot map stream #0:3 - unsupported type.
    

    Thanks for your help