Log in

View Full Version : ffvfw


Pages : 1 2 3 [4] 5 6 7

athos
27th March 2003, 12:10
Originally posted by slavickas
hi
how to playback theora ?
I havent tried it myself, but did you try with the ffvfw ds-filter? Ie register ffvfw ds filter and then encode using FOURCC FFVFW.
Originally posted by slavickas
and why it needs debug version of msvcrt?
This is probably me compiling some part of ffvfw using debug settings by mistake. I will try not to do this for next release.



Good news!
I got mail from milan today, he says he will soon be back on the forum!

raistlin2k
27th March 2003, 12:17
I got mail from milan today, he says he will soon be back on the forum.

Sound like "Return of the Jedi" to me;)

Really good news, Milan is the king of MPEG-4 in my opinion, neither DivX nor XVID can keep up with FFVFW!

Raist

kilg0r3
27th March 2003, 12:39
It seems :stupid:. I know. Might be that I am just :cool: (just blind). But I haven't found a guide or options-explained document. So how did you guys learn to use and understand the features of ffvfw?

Nic
27th March 2003, 13:21
Just incase others were having difficulty grabbing the latest file like I did Ive mirrored it at:
http://nic.dnsalias.com/ffvfw-20030325.exe

Hope athos, nitrogen & milan dont mind

-Nic

athos
27th March 2003, 18:21
Originally posted by kilg0r3
It seems :stupid:. I know. Might be that I am just :cool: (just blind). But I haven't found a guide or options-explained document. So how did you guys learn to use and understand the features of ffvfw?

If you check earlier in the thread, there are some links to pages explaining the options of ffmpeg. ffvfw is basically a vfw interface for ffmpeg, with a gui for setting these options.

HarryM
27th March 2003, 19:34
Do Huffyuv (YV12 mainly) in ffvfw is O.K. finally?

I have problems with random color streaks in captured video.

milan
28th March 2003, 10:19
@HarryM
I've got similar artifacts with median prediction. I'll check this in mencoder too to compare results and if it prooves to be bug in libavcodec I'll send a mail to Michael.

@kilg0r3
I've tried to gather some info to html pages in ffvfw and there are some hints in configuration pages too. Of couse more detailed description would be surely needed. As I'm finalizing ffvfw feature-wise (yes, I'm doing it), I'll try to write some guide. Of course I'm not pretending I fully understand every libavcodec option.

@raistlin2k
I can't tell if libavcodec is realy so much better than XviD or DivX, but of course I'm satisfied with it. Other way there would be no ffvfw. And please don't thank me for MPEG-4 encoding in ffvfw. ffvfw is just a frontend for libavcodec, which is an extraordinary piece of code and it's being maintained by much better developers than me.

I'd like to thank Athos and all of you for distributing and using ffvfw. I'm sorry for not comunicatiing with you for last few months.

P.S. I realy don't like the ffvfw name anymore. Do you have any suggestions how it should be named? Now it's not even only ffmpeg (libavcodec) based and not only VFW codec (DirectShow interface is present and DMO is planned).

Nic
28th March 2003, 10:23
@milan: in the development forum (mpeg-2 transcoder thread), I made mpeg2enc (from mjpeg.sf.net) into a little commandline app for encoding from avs files. I changed bits and pieces of the code to make the assembly,etc compile nicely in vc6, etc. I never did release the code, if you think it would be useful let me know.

Otherwise, im just wishing you well on ffvfw, I love the interface and options :)

-Nic

kilg0r3
28th March 2003, 10:24
The wa avisynth.org does it with the wiki pages is a nice possibility to create and maintain documentation.

milan
28th March 2003, 10:35
@nic
I know about your effort and this was the reason for choosing mpeg2enc as a mpeg2 encoder library for ffvfw (of course it would be much better to have mpeg2 encoding support directly in libavcodec, but I seriously doubt I'd be able to do this). I had to change some code for it to support feedeing frames from external library and passing in back instead. To use assembly routines it must be compiled using GCC, but I'd like to see your mpeg2enc code. I don't know if you've tested mpeg2 encoding in ffvfw. I realy need help with this, because I'm not very familiar with all of these MPEG2 features and I'm currently not able to make proper GUI which would allow to enter valid parameters combinations only.

@kilg0r3
I know almost nothing about the wiki concept, but I'll look at it. But it's not problem for me to maintain the documentation - the hardest part for me is to convince myself to not just write code and add new features, but also to write few words about them :(

Nic
28th March 2003, 10:49
@milan: I spend a lot of my time getting gcc assembler to compile in VC6 lol, I really should just use gcc (especially as I use it on the mac at work), I think my code needs the Intel Compiler to compile though (it sticks less to ISO than MSVC, far more forgivingof C code).

I tried to compare ffvfw yesterday, but when I installed it it somehow made Media Player Classic unable to load (id load MPC and the window wouldn't open and MPC would use 99% of the CPU).
I uninstalled ffvfw and MPC worked again (I needed it to play WMV9 at work. But ill try it on my home computer and test.

Id love to compare the speed, mine is very slow (maybe because im using C for a few functions instead of the MMX code, because I failed to convert the assembly correctly in places).

If you get any free time, try looking up mp1e (Realtime MPEG-1 encoder, its part of the zapping project now I think). it used to only do I-Frames, but now does B/P frames, been meaning to look into it for a while. Apparently faster & better quality than ffmpeg MPEG-1 encoding, or so ive heard. Havent had time to look into it yet.

Good luck and ill help wherever I can & whenever ive got the time,
-Nic

milan
28th March 2003, 11:12
Please remove (or just rename) ffdshow.ax when try to use ffvfw.
It seems there are some compatibility problems when ffvfw is trying to access ffdshow through COM interface for image preprocessing. Or try to uncheck the WMV9 checkbox on ffvfw Decoding pase. Please let me know if this will help. I'm sorry, but I can't check it now.

raistlin2k
28th March 2003, 11:21
Dear Milan!

I guess I still have to thank you, I know you didn't make FFMPEG but you are the guy who brought it to us via FFVFW, so THANK YOU!

Just a question: Could you allow VFW-interface encoding of videos using not multiples of 16?? I know that this might result in artefacts and less compressibility, but I would really like to test this, since even DivX works with such resolutions.

About the name of FFVFW: Indeed, it's quite hard to speak it out
:p , DivX or Xvid is much easier to say, especially if you're drunk :) I guess the name should show up that this is a really ultimative encoder offering several encoders in one interface (theora, wmv9, mpeg4, h263...) What about MUVIE (MUltiple VIdeo Encoders)??

Thanks again
Raist

P.S. I think I found a bug in FFDSHOW, giving me pink artefacts in in the black letterbox on top of the movie, disappearing when enabling "USE XVID" in ffdshow interface.

P.P.S. When you're renaming FFVFW, what about a new name for FFDShow?
So we see that they are from the same guy!

milan
28th March 2003, 11:34
OK, I'll disable that "mult. 16" check, it's realy obsolete.

Thank you for the MUVIE name suggesion.

P.S. what was the movie resolution?
P.P.S. I think it's too late to rename ffdshow. It's now pretty well known and it would be just confusing. BTW I still don't know what those FF letters mean in ffmpeg name.

Koke
28th March 2003, 16:57
Originally posted by milan
BTW I still don't know what those FF letters mean in ffmpeg name.

Then it could be FFX :)

Regards and my respect for your work!

kilg0r3
28th March 2003, 17:38
what about 'hydra', after the monster with the thousand heads?

Koke
28th March 2003, 18:58
Hydra sounds mean, I like it.

raistlin2k
28th March 2003, 19:09
Hydra is really nice.

@milan
Resolution was 712x312. I will try & see if the artefacts are also there using 720x320 (16x)

If so, I will try to rip the few seconds out so I can upload them somewhere.

Thanks
Raist

easyfab
28th March 2003, 20:28
Yes "Hydra" would be a nice name.
And thanks again milan for your work.

Just one question : Would it be possible in the future to compile with mingw/cygwin or another free compiler (i don't have vc6 and don't want to spend money)or must the DS filter obligatory be compile by vc6.(I'm a newbie in compile so excuse me if the question is stupid)

kilg0r3
28th March 2003, 20:57
I fear hydra is not very original. try a search on google with the key words hydra and software. :(

Kamui-Dash
29th March 2003, 20:04
Hmmp, I dont get these new ffvfw builds. What I dont get is the libavcodec selection is not present as the OCT 10 2002 build. Can someone help please so I could test the newer builds. I also had a problem encoding it from job control list :(

raistlin2k
29th March 2003, 20:15
@Kamui-Dash

Try it here:
1.http://nic.dnsalias.com/ffvfw-20030325.exe
2.http://homepages.pathfinder.gr/ffvfw
3.http://nitrogen.kicks-ass.net/ffvfw

For me, third one worked always perfect & super-fast
MANY THANKS TO NITROGEN!

Hope this helps ya!
Raist

Kamui-Dash
30th March 2003, 01:20
Thanks man, I'll look into this.

Kamui-Dash
30th March 2003, 04:50
Still no luck :( I wish the installation was like other codecs, ffvfw doesnt show up in vdub codec selection anymore. Any1 knows how to install this correctly and choosing the libav codec as well? The earlier version were easier to install so I guess thats how I got it running.

sungey
30th March 2003, 09:47
hmm .... before installing ffvfw .. i just delete ffvfw.dll and libavcodec.dll ...

sam_b
30th March 2003, 12:34
I had this problem a while ago, seems like I was missing a few MSVCR70.dll-like files. There a a few mentioned earlier in the thread.

milan
31st March 2003, 10:30
@easyfab
It's one of my goals to have ffdshow and ffvfw compileable using free tools. With ffdshow this is possible, but filters using optimized assembler code would be disabled. I would have to convert all Visual C++ inline assembler to NASM. ffvfw (or MUVIE or hydra :) ) contains makefiles for mingw build too, but recently this had been by incorporating avisynth colorspace conversion routines. These are in VC inline assembler and NASM conversion would be required too. If you'd need mingw build process working now, I can use some #ifdefs to disable that code and don't use AviSynth routines when compiling using GCC.

And yes, even directshow filters can be compiled using mingw. I've make a patch to Microsoft baseclasses library. The patch is located in ffdshow CVS in ffdshow/src/baseclasses directory with some instructions how to apply it.

MSVCRT70: I'm not packaging this library with ffdshow/ffvfw. Releases should be compiled in VC6 to not require this dll.

Again thanks for new name suggestions, I still have to made some cleanups to ffvfw code and most probably new build will be released with a new name.

easyfab
31st March 2003, 18:39
Thanks for answering.
I'll make some try with the patch to compile ffdshow using mingw.

easyfab
31st March 2003, 18:39
Thanks for answering.
I'll make some try with the patch to compile ffdshow using mingw.

DDogg
31st March 2003, 19:44
milan, thanks for the makeavis/frameserving addition to your filter. I have some reports to make as I am running into a few problems loading the "fake" avi into Video Vegas even with rgb24 forced in the decoder tab. Where would you like this subject reported? Sh0dan, started a thread in avisynth usage on the subject. Would that be ok with you?

http://forum.doom9.org/showthread.php?s=&threadid=49964

raistlin2k
9th April 2003, 11:40
I can't use the pre-processing in the encoder, although FFDSHOW is installed (latest), it's greyed out.

Any ideas?

Thanks
Raist

sh0dan
10th April 2003, 17:29
Would anyone be so kind to release i new binary (unless there are very serious bugs). It contains some great fixes for the MakeAVS users.

DDogg
13th April 2003, 22:05
cough Bump

sh0dan
15th April 2003, 16:47
Seems like everybody is busy. I uploaded a version I compiled a few moments ago, from a fresh CVS checkout, to the AviSynth CVS binary site in my sig. All I can say is that it works here.

easyfab
15th April 2003, 18:38
Thanks for the build shOdan,
But have you disable ffmpeg because it is no more in the codec list ??
I have xvid, theora,wmv, mpeg2enc, isompeg4, windows media but not ffmeg.

NiTroGen
15th April 2003, 21:09
Originally posted by sh0dan
Seems like everybody is busy. I uploaded a version I compiled a few moments ago, from a fresh CVS checkout, to the AviSynth CVS binary site in my sig. All I can say is that it works here. Thanks for the new build. I've uploaded to my site.

athos
15th April 2003, 23:44
good work sh0dan!

here's the changelog:2003-04-15 09:49 milan_cutka

also look in ffvfw.dll folder for dynamic libraries

2003-04-15 06:47 milan_cutka

mb_stride

2003-04-14 14:24 milan_cutka

headers cleanup

2003-04-14 06:53 milan_cutka

WMV9 Screen codec in AVI support, HuffYUV (YUY2) encoding,
XVID_CSP_YV12 input for XviD encoding (bypasses bug in XviD
XVID_CSP_USER input), generic support for multiple colorspaces for
encoding, can be compiled using GCC (omits AviSynth colorspace
converters), stores/loads ffdshow settings in ffvfw state data

2003-04-12 06:59 milan_cutka

fixes in colorspace conversion

2003-04-11 15:45 milan_cutka

XVID_CSP_YV12, XVID_CSP_I420 -> XVID_CSP_USER conversion cleanup,
fixed forcing of input colorspace

2003-04-11 12:08 milan_cutka

using Tconvert

2003-04-11 07:53 milan_cutka

working on more generic colorspace conversion class, psnr display
for libavcodec and xvid, raw video decoding, updated libavcodec

2003-04-11 07:50 milan_cutka

working on more generic colorspace conversion class, psnr display
for libavcodec and xvid, raw video decoding, updated libavcodec

2003-04-08 15:55 milan_cutka

working on psnr stats

2003-04-08 14:40 milan_cutka

no message

2003-04-08 14:30 milan_cutka

updated libavcodec, allow mb quant limits only when adaptive
quantization enabled

2003-04-08 12:08 milan_cutka

video properties in makeAVIS

2003-04-08 10:27 milan_cutka

fixed output to YUY2 (and generally flipped) colorspaces, forcing
interlacing in makeAVIS (break AVIS backward compatibility)

2003-04-03 09:04 milan_cutka

trying to compile makeAVIS with mingw

2003-04-03 06:44 milan_cutka

updated makefiles

2003-04-02 16:51 milan_cutka

fake AVIs can force output colorspace

2003-04-02 15:12 milan_cutka

no message

2003-04-02 15:09 milan_cutka

no message

2003-04-02 14:31 milan_cutka

YUY2 -> YV12 fix in decoder, updated libavcodec, updated GUI to
better reflect libavcodec features

2003-04-02 06:45 milan_cutka

no message

2003-04-01 15:24 milan_cutka

no message

2003-04-01 12:29 milan_cutka

fixed crash when wmv9 wasn't available

2003-04-01 11:32 milan_cutka

load wmvcore.dll at runtime

2003-04-01 10:15 milan_cutka

updated libavcodec, WMV codecs FOURCC autodetection

2003-04-01 06:46 milan_cutka

cleanups and fixes

2003-03-28 10:45 milan_cutka

updated vc6 project

2003-03-28 06:48 milan_cutka

improved Theora supports, always show disabled checkboxes and radio
as unchecked, IffProc3, changed dll search order, warning fixes

2003-03-27 16:34 milan_cutka

va_end

2003-03-27 16:33 milan_cutka

no message

2003-03-27 10:08 milan_cutka

more precise sup_trellistQuant

2003-03-27 06:38 milan_cutka

mostly just cosmetic changes

2003-03-26 14:49 milan_cutka

,

2003-03-26 14:42 milan_cutka

more detailed version info (not yet for libswscale.dll)

2003-03-26 10:53 milan_cutka

let's call it "multipass encoding" (only for libavcodec)

Kamui-Dash
16th April 2003, 03:01
Nice work :D

milan
16th April 2003, 07:17
Hi,

thank you sh0dan for the build. I wanted to release new build just today. Not yet on SourceForge, but just for you here to test it. After changes to support multiple colorspaces for encoding and update to generic colorspace conversions I need reports about how it's working. Thank you in advance for feedback.

And for release I think I should change not just the ffvfw name, but also the license. It will of course remain GPL, but I would like to add two things (inspired by XviD):

1. ffvfw is just for educational purposes
2. it's possible to use it through VFW and DirectShow interfaces even from non GPLed apps

About ffdshow in ffvfw: you'll need latest CVS version of ffdshow because ffvfw uses few new functions which are not present in older ffdshow builds.

Selur
16th April 2003, 07:24
@milan:Any plans/news about when to release a new ffdshow alpha ?

Cu Selur

Ps.: Thx for your great work :)

milan
16th April 2003, 08:04
I would like to solve some issues first. For example when ffdshow is processing MPEG2 decoder output (for example from InterVideo decoder filter) the image stops after few frames. I think this has been reported before, but only now I'm able to test it. Then there is a crash when image size changes just before processing of first frame. I've tried to work on this last weekend but without suceess.

Selur
16th April 2003, 11:42
Okay, thx for the info :)

raistlin2k
16th April 2003, 12:49
About ffdshow in ffvfw: you'll need latest CVS version of ffdshow because ffvfw uses few new functions which are not present in older ffdshow builds.

I have FFDShow from new-year (alpha). Could someone provide me with a new one build from CVS so I can try the pre-processing of FFDShow inside of FFVFW?

Thanks a lot in advance
Raist

milan
16th April 2003, 12:57
Please wait a moment. I'm now working on ffvfw/ffdshow/ffvdub cooperation and ffdshow COM interfaces are changing quite often.

NiTroGen
16th April 2003, 14:48
Originally posted by easyfab
Thanks for the build shOdan,
But have you disable ffmpeg because it is no more in the codec list ??
I have xvid, theora,wmv, mpeg2enc, isompeg4, windows media but not ffmeg. Same problem here. I have only XviD, Theora and mpeg2enc MPEG1/2. What happend to the other format support? There is still the following text at the about box:- various compression methods:
MPEG 4 compatible (Xvid, DivX 4, DivX 5) using libavcodec or XviD
Divx 3 compatible, MSMPEG4v2, MSMPEG4v1
WMV1/7, WMV2/8
H263, H263+
HuffYUV in YV12 colorspace
MJPEG
MPEG 1
Theora (not for regular use, format isn't stabilized yet)
MPEG 2 by using mpeg2enc code from MJPEGtools project
all Windows Media Video 9 supported encoders with output to asf/wmv file or AVI

milan
16th April 2003, 15:07
There in old version of libavcodec_enc.dll and ff_mpeg2enc seems to be outdated too.

@sh0dan:
Please recompile these libraries and put a new installer to your site. I'm sorry I'm in a hurry now and can't do that.

BTW perhaps I should modify VisualStudio project files to check these dependencies and run the makefiles.

kempfand
17th April 2003, 00:56
Thanks for the ffvfw.

I works great with TMPEG (with 'DirectShow Multimedia File Reader' option activated), and fake-AVI's also play great in e.g. ZoomPlayer.

In CCE (any built), I get an error 'couldn't find approproate video codec for 'AVIS'). GSpot 2.1 also shows not fourC installed for 'AVIS'.

Any hint on how I can RegEdit this would be highly appreciated.

Regards,
Andreas

DDogg
17th April 2003, 14:43
kempfand, seems like I remember I had to create a new string and set vidc.avis = ffvfw.dll in drivers32 in registry for makeavis to work with cce 2.50
CCE is such a pain in the backside sometime.

sungey
17th April 2003, 15:00
anyone here uses Statsreader to read .stats file generated by ffvfw ? Or is there any better way to read the stats file ?

kempfand
17th April 2003, 17:04
DDogg,

Your hint works like a charm (CCE 2.50 up to 2.67.00.09):

"vidc.avis"="ffvfw.dll" into
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]

Thanks a million & regards,

Andreas