mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-26 02:10:55 +08:00
avformat/rtpenc_rfc4175: support for interlace format
Below are steps how to test on your local host: wget --no-check-certificate https://samples.ffmpeg.org/MPEG2/interlaced/burosch1.mpg 1. interlace format: ffmpeg -re -i ./burosch1.mpg -c:v bitpacked -pix_fmt yuv422p10 -f rtp rtp://239.255.0.1:6000 copy and create sdp file test.sdp ffplay -buffer_size 671088640 -protocol_whitelist "file,rtp,udp" test.sdp 2. progressive format: ffmpeg -re -i ./burosch1.mpg -vf yadif -c:v bitpacked -pix_fmt yuv422p10 -f rtp rtp://239.255.0.1:6000 copy and create sdp file test.sdp ffplay -buffer_size 671088640 -protocol_whitelist "file,rtp,udp" test.sdp Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
@@ -95,7 +95,7 @@ void ff_rtp_send_vc2hq(AVFormatContext *s1, const uint8_t *buf, int size, int in
|
||||
void ff_rtp_send_vp8(AVFormatContext *s1, const uint8_t *buff, int size);
|
||||
void ff_rtp_send_vp9(AVFormatContext *s1, const uint8_t *buff, int size);
|
||||
void ff_rtp_send_jpeg(AVFormatContext *s1, const uint8_t *buff, int size);
|
||||
void ff_rtp_send_raw_rfc4175(AVFormatContext *s1, const uint8_t *buf, int size);
|
||||
void ff_rtp_send_raw_rfc4175(AVFormatContext *s1, const uint8_t *buf, int size, int interlaced, int field);
|
||||
|
||||
const uint8_t *ff_h263_find_resync_marker_reverse(const uint8_t *av_restrict start,
|
||||
const uint8_t *av_restrict end);
|
||||
|
||||
Reference in New Issue
Block a user