[FFmpeg-user] ffprobe with mpegts/udp
Andriy Gelman
andriy.gelman at gmail.com
Sat Feb 9 17:16:49 EET 2019
Hello,
I have a question about using ffprobe with mpegts/udp.
Consider the following example:
*$ echo "test" > testfile.dat #create test file*
*$ ffmpeg -f bin -i testfile.dat -c copy -f mpegts output.ts*
Running ffprobe on output.ts outputs the stream format
*$ ffprobe output.ts *
*Input #0, mpegts, from 'output.ts': Duration: N/A, start: 1.400000,
bitrate: N/A Program 1 Metadata: service_name : Service01
service_provider: FFmpeg Stream #0:0[0x100]: Data: bin_data
([6][0][0][0] / 0x0006)*
However, when I use udp, i.e.
*$ ffmpeg -f bin -i testfile.dat -c copy -f mpegts udp://127.0.0.1:6500
<http://127.0.0.1:6500>*
ffprobe just hangs and doesn't output any results:
*$ ffprobe -f mpegts udp://127.0.0.1:6500 <http://127.0.0.1:6500>*
Do I need to set some additional parameters, like probesize or analyze
duration here?
Your help is much appreciated!
Thank you,
Andriy
P.S. I am on the origin/master branch of ffmpeg
*ffmpeg version n4.1 Copyright (c) 2000-2018 the FFmpeg developersbuilt
with gcc 8.2.1 (GCC) 20180831configuration: --prefix=/usr --disable-debug
--disable-static --disable-stripping --enable-fontconfig --enable-gmp
--enable-gnutls --enable-gpl --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype
--enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec
--enable-nvenc --enable-omx --enable-shared --enable-version3libavutil
56. 22.100 / 56. 22.100libavcodec 58. 35.100 / 58. 35.100libavformat
58. 20.100 / 58. 20.100libavdevice 58. 5.100 / 58.
5.100libavfilter 7. 40.101 / 7. 40.101libswscale 5. 3.100 / 5.
3.100libswresample 3. 3.100 / 3. 3.100libpostproc 55. 3.100 / 55.
3.100*
More information about the ffmpeg-user
mailing list