Hello,
(i'm French, sorry for my english).
I was created a software for cut and convert videos TS (h264 and mpeg-2) to mp4. It work very well in Mpeg-2 but in h264 i have some artefacts at the location of the cuts. I cut out this video on frames that contains SPS or PPS (codes in hexa are 00 00 01 67 (SPS) and 00 00 01 68 (PPS).
Some cuts are very perfect but some cuts have artefacts so i think all this frame are not key frames.
On the web i have found codes like (00 00 01 X) for IDR-frame wich X is 25 ,45 or 65 but my h264 vidéos does not contains any codes like that so i'm not sure to cut on the right frame.
Do you know how to find h264 keys frames and what are the codes to find ?
Thank you very much for your help.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
you could run h264_parse
see this thread, post #13, selur posted a binary
https://forum.videohelp.com/threads/361369-Conversion-profile-generator -
I discovered a little by accident today, the command line version of ffms index can write the location of keyframes to a text file when it's indexing. You might be able to use it to help you work out how to identify them. Or it mightn't help at all, but I thought I'd point it out.
http://forum.doom9.org/showthread.php?p=1664397#post1664397
Similar Threads
-
Want to convert 3000+ KARAOKE to h264, but can't find proper GUI to help me
By bpsim in forum Newbie / General discussionsReplies: 7Last Post: 14th Mar 2013, 21:41 -
H264/AVC B-frames in cartoons
By DrDeceit in forum Video ConversionReplies: 11Last Post: 1st Oct 2012, 21:27 -
Split video outside the key frames?
By KeyMs92 in forum EditingReplies: 14Last Post: 23rd Sep 2011, 06:53 -
VDub, Key frames and syncing...
By takearushfan in forum Newbie / General discussionsReplies: 4Last Post: 16th Feb 2010, 14:04 -
Can't find H264 in TMPGEnc?
By Mizzle in forum Video ConversionReplies: 0Last Post: 30th Dec 2009, 17:24