Opened 8 years ago

Last modified 8 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 8 years ago.
SendTs2Ip.exe (31.5 KB ) - added by zhscnd 8 years ago.
demo.png (33.3 KB ) - added by zhscnd 8 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by Carl Eugen Hoyos, 8 years ago

Component: avformatundetermined
Keywords: mosaic removed
Priority: criticalnormal

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.

in reply to:  1 comment:2 by zhscnd, 8 years ago

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 by Carl Eugen Hoyos, 8 years ago

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

by zhscnd, 8 years ago

Attachment: ffplay-20160812-190645.log added

in reply to:  3 comment:4 by zhscnd, 8 years ago

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 by Carl Eugen Hoyos, 8 years ago

Keywords: udp added
Version: 3.0.2git-master

comment:6 by Carl Eugen Hoyos, 8 years ago

ffplay.exe" udp://172.16.0.26:1234

How can I reproduce the issue you see?

in reply to:  6 ; comment:7 by zhscnd, 8 years ago

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!

in reply to:  7 ; comment:8 by Carl Eugen Hoyos, 8 years ago

Replying to zhscnd:

1.Send TS stream(ts over udp)

How?

in reply to:  8 comment:9 by zhscnd, 8 years ago

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"

in reply to:  8 comment:10 by zhscnd, 8 years ago

Replying to cehoyos:

1.Send TS stream(ts over udp)

How?

Hi cehoyos,

Any update about this ticket? Thank you very much!

comment:11 by Carl Eugen Hoyos, 8 years ago

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

by zhscnd, 8 years ago

Attachment: SendTs2Ip.exe added

by zhscnd, 8 years ago

Attachment: demo.png added

in reply to:  11 comment:12 by zhscnd, 8 years ago

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.