Log in

View Full Version : Avisynth and h.264


xanthian23
18th January 2005, 00:16
Is there a way to get Avs to recognise a nero recode file, or avc? I've installed the new fddshow, and grabbed the 3vix mp4 splitter, but i can't get avs to communicate with it. Anybody got any ideas?

stephanV
18th January 2005, 00:21
3ivx splitter doesnt support AVC...

why would you wanna do such a thing anyway?

xanthian23
18th January 2005, 00:37
:cool: Well, i was told that mabey for avs to recognise the mp4 h.264, an mp4 splitter would be needed. I'm hoping to find a way to use avs to recode the avc files to other formats without having to use the nero encoders, cause basically, their slow and they suck.:cool:

Socio
18th January 2005, 00:58
Avisynth is broke in the last couple of ffdshow releases anyway.

xanthian23
18th January 2005, 02:07
:cool: yeah, i've had to remove fddshows xvid/divx support in order for avs to work properly with avs after installing fddshow. But all i'm trying to do is get avs to work with the new mp4 format (avc/h.264). I was hopin that since ffdshow has support for h264 it would possibly help directshowsource to recognise it, but it wont. So i figured i'd pop in over here and see if any of you had an idea on how i can get avs to recognise the video so i can encode from avc to other formats like kvcd, dvd ect.:cool:

Socio
18th January 2005, 02:18
Originally posted by xanthian23
:cool: yeah, i've had to remove fddshows xvid/divx support in order for avs to work properly with avs after installing fddshow.

You mean you just disabled xvid/dvix in the ffdshow codecs?

xanthian23
19th January 2005, 02:10
:cool: Yeah, first i uninstalled to see if fddshow was causin the problem, then i re-installed without the xvid/divx extensions:cool:

xanthian23
21st January 2005, 07:04
:cool: So i'm guessin nobody's got any clue on how to use avisynth to encode h.256 (avc) source file huh, bummer:cool:

stephanV
21st January 2005, 11:12
only possible with recodes filters installed, but you dont want that, so end of story.

Ark
21st January 2005, 14:09
I tried Directshowsource() on a x264 .avi file and it works, but i don't know about Recode encodes...
I heard that lastest ffdshow builds can decode Nero's h264, so maybe it can work...

stephanV
21st January 2005, 15:45
the problem is he needs a mp4 splitter too... and the 3ivx one is just not capable of it.

Krismen
24th January 2005, 20:49
Originally posted by stephanV
the problem is he needs a mp4 splitter too... and the 3ivx one is just not capable of it.
What about Moonlight MP4 Demultiplexer (http://forum.doom9.org/showthread.php?s=&threadid=84514)?

Wilbert
24th January 2005, 21:29
Well, i was told that mabey for avs to recognise the mp4 h.264
Could anyone of you upload a short MP4 h264/x264 sample? I'd like to look at it.

bond
10th February 2005, 21:51
Originally posted by Wilbert
Could anyone of you upload a short MP4 h264/x264 sample? I'd like to look at it. http://www.moonlightcordless.com/clips/mp4/Belukha512x384_1slice.mp4 :)

nero's parser doesnt work inside .avs (dunno why)

Mr C
11th August 2005, 12:51
I tried Directshowsource() on a x264 .avi file and it works, but i don't know about Recode encodes...
I heard that lastest ffdshow builds can decode Nero's h264, so maybe it can work...

Hmm, how come?

I have AviSynth 2.55 installed. With MeGUI 2.1.8a I encoded a few avs files to x264 .avi and everthing went fine. Now I want to compare the original and de coded file with MSU VQM, wich accepts avi or avs files. But it doesn't seem to recognize the x264 file. So I used an avs script with DirectShowSource("x264_video.avi"), but it didn't work. It doesn't play in VirtualDub either. I already installed the ffdshow-20050803.exe, without result. Although I can play the x264 avi file in M$ Media Player, I can not open it in VirtualDub.

Any suggestions?

bill_baroud
11th August 2005, 14:16
enable H264 decoding in the VFW configuration of ffdshow (if it's possible)

Mr C
11th August 2005, 14:28
Trust me, it was one of the first things I checked. It's enabled, but thanks anyway.

The problem seems to be the fourCC tag. When I open the avi file in VirtualDub, it says: Couldn't locate decompressor for format 'VSSH' (unknown)
VirtualDub requires a VFW compatible codec to decompress video. DirectShow codecs,
such as those used by Windows Media Player, are not suitable. Pretty obvious what's going wrong, right? Now, 2 questions:
1) Why does the file have a VSSH fourCC and not x264 (I chose this option in de dropdown list in MeGUI)
2) isn't ffdshow VfW compatible? If not, where do I get the VfW codec?

Thx for the support.

Edit:
Just did the same x264 encoding, with VirtualDub this time. Encoding seems to take same time and about the same filesize. But when I try to play the encoded avi file, I get the same error, but with format 'H264' (unknown).

mg262
11th August 2005, 14:56
The ffdshow program group has a separate entry for VFW configuration... or at least the last version I had loaded did.

These aren't really AVISynth questions any more... I think you might have better luck in the advanced codecs subforum (or whichever one is appropriate).

Mr C
11th August 2005, 15:08
Omg :eek: it works fine now!

You're a genius (and I'm an idiot). I allready looked in this VfW configuration, but I didn't noticed there was a second tab: Decoder... :(

I enabled H264 under Video decoder configuration, in stead of VfW configuration.

:thanks:

Btw, my problem started as an AviSynth issue (at least I thought so) ;)