[FFmpeg-user] Playing an uncompressed raw interlaced RTP video stream
villastar at yahoo.com.au
villastar at yahoo.com.au
Fri Sep 28 17:38:55 EEST 2018
On Friday, 28 September 2018, 6:01:08 am AWST, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> Please do, if it works your problem should be solved,
> I fear though that the "bitpacked" codec (the name alone
> makes me shiver) is broken and needs major changes.
In the past, we have used the same command to playback a raw
uncompressed, non-interlaced RTP stream before with success. It is
only when we tried it with an interlaced version that we encountered
this problem.
I also got around to trying the filter today - the playback still isn't
quite right. From the console:
$ ffplay -protocol_whitelist file,rtp,udp -strict -2 -vf "il=i" -f sdp camera.sdp
ffplay version 4.0.2 Copyright (c) 2003-2018 the FFmpeg developers
built with gcc 7.3.1 (GCC) 20180722
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[udp @ 0000017923e68740] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0000017923e78a00] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[sdp @ 0000017923e57840] jitter buffer full 0KB sq= 0B f=0/0
[sdp @ 0000017923e57840] RTP: missed 4 packets
[sdp @ 0000017923e57840] Missed previous RTP Marker
Last message repeated 1 times
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
Input #0, sdp, from 'camera.sdp':
Metadata:
title : Camera 1
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: bitpacked (UYVY / 0x59565955), uyvy422, 720x576, 50 fps, 50 tbr, 90k tbn, 90k tbc
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
[sdp @ 0000017923e57840] Missed previous RTP Markerq= 0B f=0/0
This time I used my phone camera to record the playback on my computer
screen. It can be viewed at:
https://www.dropbox.com/s/phx9iagb6k3qdtr/playback_with_filter_resized.mp4?dl=0
For comparison, I went back and also recorded one without using the
filter. The footage is at:
https://www.dropbox.com/s/ixr33gsi2q5h0w9/playback_no_filter_resized.mp4?dl=0
> Carl Eugen
More information about the ffmpeg-user
mailing list