Opened 3 years ago

Last modified 3 years ago

#5772 new defect

The ffplay.exe appears video mosaic and part of the audio loss problems when receiving some TS stream

Reported by: zhscnd Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: udp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The ffplay.exe appears video mosaic and part of the audio loss problems when receiving some TS stream.

I have some TS streams come from CCTV.
The ffplay.exe appears video mosaic and part of the audio loss problems when receiving these streams, but the VLC can play these streams normally every time. I dumped the raw stream to file use the VLC(the file name is 0801.ts). The ffplay.exe can play the file normally, but the ffplay.exe will appear these problems above when receiving the stream.

These problems can reproduce as following:
1.Send TS stream(ts over udp) use the 0801.ts file.
2.Use the ffplay.exe receive the stream.

The file 0801.ts can find on https://pan.baidu.com/s/1hsJNvlM

I used these ffmpeg versions:
1.https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.0.1-win64-shared.7z
2.https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-2.5.2-win64-shared.7z
The two versions have the same problems.

I don't know why, please help me.
Thanks!

Attachments (3)

ffplay-20160812-190645.log (1.5 MB) - added by zhscnd 3 years ago.
SendTs2Ip.exe (31.5 KB) - added by zhscnd 3 years ago.
demo.png (33.3 KB) - added by zhscnd 3 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 follow-up: Changed 3 years ago by cehoyos

  • Component changed from avformat to undetermined
  • Keywords mosaic removed
  • Priority changed from critical to normal

Please test current FFmpeg git head and provide both the command line that allows to reproduce your issue and the complete, uncut console output to make this a valid ticket.

comment:2 in reply to: ↑ 1 Changed 3 years ago by zhscnd

Replying to cehoyos:

Please test current FFmpeg git head and provide both the command line that allows to reproduce your issue and the complete, uncut console output to make this a valid ticket.

I used the newest version https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20160812-e8b355a-win64-shared.zip.
Use the following command line:
C:\Users\Administrator>F:\CCTV\ffmpeg-20160812-e8b355a-win64-shared\bin\ffplay.e
xe udp://172.16.0.26:1234 -loglevel debug -report

The debug log was so long, and i can't attached to this ticket, so i upload the log to https://pan.baidu.com/s/1o8AhM2I

Thanks!

comment:3 follow-up: Changed 3 years ago by cehoyos

Please attach the console output here to make this a valid ticket.

Changed 3 years ago by zhscnd

comment:4 in reply to: ↑ 3 Changed 3 years ago by zhscnd

Replying to cehoyos:

Please attach the console output here to make this a valid ticket.

Hi, I attached the output, Thanks!
https://trac.ffmpeg.org/raw-attachment/ticket/5772/ffplay-20160812-190645.log

comment:5 Changed 3 years ago by cehoyos

  • Keywords udp added
  • Version changed from 3.0.2 to git-master

comment:6 follow-up: Changed 3 years ago by cehoyos

ffplay.exe" udp://172.16.0.26:1234

How can I reproduce the issue you see?

comment:7 in reply to: ↑ 6 ; follow-up: Changed 3 years ago by zhscnd

Replying to cehoyos:

ffplay.exe" udp://172.16.0.26:1234

How can I reproduce the issue you see?

These problems can reproduce as following:
1.Send TS stream(ts over udp) use the 0801.ts file.
2.Use the ffplay.exe receive the stream.
The file 0801.ts can find on ​https://pan.baidu.com/s/1hsJNvlM
The size of the file has 2G.
I can put the file to your designated place if you have network space.
Thanks very much!

comment:8 in reply to: ↑ 7 ; follow-ups: Changed 3 years ago by cehoyos

Replying to zhscnd:

1.Send TS stream(ts over udp)

How?

comment:9 in reply to: ↑ 8 Changed 3 years ago by zhscnd

Replying to cehoyos:

Replying to zhscnd:

1.Send TS stream(ts over udp)

How?

You can use VLC to send TS Stream.
This is the command line way.
https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples

Also, you can use the VLC GUI.
Menu "Media" -> "Stream"

comment:10 in reply to: ↑ 8 Changed 3 years ago by zhscnd

Replying to cehoyos:

1.Send TS stream(ts over udp)

How?

Hi cehoyos,

Any update about this ticket? Thank you very much!

comment:11 follow-up: Changed 3 years ago by cehoyos

Please provide the vlc command line that allows to stream your file.

Changed 3 years ago by zhscnd

Changed 3 years ago by zhscnd

comment:12 in reply to: ↑ 11 Changed 3 years ago by zhscnd

Replying to cehoyos:

Please provide the vlc command line that allows to stream your file.

Hi, the VLC can only send a single stream ts file, so I used another tool.
I attached the tool on https://trac.ffmpeg.org/attachment/ticket/5772/SendTs2Ip.exe
The use of this tool is very easy, I attached a demo picture to show it.
https://trac.ffmpeg.org/attachment/ticket/5772/demo.png
The demo send ts over udp to 172.16.0.9:1234
Thanks!

Note: See TracTickets for help on using tickets.