msm_007
18th February 2009, 17:33
Hi all,
I have to develop a program that delete some frames from raw byte stream (.264), for example delete the 1st 5 frames from raw byte stream of 300 frames,
This is the cmd of coding the YUV file:
x264 --qp 30 --bframes 1 --ref 5 --8x8dct --subme 6 --trellis 2 --me umh --mixed-refs --direct spatial --no-b-adapt --keyint 999 --scenecut -1 -o SOCCER_30_orig_02_704x576.264 SOCCER_30_orig_02_704x576.yuv
My problem is that I don’t know which is the test I have to make for starting copying at frame 6 (how can I detect the end flag of frame 5 or the start flag of frame 6)
I have to develop a program that delete some frames from raw byte stream (.264), for example delete the 1st 5 frames from raw byte stream of 300 frames,
This is the cmd of coding the YUV file:
x264 --qp 30 --bframes 1 --ref 5 --8x8dct --subme 6 --trellis 2 --me umh --mixed-refs --direct spatial --no-b-adapt --keyint 999 --scenecut -1 -o SOCCER_30_orig_02_704x576.264 SOCCER_30_orig_02_704x576.yuv
My problem is that I don’t know which is the test I have to make for starting copying at frame 6 (how can I detect the end flag of frame 5 or the start flag of frame 6)