[FFmpeg-user] -f mpegts not working

Andrew Sinclair ajsinclair at gmail.com
Fri Dec 7 04:29:13 CET 2012


Can anyone spot anything obvious that I am doing wrong as I don't seem to
be able to output as a mpegts and udp.

ffmpeg -i out_gop12.ts -vcodec libx264 -flags:loop -f mpegts udp://
224.0.0.1:5000
ffmpeg version N-45739-g04bf2e7 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Oct 20 2012 13:34:12 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 67.100 / 54. 67.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mpegts @ 0x197f260] max_analyze_duration 5000000 reached at 5015467
Input #0, mpegts, from 'out_gop12.ts':
  Duration: 00:05:45.34, start: 1.389089, bitrate: 663 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] /
0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 48
tbc
    Stream #0:1[0x101](und): Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz,
stereo, s16, 128 kb/s
[NULL @ 0x197c500] Unable to find a suitable output format for 'mpegts'
mpegts: Invalid argument

mpegts is available as an output format:
ffmpeg -formats|grep mpegts
ffmpeg version N-45739-g04bf2e7 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Oct 20 2012 13:34:12 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 67.100 / 54. 67.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
 DE mpegts          MPEG-TS (MPEG-2 Transport Stream)
 D  mpegtsraw       raw MPEG-TS (MPEG-2 Transport Stream)


More information about the ffmpeg-user mailing list