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: (23) « First ... 4 5 [6] 7 8 ... Last » ( Go to first unread post )
New FLV and Matroska plugins for VirtualDub, (works in progress)
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
stephanV
Posted: Dec 20 2010, 08:53 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (fccHandler @ Dec 19 2010, 08:20 AM)
If you export the audio in VirtualDub then you truly get the raw AAC, and in my experience it is not playable.

That's indeed true. Raw AAC data is not playable. What is usually referred to as 'raw AAC' though is AAC with ADTS headers, which IS playable.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
ale5000
Posted: Dec 20 2010, 10:28 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



.FLV file with vp6a video (it has alpha channel): http://user.augmented-reality.it/~josef/tm...p/alpha_vid.flv

The flv input plugin can open it but it only show black video.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
niko84
Posted: Dec 21 2010, 12:50 AM


Newbie


Group: Members
Posts: 1
Member No.: 29387
Joined: 21-December 10



I am having problems to use the FLV plugin as well with symptoms similar to the ones reported earlier.

My .flv file is H.264 and I can open/load it with Virtualdub but I only get a green screen. If I play the video the screen turns black and the frame counter starts to increment but no video.

I am on windows 7 and I have installed x264vfw.

Any help would be appreciated.
 
     Top
fccHandler
Posted: Dec 23 2010, 06:35 AM


Administrator n00b


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



L.H.V.F and ale5000:

Thank you both very much for uploading samples of your problem FLV files, especially Hatsune Miku biggrin.gif. I should have some time to examine them this weekend and I will let you know what I find out.


--------------------
May the FOURCC be with you...
 
     Top
ale5000
Posted: Dec 23 2010, 07:37 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



No problem.

PS: I have noticed a minor problem, the Matroska plugin doesn't appears under Audio => Audio from other file...

Edit: In the preferences of VirtualDub I select "Prefer internal audio decoders over installed third-party codecs"
then I open an .mkv file but in File => File information... it still say "ACM codec" => "Lame MP3" instead of the internal MP3 decoder.


--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
phaeron
Posted: Dec 24 2010, 12:06 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



QUOTE
Edit: In the preferences of VirtualDub I select "Prefer internal audio decoders over installed third-party codecs"
then I open an .mkv file but in File => File information... it still say "ACM codec" => "Lame MP3" instead of the internal MP3 decoder.


This option doesn't work for input plugins -- they can only request video decoders from the host, not audio decoders.
 
    Top
DarrellS
Posted: Dec 24 2010, 04:44 AM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



QUOTE (DarrellS @ Dec 12 2010, 05:08 PM)
I Guess the problem with the FLV files is that there is no meta data. I used ffmpeg to convert H264/AAC MKVs to FLV and have the same problem so I assume that's how the other H264 FLVs were created. That is the easiest way to turn an MP4 or MKV into an FLV, with the copy command.

EDIT: I guess that's not the problem either. The only thing I can do to get Virtualdub to open the files correctly with the plugin is to re-encode the files with Super. I can't just copy the streams into a new FLV container with the metadata.

EDIT: ...or batch convert all the FLVs to MKVs with ffmpeg and just use the MKV plugin to open them.

I uninstalled and reinstalled ffdshow, Haaili Splitter and reregistered FLV splitter and everything is working right again. Not sure which one was the problem or if they all were but it was not the plugin. I also had to reinstall my video drivers because I was having an overlay problem. Might be time for another reinstall of XP since something seems to have mucked up my system.
 
     Top
ale5000
Posted: Dec 24 2010, 05:12 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



@DarrellS: Haali Splitter and FLV splitter aren't used at all by plugins of fccHandler.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
fccHandler
Posted: Dec 25 2010, 01:34 AM


Administrator n00b


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



L.H.V.F. and ale5000:
I don't remember which of you sent me these files, but here's what I've found:

alpha_vid.flv - fixed
It turns out that the 'VP6A' codec is totally broken in ffdshow. However, the 'VP6F' codec seems to work OK with VP6A data, so I am now using that FOURCC instead. (This is also what Moitah's plugin does.)

20101214bl3_1292371138.flv - fixed
The problem with this video is that it does not begin with a keyframe. I have added support for it anyway.

I've also fixed Matroska to appear in the "Audio from other files" dialog.

Regarding the AAC stuff, I am still investigating.

Merry Christmas everyone. smile.gif

http://fcchandler.home.comcast.net/Plugins/FLV
http://fcchandler.home.comcast.net/Plugins/Matroska


--------------------
May the FOURCC be with you...
 
     Top
ale5000
Posted: Dec 25 2010, 02:10 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



Merry Christmas biggrin.gif

PS: Did you found the cause of the mismacth file informations?
PS2: And about the frame 0 almost always green?

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
L.H.V.F.
Posted: Dec 25 2010, 02:16 AM


Advanced Member


Group: Members
Posts: 49
Member No.: 28822
Joined: 19-October 10



QUOTE (fccHandler @ Dec 25 2010, 01:34 AM)
L.H.V.F. and ale5000:
I don't remember which of you sent me these files, but here's what I've found:

[
20101214bl3_1292371138.flv - fixed
The problem with this video is that it does not begin with a keyframe.  I have added support for it anyway.


Thanks you, first, for your work, and I had posted in this page [5], post 11, in this page especifically: http://forums.virtualdub.org/index.php?act...20plugins&st=60,

Link of 20101214bl3_1292371138.flv: http://www.4shared.com/video/M8MP39gx/2010...1292371138.html

About the plugins, I have questioned my teacher of my Technical course of Informatic, and he say to me for runs as Administrator account first, for the problems with programs made with Visual Studio. He think that problem comes of my account with limited privileges, and also for in this case can't write in the folder "Program Files" ("Arquivo de Programas" - in the windows in portuguese), and folder "WINDOWS\System32", as I have problems with many programs, for this I use .zip programs, that not needed install. Other thing that he say to me, and I not have certain, are the programs compilated with Visual Studio, not should need to use the .NET Framework, he say that it is not possible, is needed to use some function of language, but only is possible not use a graphical tool recourses for do the program, and it uses a .NET Framework anyway.

Moitah plugin not have the same problem, and I have use both.

Merry Christmas for you too.
 
     Top
fccHandler
Posted: Dec 25 2010, 02:26 AM


Administrator n00b


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



L.H.V.F.:
Try this one instead:
http://fcchandler.home.comcast.net/TestFLV.zip

It is the same version 1.3, but built with Visual C++ 6.0 instead of Visual Studio 2005. I will be very interested if this makes a difference for you.


--------------------
May the FOURCC be with you...
 
     Top
fccHandler
Posted: Dec 25 2010, 02:36 AM


Administrator n00b


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



QUOTE (ale5000 @ Dec 24 2010, 10:10 PM)
Merry Christmas biggrin.gif

PS: Did you found the cause of the mismacth file informations?
PS2: And about the frame 0 almost always green?

I did find the cause, but I'm not quite sure yet what I am supposed to put there. The high-level FLV header says 44100, but the low-level AAC header says 22050 (presumably due to SBR). So the question is what should go into the WAVEFORMAT header, and I don't have a good answer yet. In practice it doesn't seem to matter, but still a decision needs to be made and I want it to be the "correct" one. Still looking into it...

I have also seen that frame 0 is green in a lot of my FLV and MKV files. I suspect it might be the ffdshow decoders implementing a one-frame delay, i.e., it eats that frame for future reference but gives me nothing in return. If so then it may not be fixable.


--------------------
May the FOURCC be with you...
 
     Top
ale5000
Posted: Dec 25 2010, 04:12 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



With MediaInfo you can get more info.

Example:
Audio #1
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 24mn 40s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Title : AAC 5.1
Language : English

Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AACv2 / HE-AAC / LC
Codec ID : A_AAC
Duration : 24mn 40s
Channel(s) : 2 channels / 1 channel / 1 channel
Channel positions : Front: L R / Front: C / Front: C
Sampling rate : 48.0 KHz / 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Title : AAC 2.0
Language : Japanese

It is retro-compatible, for example for the second audio track you get =>
- In players that support only LC you get: 1 channel, 24.0 KHz
- In players that support also HE-AAC you get: 1 channel, 48.0 KHz
- In players that support also HE-AACv2 you get: 2 channel, 48.0 KHz

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
fccHandler
Posted: Dec 25 2010, 05:34 AM


Administrator n00b


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



I'm sure you didn't get that info from an .flv file! The .flv format is very sparse and doesn't even support multiple audio tracks.

I ran MediaInfo on your Hatsune Miku .flv and got the following for the audio track:

Format: AAC
Format/Info: Advanced Audio Codec
Format profile: LC
Duration: 2mn 26s
Bit rate: 63.0 Kbps
Channel(s): 2 channels
Channel positions: Front: L R
Sampling rate: 22.05 KHz
Bit depth: 16 bits
Compression mode: Lossy
Stream size: 1.10 MiB (24%)

But I believe that profile is incorrect because (you say) it is an SBR stream. So my only real doubt is what is the "correct" value to go into the WAVEFORMAT nSamplesPerSec field. I am leaning towards 22050 being the correct value.

--------------------
May the FOURCC be with you...
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
337 replies since Sep 26 2010, 04:58 AM Track this topic | Email this topic | Print this topic
Pages: (23) « First ... 4 5 [6] 7 8 ... Last »
<< Back to VirtualDub Filters and Filter Development