Search found 8 matches

by PauloPina
Fri Apr 30, 2010 6:15 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Guys, I Have found my problem... When I have tried the Thespecial sample in first page of this topic, with videoPlayer = new murmuurVIDEO(irrVideo, device->getTimer(), 1024, 768, videoOutput); I have found this problem in sws_scale(): Unhandled exception at 0x066d6570 in FFMpeg2.exe: 0xC0000005: Acc...
by PauloPina
Fri Apr 30, 2010 5:51 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Correct post bellow...
by PauloPina
Fri Apr 30, 2010 4:59 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Guys,

Evan changing the memcpy for a loop the image is messed...

Code: Select all

    for (int i = 0; i < width*height; i++) 
		_p[i] = _pimage[i]; 

For now, the only way the image is OK here is creating the texture every frame...
by PauloPina
Fri Apr 30, 2010 4:30 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

randomMesh, I have debugged and yep... size of s32 is 4... 1 Byte for Alpha, 1 Red, 1 Green and 1 Blue. For a while I was thinking that the problem was copy IPicture data to ITexture data... but I guess that the data standard is the same. Also, this is working in your machines... Im seeking for anot...
by PauloPina
Fri Apr 30, 2010 4:03 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Thespecial, When I implemented the Plain Node the video was messed in the same way using my old mesh... The only way I can get the image to be displayed correctly is creating the Texture every frame... Using memcpy the picture is aways messed... I Have no idea how to correct this yet, but Im searchi...
by PauloPina
Thu Apr 29, 2010 3:03 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Just to complement... I have tried to use your "plain node" idea... Thats very cool to see the video playing in a 3D cube!

But I need to resolve the problem with Memcpy or reach another way to play the movie faster without memcpy...
by PauloPina
Thu Apr 29, 2010 2:57 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Hello there! Thespecial, send the entire project code will be complicated. Is a lot of code and configs in VC2008. I've tried to resolve this problem and I think I had reached the problem source: the DumpFrame function. I have made these changes in this function: // dump the frame to texture ///////...
by PauloPina
Wed Apr 28, 2010 3:59 am
Forum: Code Snippets
Topic: 0.8 ffmpeg videoplayer with threaded sound (openAL) in synch
Replies: 64
Views: 28701

Image Distortion

Hello There! thespecial1, first I need to Congratulate you for the great job you are doing... After a lot of work I got the 0.8 version, including OpenAL and Boost compilling and working in my PC. I'm using Windows7 and VS2008. My problem is that the sounds works perfecly, but the image is all messe...