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. |
23rd June 2013, 17:55 | #1 | Link |
Registered User
Join Date: Dec 2004
Posts: 50
|
Problem importing H264 HD video
It seems like a lot of people have this problem where using DGAVCIndex on HD H264 footage gives them blocks in the video that weren't there before. I'm having the same issue, and I haven't been able to find a solution to it on the internet.
So I tried alternative ways of loading my .TS files. I tried extracting the video into .MKV format and using FFMSIndex and FFVideoSource to load it, but it messes up the framerate for some reason when I load it into AviSynth (it doubles it, or converts it into variable frame rate??) And also when I try to play the video in MeGui's preview window unfiltered, it creates a jerky, stuttering movement where it plays the video forward a few frames, then jumps back one or two frames, then plays the video forward again. I've also tried using DirectShowSource but I don't think it's handling the interlaced footage very well. It gives me this weird color dropping/ghosting especially with red colors. It's like blended frames, but it messes up the colors. Does anyone have suggestions as to what I should do? I've attached a little clip: http://www.mediafire.com/download/tr...m_clip_clip.ts Last edited by ChibiBoi; 23rd June 2013 at 18:00. |
23rd June 2013, 18:56 | #5 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Try LWLibavVideoSource.
|
23rd June 2013, 20:16 | #6 | Link | |
Registered User
Join Date: Dec 2004
Posts: 50
|
Quote:
LWLibavVideoSource freezes the program for me EDIT: LWLibavVideoSource works! EDIT: Actually, LWLibavVideoSource loads the video without any blocks or color drops or other artifacts, but it somehow increases the video length (looks like it doubles it?) Last edited by ChibiBoi; 23rd June 2013 at 20:25. |
|
23rd June 2013, 21:41 | #8 | Link | ||
Spinner of yarns
Join Date: May 2009
Posts: 164
|
Quote:
Quote:
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software Last edited by VFR maniac; 23rd June 2013 at 21:47. |
||
23rd June 2013, 22:03 | #10 | Link |
Spinner of yarns
Join Date: May 2009
Posts: 164
|
Hmmm? It's weird.
Sorry, unfortunately my PC (motherboard) is dead. I can't test, confirm and debug that. EDIT: Reel.Deel, your file is a raw H.264 stream? Libavcodec returns no PTS for some file formats, and we can't get frames in presentation order for such files. Therefore, as long as seeking by frame number (the way LWLibavVideoSource does), repeat=true won't work for them.
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software Last edited by VFR maniac; 23rd June 2013 at 22:20. |
23rd June 2013, 22:28 | #11 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
No the file is in a .ts container. It's the sample that the OP uploaded.
Remuxing to mkv solves the issue. Edit: Don't know if this any help to you but after your (bottom) post I thought the original file might be corrupted. So I used TSMuxer to remux to TS and M2TS but the problem is still there. Last edited by Reel.Deel; 23rd June 2013 at 22:51. Reason: Additional info |
23rd June 2013, 22:39 | #12 | Link |
Spinner of yarns
Join Date: May 2009
Posts: 164
|
So, some PTSs returned by libavformat are invalid in that TS file I guess.
Invalid PTSs are an annoying issue for frame-accurate seek. It is solved if the libavcodec parser returned POC though. I may send a patch to libav to support returning POC.
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software |
23rd June 2013, 23:03 | #13 | Link | ||
Registered User
Join Date: Dec 2004
Posts: 50
|
Quote:
Quote:
Last edited by ChibiBoi; 24th June 2013 at 04:04. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|