[FFmpeg-devel] (no subject)

michelle211 at comcast.net michelle211
Thu Jan 21 05:28:23 CET 2010


I've updated my photos page to show the improvement in quality. 


Anyone want to do a joint blog article that covers both ffmpeg and ofvideoplayer. 


I would very much like to try my new found knowledge on ofvideoplayer. any chance you can send me the doc on the sound stuff. 


http://web.me.com/cannonwc/Site/Photos_5.html 
----- Original Message ----- 
From: michelle211 at comcast.net 
To: "Yonas yanas" <yonas.yanfa at gmail.com>, "FFmpeg discussions" <ffmpeg-devel at mplayerhq.hu>, theo at openframeworks.cc 
Sent: Wednesday, January 20, 2010 11:06:48 PM GMT -05:00 US/Canada Eastern 


Hi all 


Well the video has been playing for more than 20 minutes and no problems, its 2 hour movie, it wil probably play through. 


Here are the changes to my ffplay you got from my svn 


use Frame_x and Frame_y values of 256 
Reduce the audio buffer to 64, probably doesn't matter but the doc says use the smallest resonable buffer 
I must of looked at this code several times and wondered how it worked, well the answer was it did not. 


comment out these lines in QueuePicture 




/* if the frame is not skipped, then display it */ 

..... 

//AVPicture tmpPict; 

//avpicture_alloc(&tmpPict, DST_PIX_FMT, FRAME_X, FRAME_Y); 

/* get a pointer on the bitmap */ 




create a global variable 




static AVPicture tmpPict; 




Copy this line to alloc_picture 




Just before calling SDL_PixelFormatEnumToMasks 

avpicture_alloc(&tmpPict, DST_PIX_FMT, FRAME_X, FRAME_Y); 







Now all I need to do is figure out how to overlay som simple controls. And we are set to go 










More information about the ffmpeg-devel mailing list