Log in

View Full Version : Howto check XVID Video for B-Frames


LeXXuz
5th March 2008, 13:23
Hi,

I have a hardware player using Sigma 8621 Chipset which doesn't really like the use of B-Frames in a xvid encoded video.

So plain and simple question: are there any tools that can show me whether or not a xvid file uses b-frames?

unskinnyboy
5th March 2008, 13:33
GSpot, MPEG4 Modifier, Avinaptic etc.

LeXXuz
5th March 2008, 20:32
GSpot,

OMG! Used it hundreds of times before. My bad! Thanks pal! :)

olnima
6th March 2008, 10:03
Does your player not like the use of b-frames or of packed-bitstream? Try to unpack with MpegModifier before re-encoding the whole stuff.

Olnima

LeXXuz
6th March 2008, 10:21
Does your player not like the use of b-frames or of packed-bitstream? Try to unpack with MpegModifier before re-encoding the whole stuff.

Olnima

I made a couple of tests since yesterday and it turns out that the player ( it's a TViX 4000 ) plays xvid with b-frames (even with 2) fine IF I use the 'packed bitstream' option.

I have to admit I never gave the 'packed bitstream' thing any thoughts in my previous encodes. My old Philips player with MTK chipset played all my xvids just fine. I encoded with xvid_encraw and MeGui which disables packed bitstream in its common profiles.

Is mpegmodifier or any other tool able to change existing xvids into packed bitstream ones? Or is it only possible to unpack them afterwards?

unskinnyboy
6th March 2008, 17:15
Is mpegmodifier or any other tool able to change existing xvids into packed bitstream ones? Or is it only possible to unpack them afterwards?MPEG4 Modifier will pack too, as well as unpack.

olnima
6th March 2008, 17:17
Yes Mpeg4Modifier can pack and unpack bitstream in both directions withour re-encoding the video. It's not too difficult to figure out yourself how this can be done.

Olnima

ronnylov
7th March 2008, 14:09
I can confirm that using packed bitstream fixed all my problems with xvid b-frames on my TviX 4000.

LeXXuz
7th March 2008, 14:28
I can confirm that using packed bitstream fixed all my problems with xvid b-frames on my TviX 4000.

Same here! :) Now all the Xvids play just fine.

But I'm still having troubles with large (>2GB) OpenDML avis. I tried every option in AviMUX Gui and also used latest Virtual Dub, but no use. Using FF, FR or Goto function in these avis causes TViX to slow down, get audio out of sync or even hang up.

It seems that divxmux is the only tool that creates avi's TViX likes. Using FF (16x , 32x speed) works fine and without any delay with these avis. However divxmux isn't very stable, hangs up often and refuses to mux files >4GB.

I'm just wondering where the differences may be, that AVIMux/Vdub files play poor and the divxmux files play fine. I see no differences when loading up the files in GSpot. :(

SeeMoreDigital
7th March 2008, 16:07
I'm just wondering where the differences may be, that AVIMux/Vdub files play poor and the divxmux files play fine. I see no differences when loading up the files in GSpot. :(Can you upload some screen grabs of what GSpot reports for the three different muxing tools please?

olnima
7th March 2008, 17:14
Same here! :) Now all the Xvids play just fine.

But I'm still having troubles with large (>2GB) OpenDML avis. I tried every option in AviMUX Gui and also used latest Virtual Dub, but no use. Using FF, FR or Goto function in these avis causes TViX to slow down, get audio out of sync or even hang up.

It seems that divxmux is the only tool that creates avi's TViX likes. Using FF (16x , 32x speed) works fine and without any delay with these avis. However divxmux isn't very stable, hangs up often and refuses to mux files >4GB.

I'm just wondering where the differences may be, that AVIMux/Vdub files play poor and the divxmux files play fine. I see no differences when loading up the files in GSpot. :(



I think this problem is also player-related. I never have files > 2GB, otherwise I split theme in pieces. Did You play around with the burning-options related to this?

Olnima

LeXXuz
9th March 2008, 02:45
I think this problem is also player-related. I never have files > 2GB, otherwise I split theme in pieces. Did You play around with the burning-options related to this?

Olnima

Burning options? Burn what?

Well I have lots of >2GB files that play just fine. HDTV Xvids for example. Ofcourse I could split my files, but why should I when there are files that play fine?

All my efforts to create working OpenDML files failed. However VirtualDubmod manages to create Avi 1.0 files >2GB that work absolutely fine with the Tvix Box. Avimux refuses to create Avi 1.0 files that large. (I gave up already on Avimux because those files played worst by far.) Saving the same file in VdubMod as openDML avi results in playback problems.
http://img503.imageshack.us/img503/2697/vdubmavi10mw0.th.png (http://img503.imageshack.us/my.php?image=vdubmavi10mw0.png)http://img247.imageshack.us/img247/6950/vdubmodmlho2.th.png (http://img247.imageshack.us/my.php?image=vdubmodmlho2.png)

Well I always thought Avi 1.0 files only can be at least 2048MB large? Can someone pls explain this?



Secondly here are some screens from HDTV files that play fine on the Tvix Box:
http://img148.imageshack.us/img148/2381/vdubscreencs0.th.png (http://img148.imageshack.us/my.php?image=vdubscreencs0.png)http://img138.imageshack.us/img138/530/hdtv1yf1.th.png (http://img138.imageshack.us/my.php?image=hdtv1yf1.png)http://img521.imageshack.us/img521/6719/hdtv2hz9.th.png (http://img521.imageshack.us/my.php?image=hdtv2hz9.png)


Still I can't pinpoint why some files play fine and others not. :(

ronnylov
11th March 2008, 13:46
I do also have problems with >2GB avi files in my TviX 4000. I have reported this issue to dvico and their response was to try mp4 format instead. However the only way I could make mp4 work with audio was by reencoding audio to aac format, but then the player got other playback problems (getting out of sync or loosing audio).

So my only working solution is to split the avi files to <2 GB.

Regarding TviX 4000 and xvid in HD-format maybe you can learn something by this thread:
http://forum.doom9.org/showthread.php?t=124673

However when writing that thread I was not aware that packed bitstream actually worked better. Now I encode xvid by using the Alt2nd-pass xbmc low hd profile to remove VBV problems. This really work great to make everything playable.

TviX 4000 is a hard disk media player so there are no burning options, the files are stored on a hard disk drive via USB or LAN.

SeeMoreDigital
11th March 2008, 20:03
There's also more information about OpenDML over at this thread: -

http://forum.doom9.org/showthread.php?p=1084749#post1084749

SonofPhatty2x4
21st March 2008, 19:14
So my only working solution is to split the avi files to <2 GB.



Just quick idea. I use XBMC and run into issues with xvid files over 2 gigs.

A solution that may help - I use VDUBMOD 1.8.xxx (works for any version - I have tested all the way down to 1.5.10.xx) to open the video file. Select video and then select direct stream copy. Then I save the file as avi (different name however).

All issues gone. I do admit that this maybe an anomaly and the vdubmod maybe a waste of time (about a minute that is). However, it does seem to work.

Can you try and see if this solves your issue? That way I'll know that I'm not the only one using this solution.

LeXXuz
21st March 2008, 21:23
A solution that may help - I use VDUBMOD 1.8.xxx (works for any version - I have tested all the way down to 1.5.10.xx) to open the video file. Select video and then select direct stream copy. Then I save the file as avi (different name however).


There is a VdubMod Version 1.8.x?

The last working version I heard of vdubmod was sth about 1.5.10.x :confused:

setarip_old
21st March 2008, 23:21
@LeXXuz

Hi!

"SonofPhatty2x4" is confusing VirtualDubMOD with the standard VirtualDub...

SonofPhatty2x4
22nd March 2008, 02:30
@LeXXuz

Hi!

"SonofPhatty2x4" is confusing VirtualDubMOD with the standard VirtualDub...

No wonder that didn't look correct when I proof read it.

Anyways, thanks for the correct!