Streaming TS vs PS: blocky frames with TS?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
JohnPeterson
New Cone
New Cone
Posts: 4
Joined: 26 Mar 2012 08:10

Streaming TS vs PS: blocky frames with TS?

Postby JohnPeterson » 27 May 2012 22:16

When comparing streaming with the TS and PS muxer

Code: Select all

cvlc ${v} -vvv --sout "#duplicate{dst=standard{access=http,mux=ts,dst=:8554},dst=standard{access=http,mux=ps,dst=:8555}} 2>&1|tee server.log"
the lost frames are similar but TS give fairly much blocky frames (a batch of blocky frames every ten seconds or so) which PS hasn't.

Here are the logs for the server and the two clients. Here is a screencap with the blocky TS on the left and PS on the right.

The artifacts seem to always occur on the same frames. The artifacts seem to correlate with this server message, but it could be a coincidence.

Code: Select all

[0x7faad40022c8] mux_ts mux warning: packet with too strange dts (dts=174025600874,old=174025601290,pcr=174025601290)
Latency is low and throughput high since its on the same PC (the same thing occurs when streaming in the same Windows environment as when streaming from a VMware Ubuntu guest), and also tested over a gigabit LAN. It shouldn't be a specific setting either since the Ubuntu cvlc that's streaming is the dpkg version with unmodified settings, and it's tested on different clients on the LAN, some with default settings.

It's the same when using RTSP instead of HTTP.

I'm wondering if anyone else experience that TS give more blocky frames than PS.

Code: Select all

Codec information in the client: Stream 0 Type: Audio Original ID: 68 Codec: DTS Audio (dts ) Language: English Channels: 3F2R/LFE Sample rate: 48000 Hz Bitrate: 1536 kb/s Stream 1 Type: Video Original ID: 69 Codec: H264 - MPEG-4 AVC (part 10) (h264) Resolution: 1920x1080 Frame rate: 47.951971 [wrong] Decoded format: Planar 4:2:0 YVU

Code: Select all

MediaInfo: General Format : Matroska Format version : Version 2 File size : 85.8 MiB Duration : 1mn 0s Overall bit rate : 12.0 Mbps Writing application : mkvmerge v4.1.1 ('Bouncin' Back') built on Jul 3 2010 22:54:08 Writing library : libebml v1.0.0 + libmatroska v1.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1mn 0s Bit rate : 10.2 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.206 Stream size : 73.3 MiB (85%) Language : English Audio ID : 2 Format : DTS Format/Info : Digital Theater Systems Codec ID : A_DTS Duration : 1mn 0s Bit rate mode : Constant Bit rate : 1 510 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 24 bits Compression mode : Lossy Delay relative to video : 83ms Stream size : 10.8 MiB (13%) Language : English Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Language : English

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests