Telestream Community Forum
Decrease font size
Increase font size
Topic Title: Buffer Overflow in Mpeg TS encode
Topic Summary:
Created On: 10/30/2009 10:49 AM
Status Post and Reply
Linear : Threading : Single : Branch
Topic Tools Search Topic
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 10/30/2009 10:49 AM
User is offline View Users Profile Print this message

Author Icon
jpitkin

Posts: 15
Joined: 4/28/2009

I've been able to create a CableLabs compliant Mpeg Stream, it tests compliant.

There is however a Buffer Overflow Error that I have been told may effect playout.

Has anybody run into this? Is there a workaround/fix?

I am running Episode V 5.3 (23594_20091019)
 10/30/2009 5:45 PM
User is offline View Users Profile Print this message

Author Icon
CraigS

Posts: 17463
Joined: 4/4/2007

Can you post details about the Buffer Overflow Error?

-------------------------
CraigS
Telestream Desktop Forum Moderator
 11/2/2009 10:51 AM
User is offline View Users Profile Print this message

Author Icon
jpitkin

Posts: 15
Joined: 4/28/2009

I just got a reply back from our engineer, He is saying that 132.013 seconds into the content MProbe reports that the buffer is spiking into the multiplexing buffer range.

Is this the information you're looking for?
 11/3/2009 10:27 AM
User is offline View Users Profile Print this message

Author Icon
CraigS

Posts: 17463
Joined: 4/4/2007

Yes, can you get some kind of analysis file or log file showing that along with the encoded file?
If so, I'll provide a way you can send it to us.

-------------------------
CraigS
Telestream Desktop Forum Moderator
 11/11/2009 8:16 AM
User is offline View Users Profile Print this message

Author Icon
jpitkin

Posts: 15
Joined: 4/28/2009

I'll see what I can get for log files.
I've received further info is that there are bad forward and backward looking f-code values preventing playback on a couple different set top boxes.
Please let me know where to send the info.
Thanks
 11/11/2009 4:06 PM
User is offline View Users Profile Print this message

Author Icon
jpitkin

Posts: 15
Joined: 4/28/2009

I've been able to get around the forward_f_code issues by using the NTSC_7MBit profile and reconfiguring it to 3.75Mbit, I am still getting the buffer overflow errors tho.

The error log from Mprobe is as follows:

...
Information: 1173 TPT->PES(PID=68), MPEG 2 Video->VES(224)->No images from previous GOP are available. Playing GOP# 93 may show hazy results
Information: 1005 TPT->PES(PID=68), MPEG 2 Video->VES(224)->This is an MPEG-2 Video Elementary Stream
Information: 12065 TPT->PES(PID=68), MPEG 2 Video->VES(224)->Buffer Analysis started for Video stream with stream ID 224 using STD model
Information: 12065 TPT->PES(PID=68), MPEG 2 Video->VES(224)->Buffer Analysis started for Video stream with stream ID 224 using STD model
Information: 3129 TPT->Calculated rate for the stream is 1304088 bits/sec
Information: 12070 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Warning : Calculated rate R(n) = 8427092.90709 Bits/sec greater than Rmax = 3000000.00000 Bits/sec. Access unit# = 1
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 0.5006020741 sec
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 0.5338297407 sec
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 0.5672988889 sec
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 0.6006655556 sec
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 0.6064671111 sec
...
...
...
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 46.1186004444 sec
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 46.1360825556 sec
Syntax Error: 12073 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Buffer Overflow. Present time = 46.1519671111 sec
Information: 12001 TPT(Packet#117369)->EOF Reached. Total no. of packets in the stream is 117369
Information: 12001 TPT->PES(PID=68), MPEG 2 Video(Packet#1772)->EOF Reached. Total no. of packets in the stream is 1772
Information: 12002 TPT->PES(PID=68), MPEG 2 Video->VES(224)->EOF Reached
Information: 12002 TPT->PES(PID=68), MPEG 2 Video->VES(224)->EOF Reached
Information: 12002 TPT->PES(PID=68), MPEG 2 Video->VES(224)->EOF Reached
Information: 12064 TPT->PES(PID=68), MPEG 2 Video->VES(224)->VBV: Total number of times R(n) exceded VBV byte Rate = 523
Information: 1005 TPT->PES(PID=68), MPEG 2 Video->VES(224)->This is an MPEG-2 Video Elementary Stream
 11/12/2009 9:38 PM
User is offline View Users Profile Print this message

Author Icon
CraigS

Posts: 17463
Joined: 4/4/2007

Can you get me the settings file and encoded file you used? This way we can check for the cause on our end.

-------------------------
CraigS
Telestream Desktop Forum Moderator
 11/16/2009 1:37 PM
User is offline View Users Profile Print this message

Author Icon
jpitkin

Posts: 15
Joined: 4/28/2009

Please let me know where to send the file/settings and I'm happy to send them along.
 11/16/2009 2:05 PM
User is offline View Users Profile Print this message

Author Icon
jpitkin

Posts: 15
Joined: 4/28/2009

I also had an open help ticket on the overflow error's.

This is what I received:

Support Case 1-76015

Dear Joseph,
Engineering says the buffer overflow is a bug. They will be implementing a new MPEG encoder that fixes this issue, but probably not until early next year.
Setting is CBR. Did you try VBV with small buffer size?
Best Regards,
Linda
Telestream Desktop Support Technician
 11/19/2009 1:38 PM
User is offline View Users Profile Print this message

Author Icon
CraigS

Posts: 17463
Joined: 4/4/2007

Great. I sent you FTP info via forum private message. Include source file too. That way we can test and compare results with your problem encode. I'll make sure Linda knows it's up for testing as we work on the fix.

-------------------------
CraigS
Telestream Desktop Forum Moderator

FuseTalk Basic Edition v3.0 - © 1999-2010 FuseTalk Inc. All rights reserved.