Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Hardware players

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th March 2004, 11:11   #1  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,264
Packed bitstream in XviD workaround for MT1389 players

At present players like the Elta 8883 will not playback XviD with packed bitstream correctly. If you have already got encodes in this format and do not wish to re-encode here is what you need to do in order to strip the packed bitstream out LOSSLESSY.

Tools you will need

3divx from http://www.3ivx.com
VirtualDubMod from http://virtualdubmod.sourceforge.net
Graphedit (Google it not hard to find)

Install 3ivx etc

First you need to demux the audio in VirtualDubMod. Open the AVI file in VirtualDubMod. Select menu 'Streams', 'Stream list' select audio file and click on 'demux' give it a name and remember where you saved it.

After that is demuxed close VirtualDubMod.

Open Graphedit. Drag the avi file onto Graphedit. It opens a graph. Delete all the boxes except the first two boxes (One says open file in one box and AVI Splitter in the other).

Go to menu 'filters' and add filter from 3ivx '3ivx muxer' and from DirectShow section 'filewriter' and give it name video.mp4 (Must give extension or it will bork).

right click on top out pin of AVI Splitter box and click render pin. It should connect itself to the 3ivx muxer and then to the file writer box. Right click on the 3ivx filter and select properties. Tick the Click on play button. Exit Graphedit when file completes.

Now click on 'File' 'New' in Graphedit. Drag the newly created MP4 file into Graphedit. Delete stuff after 3ivx splitter. Go to filters again and add AVI Mux and Filewriter under the DirectShow tree list. Right click on '3ivx Splitter' properties. Tick 'Allow Unsupported Decoders' and apply/OK it. Rick click on '3ivx Splitter and select 'Render pins'. Now click on play in Graphedit. This will render the file back to an AVI file ready for the final step.

Open VirtualDubMod again and open the newest AVI file. Go to stream list menu and select 'Add' and add back the audio file you demuxed earlier. If AC3 don't forget to right click the newly added audio file, select 'Interleave' and set audio interleave to 64 or 96 milliseconds (Preload can be left as is).

OK it and then make sure on the 'Video' menu it is set to 'Direct Stream Copy'. Go to 'File', 'Save as' and save to a new filename. This is your finished movie file with packed bitstream removed.

Done.

Word of warning. Check the audio is in sync. If not you may need to remux again in VirtualDubMod adjusting the audio delay slightly (That's another topic though). Also make sure 'Direct Stream Copy' is set under VirtualDubMod's 'Video' menu or it will try to re-encode the video (You don't want to do that).

Longwinded but works. Waiting for a tool that removes packed bitstream for you in one easy step.

EDIT: Updated. No need for MP4UI (And I heard it can cause probs).
EDIT: Corrected filter to use on muxing MP4 back to AVI. Thanks for the heads up.

Last edited by oddball; 20th March 2004 at 12:21.
oddball is offline   Reply With Quote
Old 18th March 2004, 11:27   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally posted by oddball
Waiting for a tool that removes packed bitstream for you in one easy step.
waiting for a hardware player which doesnt only handle this old outdated avi container, which this packed bitstream hack was invented for, to be able to use the .mp4 file directly
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 19th March 2004, 09:38   #3  |  Link
monty0815
Registered User
 
Join Date: Nov 2003
Posts: 88
Does anybody know, how I can tell, if packed bitstream was turned on during the encode? Is there any app that shows this kind of information?
I simply can't remember, on which movies I had this enabled, since starting of with Xvid 1.0.
cheers, monty
monty0815 is offline   Reply With Quote
Old 19th March 2004, 12:40   #4  |  Link
Stux
Registered User
 
Stux's Avatar
 
Join Date: Dec 2002
Location: Sydney, Australia
Posts: 252
Re: Packed bitstream in XviD workaround for MT1389 players

Quote:
Originally posted by oddball
Go to filters again and add AVI Splitter and Filewriter under the DirectShow tree list
I think you mean AVI Mux

You can also download GraphEdit from the 3ivx windows download page
__________________
http://www.3ivx.com
Stux is offline   Reply With Quote
Old 19th March 2004, 12:49   #5  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally posted by monty0815
Does anybody know, how I can tell, if packed bitstream was turned on during the encode?
no way
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 19th March 2004, 13:26   #6  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
DRF Analyzer
manono is offline   Reply With Quote
Old 19th March 2004, 13:31   #7  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
cool, didnt know that
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 19th March 2004, 15:13   #8  |  Link
ashley
Registered User
 
Join Date: Apr 2003
Posts: 7
I've just tried DRF analyser, and in part of the report it says "The file has Packeted Frames"

Is this the part that means that packed bitstream was used?
ashley is offline   Reply With Quote
Old 19th March 2004, 17:44   #9  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
Yes, and if Packed Bitstream isn't used, then it says nothing at all about it.
manono is offline   Reply With Quote
Old 19th March 2004, 18:42   #10  |  Link
monty0815
Registered User
 
Join Date: Nov 2003
Posts: 88
thanks, manono

You just saved me a lot of burning on dvd-rw and testing on my standalone.
monty0815 is offline   Reply With Quote
Old 20th March 2004, 00:21   #11  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,264
Stux corrected. Thanks.
oddball is offline   Reply With Quote
Old 20th March 2004, 10:20   #12  |  Link
FZero
Registered User
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 48
does packed bitstream cause problems on all standalones? I have the liteon lvd-2002.
FZero is offline   Reply With Quote
Old 20th March 2004, 12:37   #13  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,264
I don't know. But XvID with Packed bitstream or QPEL or GMC enabled can cause the MT1389 chips to b0rk.
oddball is offline   Reply With Quote
Old 20th March 2004, 12:46   #14  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
guys

it also depends on whether you used 1 or more than 1 consecutive b-frames with packed bitstream
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 20th March 2004, 13:24   #15  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,264
I'd rather they not use any of those options at all at the moment. Then again I'd rather they fix the damned firmware and hurry up and release it!
oddball is offline   Reply With Quote
Old 21st March 2004, 13:58   #16  |  Link
Sharro
Xvid Tribalistic Fan
 
Join Date: Oct 2001
Location: Portugal
Posts: 270
Quote:
Originally posted by oddball
... or QPEL ... can cause the MT1389 chips to b0rk.
Either I read it wrong... or you are wrong ... QPEL plays flawlessly on MT1389DE.

All the best.

Sharro
Sharro is offline   Reply With Quote
Old 21st March 2004, 18:21   #17  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,264
I have an XviD encoded with QPEL and all I get is sound and no video playback.
oddball is offline   Reply With Quote
Old 21st March 2004, 18:37   #18  |  Link
Zhnujm
Registered User
 
Zhnujm's Avatar
 
Join Date: Oct 2001
Posts: 983
Then surely the problem is not qpel.

Wrong muxing ? You could try to remux with Virtualdub
Custom Matrices ? Some will not play.
Horizontal resolution above 720 ? Does not work also.
Zhnujm is offline   Reply With Quote
Old 22nd March 2004, 22:27   #19  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
All in all... very nice work oddball

Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 23rd March 2004, 13:51   #20  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,264
Hoing back to the QPEL issue. I had a file with packed bitstream AND QPEL. I did the usual to get rid of the packed bitstream but now that file will not play video in the Elta. It just plays the audio and remains stuck on the file selection screen. If the file is played on the computer it plays fine (But if you seek you have to wait until it catches up to the next keyframe).

Does QPEL have various settings?
oddball is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.