Opened 4 years ago

Closed 4 years ago

#8851 closed defect (needs_more_info)

udp broadcast failed in windows version

Reported by: philip2528 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Version of ffmpeg:
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 10.2.1 (GCC) 20200726

How to reproduce:

ffmpeg -f lavfi -i testsrc=duration=30:size=640x480:rate=30 -f mpegts udp://127.0.0.1:5000

The Result:

Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
Press [q] to stop, ? for help
Output #0, mpegts, to 'udp://127.0.0.1:5000':

Metadata:

encoder : Lavf58.45.100
Stream #0:0: Video: mpeg2video (Main), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30 fps, 90k tbn, 30 tbc
Metadata:

encoder : Lavc58.91.100 mpeg2video

Side data:

cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A

THERE IS NO AUDIO IN THIE VIDEO FILE.
But when you use VLC and use command

udp://@:5000

there is no output of the video, and if you use "Tools"->"Statistics" and you will see there is NO VIDEO PACKET coming in instead of AUDIO

LINUX version is ok but it only happened in WINDOWS version

Change History (1)

comment:1 by philip2528, 4 years ago

Resolution: needs_more_info
Status: newclosed

followups : windows version mpv is ok but not VLC.

Note: See TracTickets for help on using tickets.