Bye MKV and MP4 files...Wait! Let's ask in The Org!

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
FarmXD
Farmer Farm wants to battle!
Joined: Sun Jan 27, 2008 11:31 am
Org Profile

Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by FarmXD » Sun Nov 21, 2010 3:19 pm

[Terrible english warning]
Hi! Well the thing is this:

I was using VirtualdubMOD as always did, to encode stuff and opening MP4 and MKV
files with avisynth. The problem begun with a raw episode file i got. This file it's
a mp4 with, i guess, avc1 codec...I can play it, but not import it in any software...
well anyway, the whole file info is right here:
Spoiler :

Code: Select all

General
Complete name                    : F:\Downloads!\Bounen no Xamdou - 25.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 677 MiB
Duration                         : 24mn 17s
Overall bit rate                 : 3 895 Kbps
Movie name                       : ?????? Xam'd:Lost Memories ?25? ????????????
Encoded date                     : UTC 2009-02-21 12:19:14
Tagged date                      : UTC 2009-02-22 12:26:28
Comment                          : 21????????????????????????orz / Wiki??????????????????????… / ??????????????????

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 24mn 17s
Bit rate mode                    : Variable
Bit rate                         : 3 500 Kbps
Maximum bit rate                 : 17.4 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16/9
Frame rate mode                  : Constant
Frame rate                       : 23.976 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.070
Stream size                      : 608 MiB (90%)
Writing library                  : x264 core 66 r1112_EXPERIMENTAL
Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / me-prepass=0 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=12 / thread_queue=12 / nr=0 / decimate=0 / mbaff=0 / fgo=0 / bframes=5 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / keyint=240 / keyint_min=1 / scenecut=75(pre) / rc=crf / crf=20.0 / qcomp=0.75 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.70 / pb_ratio=1.50 / aq=1:0:0.60:8.00 / aq2=1:0.60:18.00
Encoded date                     : UTC 2009-02-21 12:19:14
Tagged date                      : UTC 2009-02-21 12:20:04

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 24mn 17s
Bit rate mode                    : Variable
Bit rate                         : 384 Kbps
Maximum bit rate                 : 392 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Rear: L R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Stream size                      : 66.7 MiB (10%)
Language                         : English
Encoded date                     : UTC 2009-02-21 12:19:59
Tagged date                      : UTC 2009-02-21 12:20:04
Avisynth didn't open the file, and i used this stuff:

Code: Select all

#ASYNTHER DirectShowSource
DirectShowSource("F:\Downloads!\Bounen no Xamdou - 25.mp4")
And of course, tried with converttoYV12() but nope, nothing worked...
Oh, and i tried another code..something like FF...source but can't remember...

So, i asked in msn to some friends and they recommended me not use VdubMOD
anymore and download the last Vdub included in AMVapp 3.1. Hell, I did that today
and installed most of the AMVapp stuff. And it was worst... |:>

I can't import avs scripts in Vdub, not MP4, not MKV stuff anymore, VdubMOD didn't
open again and well...it just says "Avisynth open failure: Avisynth script open failed!"
I didn't move the files, didn't touch my codecs...so, what can i do to import again
in my vdub MKV and MP4 files?? :cry: Please, help!

User avatar
Phantasmagoriat
Joined: Mon Feb 06, 2006 11:26 pm
Status: ☁SteamPunked≈☂
Contact:
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by Phantasmagoriat » Sun Nov 21, 2010 4:04 pm

On some computers (usually running Windows7) Microsoft will continue to use
it's own DirectShow filters, unless you force it to use something different with a program like:
Win7DSFilterTweaker

However, some alternatives to DirectShowSource() would be:

Code: Select all

FFVideoSource("C:\PATH\VIDEO.mp4") 

or 

DSS2("C:\PATH\VIDEO.mkv")
I consider them to be better because they are both frame-accurate.
PLAY FREEDOOM!! | Phan Picks! | THE424SHOW | YouTube | "Painkiller" | Vanilla MIDI's
"Effort to Understand; Effort to be Understood; to See through Different Eyes."

FarmXD
Farmer Farm wants to battle!
Joined: Sun Jan 27, 2008 11:31 am
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by FarmXD » Sun Nov 21, 2010 5:11 pm

Oh, i have Windows XP service pack 2...
And nope, those scripts didn't work. Thanks anyway :)

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by mirkosp » Sun Nov 21, 2010 5:40 pm

Uninstall and reinstall avisynth (make sure it's 2.5.8). Get ffms2 from here (ffmpegsource-2.14-mt.7z, unpack it and place ffms2.dll in your avisynth's plugins folder), and then in your script:

Code: Select all

ffvideosource("F:\Downloads!\Bounen no Xamdou - 25.mp4")
Also, do not use vdubmod, use plain virtualdub. Pick the latest from here.
Image

FarmXD
Farmer Farm wants to battle!
Joined: Sun Jan 27, 2008 11:31 am
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by FarmXD » Sun Nov 21, 2010 7:52 pm

Whoa, life is having lot of fun with my misery....
Ok, i uninstalled Avisynth adn when i was trying to install the 2.5.8........

Image

I'm in my administrator account...i did most of things i read here
http://forum.doom9.org/archive/index.php/t-97406.html

But nothing....nothing!

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by mirkosp » Sun Nov 21, 2010 7:56 pm

Well, there clearly is something wrong with windows itself if an administrator account isn't recognized as such... imho the issue is on a higher level, here. If you manage to install avisynth, though, I think the method I explained earlier should work just fine. Hopefully you'll be able to get there. :P
Image

FarmXD
Farmer Farm wants to battle!
Joined: Sun Jan 27, 2008 11:31 am
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by FarmXD » Sun Nov 21, 2010 8:17 pm

Thanks Mirk.

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by Qyot27 » Mon Nov 22, 2010 7:40 am

FarmXD wrote:Whoa, life is having lot of fun with my misery....
Ok, i uninstalled Avisynth adn when i was trying to install the 2.5.8........

Quoted Image converted to link:
http://img23.imageshack.us/img23/6248/dibujoew.png

I'm in my administrator account...i did most of things i read here
http://forum.doom9.org/archive/index.php/t-97406.html

But nothing....nothing!
Have you ever installed SUPER? If you have, note foxyshadis' post (emphasis mine):
SUPER likes to copy avisynth.dll into %sysdir% and give it read only, hidden, and system attributes, which confuses the poor avisynth installer, as well as the files in the progfiles folder. I emailed them about it but never had a reply back.

(Since the whole system has to be able to use it, it either has to go in %sysdir% or add the folder to the path. For devs a further polluted path isn't a great option, though it's not the end of the world, I guess.)
(granted, said post is from 2006, but with how awful everything surrounding SUPER is, I doubt anything has been done to fix the above described situation)

I would surmise the solution to that mess is to first get SUPER uninstalled and go in and delete C:\Program Files\AviSynth 2.5 (back up any plugins, though), run CCleaner's Registry tool over and over until it detects nothing, and then hope that maybe that resolves it - I've never had to deal with removing SUPER, so I don't know if it fucks up the system in even more serious ways that CCleaner alone can't cope with (such as screwing with Windows' PATH or other environment variables). In any case, once SUPER's crap has been fixed, then try to install AviSynth again. And don't ever reinstall SUPER.



Otherwise, I would lean toward the idea that a security (anti-virus, anti-malware, etc.) program that runs in the background is getting in the way. What ones are you using?
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

FarmXD
Farmer Farm wants to battle!
Joined: Sun Jan 27, 2008 11:31 am
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by FarmXD » Mon Nov 22, 2010 11:24 am

Qyot27 wrote: I would surmise the solution to that mess is to first get SUPER uninstalled and go in and delete C:\Program Files\AviSynth 2.5 (back up any plugins, though), run CCleaner's Registry tool over and over until it detects nothing, and then hope that maybe that resolves it - I've never had to deal with removing SUPER, so I don't know if it fucks up the system in even more serious ways that CCleaner alone can't cope with (such as screwing with Windows' PATH or other environment variables). In any case, once SUPER's crap has been fixed, then try to install AviSynth again. And don't ever reinstall SUPER.

Otherwise, I would lean toward the idea that a security (anti-virus, anti-malware, etc.) program that runs in the background is getting in the way. What ones are you using?
Oh damn, yeah, yesterday after the avisynth issue i found that SUPER and well,
i discovered it was a complete shit, now it's uninstalled. I did all that but nope,
avisynth shows the same problem.

I use NOD32.

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Bye MKV and MP4 files...Wait! Let's ask in The Org!

Post by Qyot27 » Mon Nov 22, 2010 7:10 pm

Temporarily shut off NOD32 if you can, and while it's disabled, try to install AviSynth. If it succeeds, then that's where the conflict is. And once AviSynth is installed correctly, turn the antivirus back on (or go about constructing a new security regimen).
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”