Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
9th February 2011, 10:51 | #1 | Link |
Registered User
Join Date: Dec 2010
Posts: 18
|
Jumping to a frame in MP4
Hi,
I created xxx.mp4 with raw H.264. The file created successfully and played well. The only one problem is it's showing dirty pixel blocks or distortion of the image when I jump to a time position. Someone guessed it's a problem about finding key frames, but doesn't know the solution. I use MP4Box to create MP4 files but I have no idea to create an MP4 showing clean image on jumping to a position. Do I need to modify some option of MP4Box? or is there any way to remove those dirty effect on frame jump? Thanks in advance for your help. |
10th February 2011, 01:15 | #3 | Link |
Registered User
Join Date: Dec 2010
Posts: 18
|
Hi,
I use KMPlayer and can see the distortion on frame jump. I tried with VLC and didn't see any distortion. But the problem is it takes one moment to jump to another frame position. For other movie files not created by me, the frame position movement was very fast. There was no distorted frame or suspension time. So I think it's not a problem of player. Perhaps something wrong in the MP4 container... Do you have any idea? Thanks. |
10th February 2011, 10:54 | #4 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
Quote:
Both players should normally jump directly to known keyframe positions, so yes, maybe there's something wrong with your MP4 files. Try remuxing with some other MP4Box build. Last edited by nm; 10th February 2011 at 11:00. |
|
11th February 2011, 07:19 | #7 | Link |
Registered User
Join Date: Dec 2010
Posts: 18
|
I created an MKV with mkvmerge GUI v4.5.0, downloaded from mkvtoolnix.
I put a .264 and .aac and muxed. There was no warning or error. But the problem is the movie is totally not seekable; I should watch the movie from the beginning to the end. |
12th February 2011, 04:19 | #9 | Link |
Registered User
Join Date: Dec 2010
Posts: 18
|
I uploaded .264 in my skydrive:
http://cid-5355d6c6ebf2200b.office.l...px/TI/480i.264 the .264 file created by other engineer using TI's processor and its library. I have a doubt whether the .264 file has a problem or not. I'll be very thankful if you could find some clue... Thanks! |
12th February 2011, 05:25 | #10 | Link | |
Spinner of yarns
Join Date: May 2009
Posts: 164
|
Quote:
I think the file is enocoded with GDR feature options such as open-gop and/or intra-refresh in x264 terms. Random access of these features are implemented by Roll Recovery, however there are no demuxers and standalone muxers that support it AFAIK. Treating non-IDR-frame as sync sample is out-of-spec in MP4. So if you want to use these feature, you should mux it into other containers.
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software Last edited by VFR maniac; 12th February 2011 at 05:33. |
|
14th February 2011, 13:51 | #12 | Link |
Spinner of yarns
Join Date: May 2009
Posts: 164
|
In AVC case, that is false since AVC's delta-frames can refer to other frames jumping over non-IDR I-frames and decoders cannot decode and display them correctly immediately.
Of course, open-gop I-frames can be used for seeking, however these I-frames are not IDR. About this, the following discussion might be useful. http://sourceforge.net/projects/gpac.../topic/3784919
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software |
15th February 2011, 09:41 | #14 | Link |
Spinner of yarns
Join Date: May 2009
Posts: 164
|
Yes, you can seek any IDR-frames immediately in mp4 and mkv.
Though I don't know spec of MKV, IDR-frames are definitely seekable point.
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software |
16th February 2011, 11:03 | #15 | Link |
Registered User
Join Date: Dec 2010
Posts: 18
|
Now it's more clear for the IDR frame, thanks.
I am curious for one more thing. Are the IDR frames related to A/V synchronization also? The MP4 containing only one IDR frame is started in sync for a first few minutes, but slightly out of sync during the play, and the gap is much grown at the end. It would be nice if it's a totally different problem. Thanks. |
Tags |
mp4 frame jump |
Thread Tools | Search this Thread |
Display Modes | |
|
|