Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (19) « First ... 7 8 [9] 10 11 ... Last » ( Go to first unread post )
VirtualDub File Input Filter, how to create one
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Moitah
Posted: Oct 12 2007, 03:26 AM


Advanced Member


Group: Members
Posts: 210
Member No.: 8955
Joined: 20-February 04



@tateu: Wow, great job biggrin.gif. Works great on the files I tried, except for the ones I didn't have a decompressor for. Maybe you could show the FourCC in the "Could not init VFW" error message so we know which decompressor to look for. It's really cool that VirtualDub can open all these formats now biggrin.gif.

EDIT: Ah nice, I was able to switch to mode=0 to open the file and see the file information. It's Sorenson Video 3 which I found in ffdshow and enabled so now it works in mode=-1.
 
      Top
Moitah
Posted: Oct 12 2007, 06:16 AM


Advanced Member


Group: Members
Posts: 210
Member No.: 8955
Joined: 20-February 04



FLV Input Driver [EDIT: Updated link]

I implemented TimeToPositionVBR/PositionToTimeVBR based on the audio tag timestamps. It seems to work pretty well, maybe I'll just leave it like this, but I'm not sure yet. Also, PCM audio might work with this version, but I don't have a FLV file to test it with (only have one .flv with PCM but there's no video stream). The synch in most files is pretty good now. I did spot one file that was quite a bit off but it isn't a problem with the audio, rather because the framerate of the video was variable.

EDIT: I should warn everyone, it's a bad idea to direct stream copy the MP3 audio into an AVI. It doesn't play correctly in most players, maybe because the MP3 frames are split across the AVI chunks or something, I'm not sure.

Also if you just want to extract the MP3 without decompression, you might think to File > Save WAV and strip off the RIFF headers, but I don't recommend this because the end may be slightly truncated (I think this would be fixed by using ceil instead of rounding nAvgBytesPerSec, I'll consider doing that). Instead, I recommend FLV Extract.

EDIT2: I'm thinking about how to handle variable framerate videos because a handful of the FLVs I saved from YouTube are like this. I could pad gaps of missing frames with drop frames, it might not be too hard.
 
      Top
fccHandler
Posted: Oct 12 2007, 06:16 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



I've uploaded a new build of my WMV plugin, which adds experimental support for loading WMA files (audio only):

http://fcchandler.home.comcast.net/Plugins/WMV

--------------------
May the FOURCC be with you...
 
     Top
tateu
Posted: Oct 12 2007, 07:53 AM


Member


Group: Members
Posts: 17
Member No.: 22214
Joined: 7-October 07



Moitah, you're right, it should display the required codec info if it fails. In auto mode, I think it should fall back to using Quicktime API's if VFW fails. Otherwise, it's not much of an auto mode.


Hmm...I though I had checked what happens when you preview quicktime video in one of the filters, such as sharpen...I guess I didn't. In RGB24 & RGB32, the preview displays upside down, in YUY2 it is scrambled and in YV12 it crashes. I guess I'll have to fix that.
 
     Top
Gromozeka
Posted: Oct 12 2007, 07:53 AM


Unregistered









tateu, Moitah, phaeron, fccHandler
Thank you very much smile.gif

QUOTE
I will also most likely...someday...implement my avisynth OMF importer.

What is it??? smile.gif
 
  Top
tateu
Posted: Oct 12 2007, 08:06 AM


Member


Group: Members
Posts: 17
Member No.: 22214
Joined: 7-October 07



It's just another video container...Open Media Framework Interchange. It's the standard format that Avid's capture to. At work, we switched to an Avid editing system a few years ago; we had previously been using Avi based systems. The switch to an Avid was the reason I started working on Quicktime and OMF file import, in the first place.
 
     Top
fccHandler
Posted: Oct 12 2007, 08:11 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



@Moitah:
So far, your latest FLV plugin works great for me. cool.gif

--------------------
May the FOURCC be with you...
 
     Top
XYZ
Posted: Oct 12 2007, 08:22 AM


Advanced Member


Group: Members
Posts: 48
Member No.: 22012
Joined: 27-August 07



This is really great what is happening. I wish to thank you to all!

phaeron, could it be possible to expand this approach for support of output plug-ins as well?

fccHandler, how about a support for loading of successive VOB files in one go?
 
     Top
Gromozeka
Posted: Oct 12 2007, 09:02 AM


Unregistered









QUOTE
phaeron, could it be possible to expand this approach for support of output plug-ins as well?


For example mkv?

QUOTE
fccHandler, how about a support for loading of successive VOB files in one go?


It will be supported? smile.gif

P.S: flvPlugin not work - file opens, but not played sad.gif
http://rapidshare.com/files/62001036/460_med.flv.html
 
  Top
Placio74
Posted: Oct 12 2007, 10:33 AM


VideoAudio


Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07



QUOTE (Gromozeka @ Oct 12 2007, 09:02 AM)
...
P.S: flvPlugin not work - file opens, but not played sad.gif
http://rapidshare.com/files/62001036/460_med.flv.html

Switch-on VP6F in ffdshow VfW configuration?
Work for me with this sample.

--------------------
VideoAudio.pl - Serwis o technologii wideo & audio
 
     Top
Loadus
Posted: Oct 12 2007, 11:37 AM


Advanced Member


Group: Members
Posts: 352
Member No.: 10881
Joined: 1-July 04



QUOTE (Moitah @ Oct 11 2007, 08:55 PM)
@Loadus: Thanks smile.gif.  It does support VP6 if you have a recent ffdshow-tryouts build with VP6F VFW decoding enabled.

Kewl.
I have VP6 decoder installed, and some players show these (like GOM).
I don't know what these have eaten, but yes, have some:
http://www.loadusfx.net/physical.flv
http://www.loadusfx.net/storm.flv

If these work at your end then my decoders are screwed up. ;D

--------------------
deviantART behance
 
       Top
Gromozeka
Posted: Oct 12 2007, 11:54 AM


Unregistered









I installed other Ffdshow and put decoder vp6f - all files played! smile.gif)))))))))))))
But file info not work! sad.gif
 
  Top
Placio74
Posted: Oct 12 2007, 01:29 PM


VideoAudio


Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07



QUOTE (Loadus @ Oct 12 2007, 11:37 AM)
QUOTE (Moitah @ Oct 11 2007, 08:55 PM)
@Loadus: Thanks smile.gif.  It does support VP6 if you have a recent ffdshow-tryouts build with VP6F VFW decoding enabled.

Kewl.
I have VP6 decoder installed, and some players show these (like GOM).
...

DirectShow decoder?
GOM Player is DirectShow player and most other too.

VirtualDub not use DirectShow filters - required VfW codecs (or wrapper as ffdshow VfW).

Repeat...
Switch-on VP6F in ffdshow VfW configuration?
ffdshow video encoder configuration > Decoder > Codecs > VP6F (and FLV1)

--------------------
VideoAudio.pl - Serwis o technologii wideo & audio
 
     Top
heustess
Posted: Oct 12 2007, 02:58 PM


Advanced Member


Group: Members
Posts: 67
Member No.: 21872
Joined: 5-August 07



@fccHandler:
On [Input playback] of the short file maryann.wma downloaded from http://heustess.com/soundbytes.htm I get the following error message:

The audio codec reported an error while decompressing audio data. Error code 512 (ACMERR_NOTPOSSIBLE)

I also get this error message from the longer files downloaded from http://heustess.com/music.htm

--------------------
http://heustess.com/
 
      Top
Gromozeka
Posted: Oct 12 2007, 03:16 PM


Unregistered









QUOTE
On [Input playback] of the short file maryann.wma downloaded from http://heustess.com/soundbytes.htm I get the following error message:


But the truth - if played decompressed, but not filtered - right at the end shows the message: " The audio codec reported an error while decompressing audio data. Error code: 512 (ACMERR_NOTPOSSIBLE) "

Preview inpet - bad
Preview filtered - good
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
281 replies since Sep 25 2007, 05:43 AM Track this topic | Email this topic | Print this topic
Pages: (19) « First ... 7 8 [9] 10 11 ... Last »
<< Back to VirtualDub Filters and Filter Development