From: Yahia B. <yah...@gm...> - 2013-05-02 10:45:57
|
Hello all, I'm still not able to switch between SNR and spacial layers using osvcd. To find what is wrong with my videos, I tried to debug calls to switch_layer() function which is responsible to switch layer on IDR frame but i noticed that this function is never called even when SNR and spacial layers switching works correctly (Using videos in http://sourceforge.net/projects/opensvcdecoder/files/Video%20Streams/). Thanks for your help. Yahia 2013/4/29 Yahia Benmoussa <yah...@gm...> > but it is still not working > > > 2013/4/29 Yahia Benmoussa <yah...@gm...> > >> Hi Médéric, >> >> I checked the log files when coding SVC videos and it seems the IDR >> frames are inserted periodically. >> >> Thanks. >> Yahia >> >> >> 2013/4/29 Yahia Benmoussa <yah...@gm...> >> >>> Hi médéric, >>> >>> >>> I think yes. I set IntraPeriod parameter to 32 which means JSVM >>> encoder inserts 1 IDR each 32 frames. Is this correct ? >>> >>> Thanks. >>> Yahia >>> >>> >>> 2013/4/29 Médéric Blestel <mbl...@gm...> >>> >>>> Hi, >>>> >>>> Switching of spatial or quality layer is only occuring on IDR frames. >>>> Does your stream contain IDR frames? >>>> >>>> >>>> Médéric >>>> >>>> >>>> >>>> 2013/4/29 Yahia Benmoussa <yah...@gm...> >>>> >>>>> Hi all, >>>>> >>>>> I've coded SVC videos using JSVM but OSVCD is not able to switch to >>>>> the contained spacial and SNR layers. The switching to temporal layer >>>>> works fine. >>>>> >>>>> The SNR and the spacial scalability works fine when using the test >>>>> sequences in ( >>>>> http://sourceforge.net/projects/opensvcdecoder/files/Video%20Streams/ >>>>> ). >>>>> >>>>> Some parameters may be wrong in my JSVM configuration files. Here an >>>>> example of a SNR scalability in my SVC file. >>>>> >>>>> >>>>> JSVM 9.19.15 BitStream Extractor >>>>> Contained Layers: >>>>> ==================== >>>>> >>>>> Layer Resolution Framerate Bitrate MinBitrate DTQ >>>>> 0 352x288 1.8750 219.20 219.20 (0,0,0) >>>>> 1 352x288 3.7500 238.30 238.30 (0,1,0) >>>>> 2 352x288 7.5000 264.90 264.90 (0,2,0) >>>>> 3 352x288 15.0000 293.70 293.70 (0,3,0) >>>>> 4 352x288 30.0000 320.10 320.10 (0,4,0) >>>>> 5 352x288 1.8750 1072.20 >>>>> (0,0,1) >>>>> 6 352x288 3.7500 1492.20 >>>>> (0,1,1) >>>>> 7 352x288 7.5000 2215.00 >>>>> (0,2,1) >>>>> 8 352x288 15.0000 3401.00 >>>>> (0,3,1) >>>>> 9 352x288 30.0000 5019.00 >>>>> (0,4,1) >>>>> >>>>> >>>>> The used configuration files are : >>>>> >>>>> *main.cfg :* >>>>> >>>>> OutputFile mobile.264 # Bitstream file >>>>> FrameRate 30.0 # Maximum frame rate [Hz] >>>>> FramesToBeEncoded 300 # Number of frames (at input frame >>>>> rate) >>>>> GOPSize 16 # GOP Size (at maximum frame rate) >>>>> BaseLayerMode 1 # Base layer mode (0,1: AVC >>>>> compatible, >>>>> IntraPeriod 32 # >>>>> 2: AVC w subseq SEI) >>>>> NumberReferenceFrames 8 >>>>> LoopFilterDisable 1 >>>>> InterLayerLoopFilterDisable 1 >>>>> CgsSnrRefinement 1 # SNR refinement as 1: MGS; 0: CGS >>>>> EncodeKeyPictures 1 # Key pics at T=0 (0:none, 1:MGS, >>>>> 2:all) >>>>> #MGSControl 2 # ME/MC for non-key pictures in >>>>> MGS layers >>>>> # (0:std, 1:ME with EL, 2:ME+MC >>>>> with EL) >>>>> SearchMode 4 # Search mode (0:BlockSearch, >>>>> 4:FastSearch) >>>>> SearchRange 32 # Search range (Full Pel) >>>>> NumLayers 2 # Number of layers >>>>> LayerCfg layer0.cfg # Layer configuration file >>>>> LayerCfg layer1.cfg # Layer configuration file >>>>> >>>>> *layer0.cfg : * >>>>> >>>>> InputFile ../mobile.cif.yuv # Input file >>>>> SourceWidth 352 # Input frame width >>>>> SourceHeight 288 # Input frame height >>>>> FrameRateIn 30 # Input frame rate [Hz] >>>>> FrameRateOut 30 # Output frame rate [Hz] >>>>> MGSVectorMode 0 # MGS vector usage selection >>>>> >>>>> *layer1.cfg* >>>>> >>>>> InputFile ../mobile.cif.yuv # Input file >>>>> SourceWidth 352 # Input frame width >>>>> SourceHeight 288 # Input frame height >>>>> FrameRateIn 30 # Input frame rate [Hz] >>>>> FrameRateOut 30 # Output frame rate [Hz] >>>>> InterLayerPred 1 # Inter-layer Prediction (0: no, >>>>> 1: yes, 2:adaptive) >>>>> MGSVectorMode 0 # MGS vector usage selection >>>>> >>>>> Thanks in advance. >>>>> >>>>> Yahia >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Try New Relic Now & We'll Send You this Cool Shirt >>>>> New Relic is the only SaaS-based application performance monitoring >>>>> service >>>>> that delivers powerful full stack analytics. Optimize and monitor your >>>>> browser, app, & servers with just a few lines of code. Try New Relic >>>>> and get this awesome Nerd Life shirt! >>>>> http://p.sf.net/sfu/newrelic_d2d_apr >>>>> _______________________________________________ >>>>> Opensvcdecoder-support mailing list >>>>> Ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensvcdecoder-support >>>>> >>>>> >>>> >>> >> > |