FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
582 stars 105 forks source link

[AviSynth plugin] Unable to load/process 960:640 (3:2) video #194

Closed Kein closed 9 years ago

Kein commented 9 years ago

Video in question: http://www64.zippyshare.com/v/kTIU4syL/file.html

Format : AVI Format/Info : Audio Video Interleave File size : 97.2 MiB Duration : 12s 140ms Overall bit rate : 67.1 Mbps Original source form/Distributed by : Video:YUV420|CompressV3 Audio:Speakers (VIA High Definition Audio) Writing application : DxtoryCore ver2.0.0.127 Video ID : 0 Format : xtor Codec ID : xtor Duration : 11s 400ms Bit rate : 69.8 Mbps Width : 960 pixels Height : 640 pixels Display aspect ratio : 3:2 Frame rate : 30.000 fps Bits/(Pixel*Frame) : 3.789 Stream size : 94.9 MiB (98%)

Audio ID : 1 Format : PCM Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : 1 Duration : 12s 140ms Bit rate mode : Constant Bit rate : 1 536 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Bit depth : 16 bits Stream size : 2.22 MiB (2%) Alignment : Aligned on interleaves Interleave, duration : 93 ms (2.80 video frames)

Recorded with Dxtory as YUV12 (j420p). Virtual Dub with FFMPEG plugin opens it fine. More than that, if I record it with Dxtory in 1024x768 it woks perfectly in AVS.

What gives?

qyot27 commented 9 years ago

Works here.

Kein commented 9 years ago

Which version of the FFMS2 avisynth plugin do you use, qyot27?

qyot27 commented 9 years ago

The latest Git version (or at least within a couple commits of latest), but the important part isn't on FFMS2's side, it's the FFmpeg libs it's linked against. And I make sure that whenever I build FFMS2, I'm using the latest commit on FFmpeg git at the time.

http://forum.doom9.org/showthread.php?p=1709647#post1709647

Kein commented 9 years ago

This is super weird. If FFMS2.avsi is present in the plugins/ dir it won't even display process Version(). If I remove FFMS2.avsi, the version works, but I still can't open the spoken clip via ffms2 (note: i probably messed up with old script vs yours)

UPD: reinstalled ffms2-2.20-icl from scratch, now Version works with FFMS2.avsi wrapper present, but still can't open the clip.

qyot27 commented 9 years ago

Add your plugins/ dir to Windows' %PATH%.

Second, the FFMS2.avsi provided in the 7z is necessary for the ffms2.dll in the 7z to autoload, because it's a C plugin (only relevant for classic AviSynth; AviSynth+ autoloads C plugins).

Kein commented 9 years ago

Here is my %PATH%:

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Programs\AviSynth\plugins

Plugins/ content:

colors_rgb.avsi FFMS2.avsi DirectShowSource.dll ffms2.dll nnedi3.dll SubtitleEx.dll TCPDeliver.dll ffmsindex.exe

The thing is - I can open other AVis made with FRAPS or Dxtory (this time LAGS as codec) just fine, but this one don't want to. However, another video recorded with Dxtory codec but in 1024x768 opens just fine.

This literally makes no sense to me.

myrsloik commented 9 years ago

This file only works with ffmpeg and not libav from current git. Will probably work in the next release.