From: alberto a. g. <alb...@ho...> - 2011-09-19 18:21:12
|
Thank you Mickael. I supected the timing was left to muxer, thank you for making it straight to me. I can manage with -fps as input for now, without bringing a container into play yet. What about the "decoder_svc_VideoParameter_ImgToDisplay" parameter?Why can it take two values and in the case of double frames, which ones should I consider? Thanks for the quick response. Best regardsAlberto Alvarez CC: ope...@li... From: Mic...@in... Subject: Re: [Opensvcdecoder-support] SVC standalone display timing Date: Mon, 19 Sep 2011 19:49:05 +0200 To: alb...@ho... A raw stream does not contain timing information. For any timing information, you need a container mp4, mp2ts, Mkv. That's why you going as fast as possible. Mickael Sent by my iPhone Le 19 sept. 2011 à 19:29, alberto alvarez gonzález<alb...@ho...> a écrit : Hello I'm opening a new thread with more questions. Your help has been invaluable so far. Regarding the display timing, yesterday's svn showed the video as fast as it was processed. I have come across a quick workaround which pretty much works for me. It is based on SDL_Delay function which forces the displayto wait 1/FPS. Given the dynamic fps nature of SVC I have thought using NAL indexes MaxTemporalId and TempToDisplay to compute the fraction of original fps (the max) that is used (linked to -tempId input). Roughly: fps_start_time=SDL_GetTicks(); SDL_Display(16, XDIM, YDIM, Y, U, V); current_fps=FPS>>(DqIdNextNal_Nal_o->MaxTemporalId-DqIdNextNal_Nal_o->TempToDisplay); SDL_Delay((unsigned int)1000.0/current_fps-(SDL_GetTicks()-fps_start_time)); However, I experienced two issues. 1- Can't find FPS of the sequence in any header of raw sequences ¿is it there yet? For now is an input parameter.2- With a fps reduction factor of 2 I should expect half the frames. However, it shows ¿repeated? all the framesDepending on decoder_svc_VideoParameter_ImgToDisplay value ([1,2]) there are two paths possible and in my example, theframes are displayed from those code sequences alternatively. I think the frames are repeated. What are the implications of that parameter? Am I getting it right? Any help would be appreciated. Best Regards, Alberto Alvarez ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Opensvcdecoder-support mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/opensvcdecoder-support |