[FFmpeg-user] UDP streaming to Pico QAM modulator

Steve Kowald skowald at gvtc.com
Wed Jul 8 01:35:54 CEST 2015


Hi Carl,

> This may not be related but these options produce something else than your working stream.

> Did you try audio-only?

> (Is that possible with your working streams?)

I did not try audio only, I can attempt that.

For the output I sent earlier I included some of those options that I was trying for the 
Blackmagic capture device where I needed to encode the video/audio to stream. For the "Superman
 vs Batman.mpg" file that I'm streaming, it is already encoded to the video/audio format
so I re-ran ffmpeg without any options to see what it would output.

C:\Downloads\FFMPeg\ffmpeg-20150630-git--win32-shared\bin>ffmpeg -i "c:\Superman
 vs Batman.mpg" -f mpegts udp://192.168.1.3:10005?pkt_size=1316

C:\Downloads\FFMPeg\ffmpeg-20150630-git--win32-shared\bin>ffprobe  -show_streams
  -i udp://192.168.1.3:10005
ffprobe version N-73266-g4aa0de6 Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
nable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-
libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
ble-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-
libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-lib
vo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-li
bwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --e
nable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 45.101 / 56. 45.101
  libavformat    56. 40.100 / 56. 40.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 19.100 /  5. 19.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[mpeg2video @ 0063dce0] Invalid frame dimensions 0x0.
    Last message repeated 2 times
Input #0, mpegts, from 'udp://192.168.1.3:10005':
  Duration: N/A, start: 90.865722, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
p(tv), 1920x1080 [SAR 1:1 DAR 16:9], max. 104857 kb/s, 29.97 fps, 29.97 tbr, 90k
 tbn, 59.94 tbc
    Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s1
6p, 384 kb/s
[STREAM]
index=0
codec_name=mpeg2video
codec_long_name=MPEG-2 video
profile=Main
codec_type=video
codec_time_base=1001/60000
codec_tag_string=[2][0][0][0]
codec_tag=0x0002
width=1920
height=1080
coded_width=0
coded_height=0
has_b_frames=1
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=4
color_range=tv
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
timecode=00:01:29:16
refs=1
id=0x100
r_frame_rate=30000/1001
avg_frame_rate=30000/1001
time_base=1/90000
start_pts=8186052
start_time=90.956133
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=104857200
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM]
[STREAM]
index=1
codec_name=mp2
codec_long_name=MP2 (MPEG audio layer 2)
profile=unknown
codec_type=audio
codec_time_base=1/44100
codec_tag_string=[3][0][0][0]
codec_tag=0x0003
sample_fmt=s16p
sample_rate=44100
channels=2
channel_layout=stereo
bits_per_sample=0
id=0x101
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=8177915
start_time=90.865722
duration_ts=N/A
duration=N/A
bit_rate=384000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM] 



More information about the ffmpeg-user mailing list