Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   General Talk And Support (http://forum.bsplayer.com/general-talk-support/)
-   -   aspect ratio (solved) and AVI open problem (SOLVED!) (http://forum.bsplayer.com/general-talk-support/7735-aspect-ratio-solved-avi-open-problem-solved.html)

Digiface 6th August 2006 03:32 AM

aspect ratio (solved) and AVI open problem (SOLVED!)
 
when i open .mkv file or dvd ,aspect ratio is not right (it's shrinked). i have to go aspect ratio settings and click original and then it will be right. i have keep aspect ratio checked. this problem is only with .mkv files and one DVD-R file that i got. is there any solution for this? i have MatroskaSplitter/FFDShow installed and BS.Player 2.10.

J7N 6th August 2006 10:42 AM

Re: aspect ratio
 
What aspect ratio (SAR & DAR) does ffdshow show for your files?

Matroska container includes a few numeric fields that suggest the player the dimensions it is supposed to scale the video display. Are these values correct in your MKVs?

Are you using ffdshow to decode MPEG-2 (dvds)?

Digiface 6th August 2006 11:17 AM

i just opened one .mkv file and SAR was 1/1 and DAR 80/34. FFDSHOW decodes this because it's XviD. well,it's seems to be that FFDShow can't somehow show right resolution for .mkv files,because it shows that res. is 640x344,while right is 640x480. clicking "original" on BSP aspect ratio setting fixes that.

EDIT: just opened another .mkv and yes,FFDShow show wrong vertical res. for .mkv's.

and i use just GPL MPEG2 decoder to DVD files.

J7N 6th August 2006 11:44 AM

I'm sorry, I dunno what's the problem then. "Original" is supposted to return to the picture dimensions that ffdshow reports under "Info & Debug" ignoring any custom SAR (pixel ratio).

Any chance I could acquire the file that doesn't work (unmodified)?

Digiface 6th August 2006 11:46 AM

don't you have any mkv files on yourself?

J7N 6th August 2006 11:54 AM

I have and they work properly (except when VirtualDubMod sets wrong SAR).

Digiface 6th August 2006 11:58 AM

what matroska decoder/splitter do you use?

J7N 6th August 2006 12:07 PM

Gabest's Matroska Splitter (which of course does not resize video) v1.0.2.9.

FFdshow 20060522 rev2546 SSE2 for decoding XViD and H264.

Digiface 6th August 2006 12:16 PM

is it same as this http://www.free-codecs.com/download/...a_Splitter.htm

BTW,why you don't use FFDshow to decode DivX? just curious...

EDIT: just noticed that bsplayer shows wrong resolution on it's main player window. FFdshow and Gspot show different (i guess right) resolution. i mean every video file.

J7N 6th August 2006 01:20 PM

Yes, I should have said M$ MPEG-4 (DIV3..), MPEG-4 ASP (XviD, DivX), H.264, WMA and MPEG-2 occasionaly. ;)

Just played all my Matroska videos. Nothing went wrong.

Quote:

FFdshow and Gspot show different (i guess right) resolution.
You said the res wasn't correct in ffdshow's dialog. 80/43=640/344

Digiface 6th August 2006 01:40 PM

yes i thought so,but Gspot shows same resolution for a file than FFDshow,so i guess that is then right res. but BSP show different. only vertical width is different. i don't know anything about those DAS & DAR. :?

J7N 6th August 2006 01:55 PM

ffdshow -> Info & Debug * should show the resolution of the stream you input, the assumed pixel dimensions (SAR) and the resulting horizontal/vertical ratio (DAR).

SAR 1/1 means pixels are square shaped. Any other value means that the image must be scaled (resampled) during display as it is in most cases impossible to change pixel ratio.

If Info & Debug shows "XVID" as the input FourCC, it is the real resolution of your file. If the fourCC is an uncompressed type such as "YV12" or "DIB*" it could mean that another filter that resizes the picture is active (unlikely).

Have you tried to play completely different unrelated Matroska files?

Digiface 6th August 2006 01:58 PM

1 Attachment(s)
it's same with example avi.

and i found just another problem; BSPlayer won't like to open some avi file anymore. i tried some random files and only happens with that one file. with MPC it opens fine. i tried to figure out what's different in this one file and only things i noticed with Gspot,is that there's no metadata on file and stream type is different,"rec list something". EDIT: well,some other file with no metadata opened fine,so that cannot be reason.

here's that file Gspot info picture:

BSPeter 6th August 2006 03:23 PM

Did you notice GSpot tells in the north-east quarter of its window that you're missing XviD-codec (but you're probably using FFDShow?) so could you please let us know what the info is if you click on [Render] (in GSpot's bottom frame) and then (after "Rendering Successful") you 'click for details' at the bottom of GSpot's window?
:wink:

Digiface 6th August 2006 03:35 PM

1 Attachment(s)
yes i'm using FFDshow. here's new picture

J7N 6th August 2006 09:46 PM

Perhaps the AVI structure is bad (the file might be incomplete). BSPlayer cannot open such files while MPC and VideoLAN can be used fine to preview them even while they're being written to. If it is so then remux the file in Matroska or recreate the AVI index block (VideoLAN, VirtualDubMod).

Regarding Tizio's post below:
I truncated one of my AVI files in the middle of its index block and tried to play the video. BSPlayer v1.36 refused to open it. BSPlayer v2.10.939 tried to open it but crashed as soon as I pressed Play.

Tizio 6th August 2006 11:02 PM

I never had problems with BSplayer and avi files with corrupted structures..
Only very little problem I had with avi files with partial correct structure and last part missing. BSplayer was able to fully reindex the avi only by a small percentage, but the file was playable anyway :wink:

It's strange if the file is corrupted in the structure part but the error is on the movie size since the movie size is stored in the first part of the file while the structure/index is in the latter (if by structure you mean the P frames etc. index) :?

Digiface 7th August 2006 01:29 AM

that file used to open fine with older BSPlayer,but now with 2.10 it won't open. when i try to open it ,BSPlayer hangs and even makes explorer.exe to restart and after that video starts to play. but if i right click tray window (before explorer.exe restart) and choose "close",then window pop up and says that file cannot be found.

so i think that it might be somekind of bug in BS.player 2.10 with certain files,while MPC opens it fine. i have tried with random files and so far only had problem with this one file.

EDIT: MPC ja VLC plays that file fine,but example BSPlayer and WMP won't. what's is happened to that file? it used to open fine. can defragment damage files?

EDIT: i check file with AVImedic and it says there was 0.1Mb (49Kb) of fake data. and files that work have none fake data.

Tizio 7th August 2006 10:24 AM

Are you able to restore that portion of fake data?
Does the program tell you if the problem is in the index portion of the file (most probably it's there) or in the middle of the file?

If it's in the index part, you can use DivFix to rebuild the movie index (if AVImedic hasn't a similar option) :wink:

Tizio 7th August 2006 10:24 AM

Quote:

Originally Posted by J7N
Regarding Tizio's post below:
I truncated one of my AVI files in the middle of its index block and tried to play the video. BSPlayer v1.36 refused to open it. BSPlayer v2.10.939 tried to open it but crashed as soon as I pressed Play.

I'll try to make the same thing :wink:

Digiface 7th August 2006 10:33 AM

here comes strange part,even a new fresh copy of that file won't open! and like i said,file used to open fine. and i just installed new versions of AC3Filter and FFDShow,but still won't open.

Tizio 7th August 2006 10:35 AM

And that new copy is scanned without problems by AVImedic?

Digiface 7th August 2006 10:36 AM

Quote:

Originally Posted by Tizio
And that new copy is scanned without problems by AVImedic?

there was also that 0.1Mb of fake data. i'm really confused :shock: there must be something about that file structure that some players won't open. but it open with older BSPLayer,and if i remember right, it even opened with this new one earlier.

EDIT: and i check with Video Fixer and DivFix and came up with clean bill,no errors.

Tizio 7th August 2006 11:00 AM

You can try to strip the index with DivFix and see if BSplayer is able to rebuild it by itself once you load it, or try to strip the index and then rebuild it with DivFix.. :?

I don't know how to fix your problem in other ways..

Digiface 7th August 2006 11:03 AM

but even new copy didn't open. :(

Tizio 7th August 2006 11:05 AM

But AVImedic told you that also the new copy has a fake data section, isn't it?
You'll not loose anything if you try, you can only gain from that try :wink:

Digiface 7th August 2006 11:07 AM

but it used open even with that bad data. :cry: but i can watch that file with MPC :D

Digiface 7th August 2006 02:06 PM

it's strange that file start to play after explorer.exe process is restarted. :?: (opening that one avi file makes explorer.exe to restart)

Tizio 7th August 2006 03:21 PM

But you open the file from explorer? Under Windows XP?
If the index is corrupted explorer lock-ups (and in your case also restarts)..
Have you tried to open the movie directly from BSplayer?

Digiface 7th August 2006 03:35 PM

yes i have,won't still open.

Digiface 7th August 2006 06:48 PM

cat,do you have anymore ideas? :roll:

EDIT: this is getting so weird. i just rebuild index with DivFix and still won't open. and AVIcodec program also won't open that file. what the heck is happened? :?: :?: :?:

the one who solve this,must be genious.

Tizio 7th August 2006 09:43 PM

Quote:

Originally Posted by Digiface
the one who solve this,must be genious.

So it's not my case http://forum.tgmonline.it/forum/imag..._icons/asd.gif

cat (=> J7N) it's your turn 8)

Digiface 8th August 2006 06:29 AM

and that file won't even play with alternative avi splitter,that it said to play broken avis. http://www.free-codecs.com/download/Avi_Splitter.htm

J7N 8th August 2006 06:39 AM

Can you open your file with VirtualDubMod? Save it with a new name and perhaps choose Matroska container. Or, try to remux your file with mkvmerge/MMG (i dunno if it accepts invalid avis).

Disable movie thumbnails and metadata in Explorer by running "regsvr32.exe /u shmedia.dll".

Cat out.

Digiface 8th August 2006 06:46 AM

Quote:

Originally Posted by J7N
Disable movie thumbnails and metadata in Explorer by running "regsvr32.exe /u shmedia.dll".

i have done that.

is this something that must be in windows; Ligos LSX-MPEG Player.

J7N 8th August 2006 09:44 AM

I'm sorry I don't understand what do you mean by "Ligos LSX-MPEG Player" in this context.

If you have just one (or a few) files that don't play, it leads to conclusion that something is wrong with that file and you need to fix it.

Digiface 8th August 2006 10:26 AM

but it used to play and even fresh copy of that same file didn't play. both files had that 0.1Mb of fake data. this is bizarre.

and with that Ligos,i'm just troubleshooting the problem. i had installed ligos mpeg2 decoder, but i unistalled that and installed different decoder. and then i removed that Ligos LSX-MPEG Player registry entry with RegCleaner,because i thought that it was related to that decoder. i mean that entry deleting was something i did before that avi problem came.

and what i think is,problem maybe has something do with that avi is OpenDML AVI,"rec list" style. and that somehow some players cannot play those type of avis anymore. i have check many of my avis and haven't found any other with that type.

that file used to play even with that fake data and actually Video Fixer and DivFix says that there's no errors in that file. (but maybe they are wrong?)

i have reregister windows avi splitter and some other files but without succes.

J7N 8th August 2006 10:39 AM

Quote:

Originally Posted by Digiface
but it used to play and even fresh copy of that same file didn't play.

Some people truncate AVI files if they don't fit into 703 MB CD.

Quote:

both files had that 0.1Mb of fake data.
So you have found the problem: the file contains unrecognized data. Try remuxing it as I suggested (it doesn't involve re-encoding).

Digiface 8th August 2006 11:30 AM

i just did that (click link below) with virtualdubmod,but file still won't open.

http://megkazul.net/sfixavi.html#2

Digiface 8th August 2006 05:07 PM

1 Attachment(s)
UP ^

actually AVImedic says that avi had bad header. how can i fix that?


All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20