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. |
27th April 2015, 11:56 | #2001 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Doh. Made a mistake in ffmsindex and avisynth ffindex that would make it unflag video tracks for indexing in many cases. Here's a fixed build:
test2
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 27th April 2015 at 11:59. |
2nd May 2015, 21:34 | #2003 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Here's test3.
The main noticable change is the framerate "correction". It should now more reliably pick common framerates if the input is close to one. Previously it would "correct" framerates to 30001/1001, 25020/1001 or worse. Test it and report your findings.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 2nd May 2015 at 21:36. |
2nd May 2015, 21:50 | #2004 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
I want to remove the SWScale() function from avisynth since swscale is so horrible in general and doesn't really add anything compared to already existing resizers.
Objections?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
4th May 2015, 11:17 | #2005 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Thanks for the new build. Two PAL samples were ffms2 don't use 25 or 50:
https://www.dropbox.com/s/v6urrdq6ih...%20fps.ts?dl=0 https://www.dropbox.com/s/j5bwk0u205...rphic.mpg?dl=0 |
4th May 2015, 12:08 | #2006 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
The other one is too far off from 25fps. ~24.9495 fps to be exact. Actually 25000/1001 (24.9750) is quite far off too, seen as a percentage. The current code will only adjust the framerate if it's within 0.05%. This small interval is needed since the difference between 25 and 25000/1001fps is only 0.1% and would otherwise cause more trouble than it solves. The reason it's done at all is mostly to recover a normal fps from matroska files. AssumeFPS() is your friend.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
4th May 2015, 12:39 | #2007 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
My understanding of frame rates and field processing, especially NTSC is basic at best. 30000/1001 and 24000/1001 are obviously NTSC but were does 25000/1001 come from?
The 50 fps sample is reported as 25 fps by MediaInfo! I tried to deinterlace it and use AssumeFPS but couldn't find a way to properly process it, only thing that helped was using fpsnum, fpsden arguments for FFVideoSource. What StaxRip and I believe MeGUI too do is read the frame rate with MediaInfo and then use AssumeFPS. With the Ski sample this didn't work so I switched to use fpsnum and fpsden arguments in the latest StaxRip release. |
4th May 2015, 12:51 | #2008 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
The problem with the "SD - anamorphic.mpg" sample is probably initial delay. Delay makes an otherwise nice 25 fps cfr file into vfr with a peculiar average frame rate. Maybe delays should be handled differently? Does not really make sense to use them for the average fps calculation when we cannot map delays into AviSynth anyways (on account of being limited to cfr). Last edited by sneaker_ger; 4th May 2015 at 12:56. |
|
4th May 2015, 14:51 | #2013 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
It's interlaced h.264. It's a known and annoying issue and even in FFmpeg it's handled differently (inexplicably doubled framerate and stuff).
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
4th May 2015, 15:02 | #2014 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
|
|
4th May 2015, 15:05 | #2015 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
Not going to add a workaround unless money is involved. There may be some other TS issues lurking in that file too.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
4th May 2015, 18:42 | #2017 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
Btw, interlaced fields is frame murder.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
4th May 2015, 19:04 | #2018 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Thanks for investigating. I've done a small workaround, StaxRip includes 40 tools and plugins and since no software is perfect GUI authors constantly end up doing workarounds, I'm used to this. Most tools are pretty good, only mp4box sucks big time, I've every week a new problem with it, last week I discovered it's the only tool requiring VC++ 2010 runtime being present, not a big deal on it's own but after 20 more issues it starts to bother.
Last edited by stax76; 4th May 2015 at 19:47. |
4th May 2015, 23:25 | #2019 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Quote:
Well, that's not related to FFMS2. No native AviSynth source plugin is perfect yet. Fortunately, we have a choice in many cases. |
|
5th May 2015, 14:33 | #2020 | Link |
Registered User
Join Date: Nov 2009
Location: France
Posts: 20
|
Hello,
When I use ffmsindex.exe -k on a 59.94 (60000/1001) fps .mkv file (MediaInfo 0.7.73 report), “fps 0” appears in the output (keyframe numbers are then listed properly). Why? Is this normal? Other occurrences found with Google: http://forum.doom9.org/showthread.php?p=1559483#1503 http://forum.selur.de/post7638.html#p7638 http://www.amara.org/en/videos/O0RyzUaR43Oe/ru/596359/ http://www.vidqt.com/id/leeIUjHh8aE?lang=ru http://lj.blargh.info/mckf04.txt |
|
|