Elecard
May 25, 2013, 10:36:02 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Program Hangs Muxing TS with AVC  (Read 17085 times)
gconnery
Newbie
*
Posts: 24


View Profile WWW
« on: June 21, 2006, 07:04:40 pm »

I took an AVC transport stream I had that I created with Ateme's Encoder.  2Mbps transport bit rate.  Plays fine on my Amino AmiNet 124 STB and with Elecard's player on Windows.

I demuxed it using Xmuxer Pro 2.0 (downloaded and installed today (.exe is 2.0.60530).  I also have the AVC plugin (1.2.60502) installed.  Produced two files--one I called REMOVE_ALL_MESSAGE.m2v and one I called REMOVE_ALL_MESSAGE.mpa.  The first is presumably the h.264 elementary stream.  The second is the MPEG-1 audio stream.

I then attempted to mux the two elementary streams together to create a new transport stream.  I told it to pad (I want CBR), I set the bit rate to 2000000 (the same as the original), set the output file, and hit Start.  The program creates the target file but then nothing.  The progress bar doesn't update, the file is zero bytes, and that's all.  You can close it by clicking on the X.

I tried setting the bit rate to 3000000 and got the same result.  Nothing is happening.

Doing the same thing earlier with MPEG-2 video & AC-3 audio worked fine.

I can upload a sample if you like, its quite short.
Logged

lenn Connery
MPEG Architect
Arroyo Video Solutions
Vovs
Elecard Team
*
Posts: 154


View Profile
« Reply #1 on: June 21, 2006, 08:00:42 pm »

Hi Glenn,
Thank you very much for feedback. We certainly interested in reproducing this issue in our lab. If you don't mind I will send you ftp address and login by E-mail.
Logged
gconnery
Newbie
*
Posts: 24


View Profile WWW
« Reply #2 on: June 23, 2006, 02:51:50 pm »

Works fine with the updated code.  Thanks very much.
Logged

lenn Connery
MPEG Architect
Arroyo Video Solutions
Vovs
Elecard Team
*
Posts: 154


View Profile
« Reply #3 on: June 25, 2006, 08:02:04 pm »

Fixed version of the XMuxer is located on the http://www.elecard.com/products/products-pc/consumer/xmuxer-pro/
Logged
gconnery
Newbie
*
Posts: 24


View Profile WWW
« Reply #4 on: June 29, 2006, 01:55:37 pm »

Okay I just downloaded the new version and installed it (both Xmuxer Pro and the AVC plugin).  I uninstalled the old version first.

The program doesn't hang muxing these streams anymore, but the MPEG-2 stream it produces isn't quite right.  When I watch it on an AmiNet 124 set top box, I can see regular "pauses" where I assume the frame rate isn't being maintained.  Looking at the stream myself I can see a few places where the PTS's aren't being incremented properly.  For example, the first I-frame in the second GOP has a PTS +6006 larger than the PTS on the last P-frame in the first GOP (neither of these has any B-frames or reordering).  Not sure why, but this will result in the last P-frame of the first GOP staying on screen for two frame times, which is the kind of thing I'm seeing when I watch it.

It appears that most of the PTS increments are correct, even with reordering (later GOPs do have B's), but obviously some of them aren't correct.

In fact, looking at packet 8283 of the output, I see a PTS that PRECEDS the PCR time at that moment--the last PCR before this is at packet 8248 which has a PCR value of 167426784.  Since this is a CBR stream at 2Mbps, the PCR at 8283 would be +710640 from that or 168137424.  Converting this to 90kHz for the PTS comparison, we get 560458.  But the PTS on this frame is 559709, which means this frame CANNOT be displayed.

You've got some problems in your PTS/DTS computation logic.

None of these problems are in the original stream, before running it through the demux/remux process.  I'm using the same progressive Ateme sample as before, and checking "Use padding" and setting the desired bit rate to 2000000.
Logged

lenn Connery
MPEG Architect
Arroyo Video Solutions
Vovs
Elecard Team
*
Posts: 154


View Profile
« Reply #5 on: June 29, 2006, 11:34:08 pm »

Hi Glenn,

Thank you for your feedback. Obviously the cause of this issue is multiplexer. We are seeing this problem on stream that you gave us now and hoping that it will be resolve shortly.
Logged
stguy
Newbie
*
Posts: 6


View Profile
« Reply #6 on: December 20, 2006, 04:49:32 pm »

I have XMuxer Pro 2.1.61024 and AVC Plugin 1.2.60502. I have exactly the same problem with the hanging described above. The input is a .264 ES made with x264.exe and an AC3. The output file is created but remains at size 0.

The .264 file previews OK in the XMuxer Pro preview window. If I mux just the AC3 it works.

Please advise.
Logged
Kostya
Newbie
*
Posts: 148


View Profile WWW
« Reply #7 on: December 21, 2006, 11:41:21 pm »

Hi stguy,

It is a known bug, it is already fixed. In the beginning of next week there will be new versions of Elecard XMuxer: Pro 2.2 and Lite 1.1. Watch our news.

Best Regards,
Konstantin.
Logged

est Regards,
Konstantin
www.elecard.com
stguy
Newbie
*
Posts: 6


View Profile
« Reply #8 on: December 22, 2006, 02:07:10 am »

I need it to mux streams for the CES 2007 show! Can't you give me a fixed version now if you already have a fix. This is urgent!
Logged
stguy
Newbie
*
Posts: 6


View Profile
« Reply #9 on: December 23, 2006, 01:39:14 am »

Hello???

You are not answering your PM.
Logged
Kostya
Newbie
*
Posts: 148


View Profile WWW
« Reply #10 on: December 23, 2006, 04:52:09 pm »

Hi stguy,
Read you private message.

Best Regards,
Konstantin.
Logged

est Regards,
Konstantin
www.elecard.com
stguy
Newbie
*
Posts: 6


View Profile
« Reply #11 on: December 24, 2006, 12:47:42 pm »

Dear Konstantin,

The fix you sent me works!!!

And the PTS/DTS handling all appears correct because my streams play nicely.

I want to thank you for saving me. My gonads were really in the fire on this one.

I will tell everyone at the show that we used Elecard XMuxer Pro to mux our streams.

Thank you so much for your excellent support.

Don
Logged
Kostya
Newbie
*
Posts: 148


View Profile WWW
« Reply #12 on: December 25, 2006, 07:27:12 pm »

Hi stguy,

Thanks.
We are always glad to help our consumers.

Best Regards,
Konstantin.
Logged

est Regards,
Konstantin
www.elecard.com
Kostya
Newbie
*
Posts: 148


View Profile WWW
« Reply #13 on: December 26, 2006, 05:58:40 pm »

Hi all,
I am glad to inform you that Elecard releases new versions of Elecard XMuxer: Pro v 2.2 and Lite v 1.1.
The problem with multiplexing AVC and AC3 elementary streams is solved.

Best Regards,
Konstantin.
Logged

est Regards,
Konstantin
www.elecard.com
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!