Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mehrdad on Thu 19/05/2011 15:02:03

Title: Serious problem with play FLC[SOLVED by Arj0n]
Post by: Mehrdad on Thu 19/05/2011 15:02:03
Hello

Sorry,but i have a big problem.I can't see any flc animation in my game.instead i see a black picture in direct draw 5 and in mode D3D9 appear error mismatch color depth.
I sure my animation color depth is 256.

I use 16bit & 640X480 D3D9+    (directx 11)
I use win 7 ultimate.is here another bug on 7?please help me.its serious problem.i dont want use another format.. (OGV,MPEG,AVI).
FLC is enough for me and good format with less size.
Title: Re: Serious problem with play FLC
Post by: Mehrdad on Fri 20/05/2011 09:26:43
EDIT: this problem dont appear on mode 8bit color.and works fine.but on 16bit is dont show anything.anyone has this problem?

I actually dont want work on 8bit but i want use FLC.

any suggestion?please.....
Title: Re: Serious problem with play FLC
Post by: Sephiroth on Fri 20/05/2011 09:50:15
If it hasn't been updated in the recent AGS release, I think FLC animations and the game depth have to be 8bit, otherwise you will have to convert it to movie format like avi or something.
Title: Re: Serious problem with play FLC
Post by: Mehrdad on Fri 20/05/2011 10:02:33
I made my game on 16 bit :(.i test FLC on the demo quest(8bit) and work fine.
but isnt any mention to manual for FLC ONLY FOR 8BIT.

Is good point for report to Technical for fix that?

I dont try Theora.(because i dont have convertor)...is good that?
Title: Re: Serious problem with play FLC
Post by: Sephiroth on Fri 20/05/2011 10:28:17
AFAIK, Theora allows VP3 and OGG integration into AGS, so you can use .ogg .avi and more. I'm not familiar with FLC animations, but this problem has already been reported and not fixed, so maybe you should try a workaround, like making a video out of it or anything else, I'm sorry but I don't have many options to offer you, others may have some good ideas.
Title: Re: Serious problem with play FLC
Post by: arj0n on Fri 20/05/2011 11:50:30
Quote from: MEHRDAD on Fri 20/05/2011 10:02:33
I dont try Theora.(because i dont have convertor)...is good that?
mpeg2theora:
Converter: ffmpeg2theora-0.27 (http://v2v.cc/~j/ffmpeg2theora/download.html)
Frontend: GFrontend (ffmpeg2theora) v2007.2 Final (http://download.freewarefiles.com/files/GF_ffmpeg2theora_final.exe)
Title: Re: Serious problem with play FLC
Post by: Gilbert on Fri 20/05/2011 14:48:40
8-bit FLC playback should work in all colour depths. What resolution is the FLC at?
Title: Re: Serious problem with play FLC
Post by: Mehrdad on Fri 20/05/2011 16:11:04
Iceboty V7000a @
My FLC is : 640X480  -  256col
My game : 640X480   -  16bit

Arj0n @
I made  .ogv  but i only have sound and with a black screen.why?
AFAIK.AGS have internal codec for theora .ogv.doesnt it?
Title: Re: Serious problem with play FLC
Post by: Mehrdad on Sat 21/05/2011 11:15:41
I'm sorry for another post.but i can't solve play animation with FLC or OGV.
In FLC i can not see any picture and appeared black screen in mode 16bit.
and also for theora video is almost same problem but i can hear sound.

Exactley what the problem is?

I use Theora Converter .NET 2.6 from avi to ogv.is problem to bitrate (1000)?.all my animations and my resolution game is 640X480.
I install codec too because i can see ogv with media player.(as far as i know .ogv have internal codec into the AGS.doesn't it?)

also i use theora video plug-in.that was fine and good work but its only works on 32 bit and i dont want works on this mode.

I'm 2D animator and i have many animation and demo into the my game.(see my signature for a few my works).FLC and OGV is good format for my game (specially FLC).because thats compile to exe....

please tell me a suggestion for solve this BIG problem...thanks a lot



Title: Re: Serious problem with play FLC
Post by: arj0n on Mon 23/05/2011 15:12:45
You seem to have placed the PlayVideo cmd in 'BeforeFade-In' (room_Load) in stead of 'AfterFade-In' (room_AfterFadeIn)... ;)
Title: Re: Serious problem with play FLC(SOLVED)
Post by: Mehrdad on Mon 23/05/2011 15:25:52
Yes right Arj0n

Thats work fine now.(both FLC and OGV).and thanks a lot for investigation my file.
sorry i'm beginner in coding.

Mehrdad