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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st January 2016, 08:56   #1  |  Link
`Orum
Registered User
 
Join Date: Sep 2005
Posts: 178
Frame accurate source filter for H.264 in MKV?

I'm looking for a frame accurate (handing the output to Trim()) source filter for AviSynth+ x64, and I've tried several, but none seem to actually work. Source material is a BD H.264 stream remuxed into a MKV container, via eac3to. Here's the two I've tried so far:
  • FFMpegSource2 - This claims it's frame accurate with MKV containers. But, even with seekmode = 1 (the default), reopening an unchanged script and seeking to the same frame number often produces different results.
  • DSS2mod - This is actually a lot more reliable at hitting the same frame than FFMS2, but still isn't 100% on frame seeking. Occasionally the frame seeking will still be a frame or two off from previous openings of the same file.
So are there any other options? I've tried a few other source filters, but have yet to actually get any of them to even decode the video in the first place, let alone seek in it.
__________________
My filters: DupStep | PointSize
`Orum is offline   Reply With Quote
Old 1st January 2016, 09:01   #2  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
lsmash
dgdecode
feisty2 is offline   Reply With Quote
Old 1st January 2016, 09:29   #3  |  Link
`Orum
Registered User
 
Join Date: Sep 2005
Posts: 178
Quote:
Originally Posted by feisty2 View Post
lsmash
dgdecode
I tried LSMASHVideoSource, but it dies with the strange error: "Failed to read an input file" (despite leaving the string for the file name, which is the only parameter I'm passing it, unchanged from all the various other source filters I've used)

And as for DGDecode... isn't that only for MPEG-2? EDIT: Ah, I guess you were referring to DGAVCDecode? Unfortunately, as far as I'm aware, that's 32-bit only.
__________________
My filters: DupStep | PointSize

Last edited by `Orum; 1st January 2016 at 09:36.
`Orum is offline   Reply With Quote
Old 1st January 2016, 09:32   #4  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Quote:
Originally Posted by `Orum View Post
And as for DGDecode... isn't that only for MPEG-2?
dgmpeg
dgim
dgnv
dgavc..
feisty2 is offline   Reply With Quote
Old 1st January 2016, 09:54   #5  |  Link
vivan
/人 ◕ ‿‿ ◕ 人\
 
Join Date: May 2011
Location: Russia
Posts: 643
Quote:
Originally Posted by `Orum View Post
I tried LSMASHVideoSource, but it dies with the strange error: "Failed to read an input file" (despite leaving the string for the file name, which is the only parameter I'm passing it, unchanged from all the various other source filters I've used)
LSMASHVideoSource is for mp4/mov, LWLibavVideoSource is for everything.
vivan is offline   Reply With Quote
Old 1st January 2016, 09:57   #6  |  Link
`Orum
Registered User
 
Join Date: Sep 2005
Posts: 178
Ah, yeah, DG's current decoder requires a NVIDIA card, which would be a problem. Anyway, I looked more closely at the LSMASH source filter, and realized I'm using the wrong function--LSMASHVideoSource() instead of LWLibavVideoSource(). Edit: vivan beat me to it!

Mea culpa. I think this is frame accurate based on my testing so far. I'm going to run a few more tests but assuming there are no issues I'll just stick with this. Thanks!
__________________
My filters: DupStep | PointSize
`Orum is offline   Reply With Quote
Old 1st January 2016, 12:00   #7  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
You can also usually fix frame accuracy problems by remuxing with mkvmerge, but... that's a fair bit of drive thrashing for 10GB+ files.
foxyshadis is offline   Reply With Quote
Reply

Tags
avisynth, avisynth+, filter, frame accurate, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.