[FFmpeg-user] UDP streaming to Pico QAM modulator
Steve Kowald
skowald at gvtc.com
Wed Jul 8 13:51:04 CEST 2015
Hi Carl,
> The relevant console output is the one from the ffmpeg command, not from ffprobe.
Sorry, I re-ran using FFMPEG -i for both FFMPEG streaming and Lead Tools streaming
of the same file. It looks like LeadTools might be re-encoding the audio to 384K because
it is only 224K in the encoded file.
To stream the file using FFMPEG I used the CLI:
ffmpeg -i "c:\Superman vs Batman.mpg" -f mpegts udp://192.168.1.3:10005?pkt_size=1316
This is the output from FFMPEG -i on that stream:
C:\Downloads\FFMPeg\ffmpeg-20150630-git--win32-shared\bin>ffmpeg -i udp://192.16
8.1.3:10005
ffmpeg version N-73266-g4aa0de6 Copyright (c) 2000-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 @ 01ec1ac0] Invalid frame dimensions 0x0.
Last message repeated 7 times
Input #0, mpegts, from 'udp://192.168.1.3:10005':
Duration: N/A, start: 27.022456, 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
At least one output file must be specified
This is the output from FFMPEG -i when using LeadTools to stream the same file:
C:\Downloads\FFMPeg\ffmpeg-20150630-git--win32-shared\bin>ffmpeg -i udp://192.16
8.1.3:10005
ffmpeg version N-73266-g4aa0de6 Copyright (c) 2000-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 @ 02192300] Invalid frame dimensions 0x0.
Last message repeated 7 times
Input #0, mpegts, from 'udp://192.168.1.3:10005':
Duration: N/A, start: 12.178333, bitrate: N/A
Program 1
Stream #0:0[0x80]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
(tv), 1920x1080 [SAR 1:1 DAR 16:9], max. 14776 kb/s, 29.97 fps, 29.97 tbr, 90k t
bn, 59.94 tbc
Stream #0:1[0x90]: Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16
p, 224 kb/s
At least one output file must be specified
Thanks for your help.
More information about the ffmpeg-user
mailing list