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.

 
Flv File - No Audio In Vd Unless Copied, after copying with xmedia recode audio i
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
tollhans
Posted: Jul 11 2012, 03:53 PM


Newbie


Group: Members
Posts: 6
Member No.: 35143
Joined: 10-July 12



Edit: If this isn't the suitable thread, please correct it. I`m sure I report a bug but I'm not quite sure about the software that has it. tollhans.
_____________________________________________________________________________________________________________________

vd 1.9.11 with fcchandler's AAC ACM Codec (Version 1.8).
The flv file is encoded by Stream Transport and has the following characteristics (according to Media Info)

Format : Flash Video
File size : 185 MiB
Duration : 45mn 1s
Overall bit rate : 574 Kbps
©too : Lavf52.31.0

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L2.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : 7
Duration : 45mn 1s
Width : 408 pixels
Height : 306 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive

Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 10
Duration : 45mn 1s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy

In Virtual Dub preview shows no Audio. Re-encoding is carried out without audio. The only notification I got was when I tried to "Save WAV ..." It said " No input audio stream to extract."
XMEDIA RECODE offers a way to copy a flv file by separately switching to video copy and audio copy. This copy can be previewed and reencoded by Virtual Dub without limitation. Analyzing the copy with Media Info I found the following text:
Format : Flash Video
File size : 185 MiB
Duration : 45mn 1s
Overall bit rate : 574 Kbps
Writing application : Lavf54.14.100
creation_time : 2012-07-11 01:30:36
aacaot : 2
audiochannels : 2
avclevel : 21
avcprofile : 77
moovPosition : 36
videoframerate : 25

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L2.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : 7
Duration : 45mn 1s
Width : 408 pixels
Height : 306 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 1 000.000 fps
Original frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive

Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 10
Duration : 45mn 1s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy

It looks like there is a bug in Stream Transport or a primitive copy protection in the stream, but XMEDIA RECODE can handle it. And VLC Player has no problems with the original and the copy file either. Could fcchandler manage to make the original file digestible for vd?

The flv file above is my only example for the problem described. I'll try to verify it elsewhere and if I succeed report to the makers of Stream Transport
 
     Top
Abrazo
Posted: Jul 11 2012, 06:34 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



To distinguish if the problem has something to do with Stream Transport or with the "FLV-inputdriver plugin" from fccHandler,
you can also try to open the specific FLV-file via the "FFMpeg-inputdriver plugin for VirtualDub", that you can find here:
- http://code.google.com/p/ffinputdriver/downloads/list

An other way to open the FLV via VirtualDub, is by installing the DirectShow-inputdriver plugin in combination with ffdshow.
- http://www.virtualdub.org/beta/DShowInputD...Driver-0.93.zip
- http://sourceforge.net/projects/ffdshow-tryout/

When the FLV file is open in VirtualDub, you can always look at File > File Information... to see what VirtualDub could make of it.
 
     Top
tollhans
Posted: Jul 12 2012, 01:19 PM


Newbie


Group: Members
Posts: 6
Member No.: 35143
Joined: 10-July 12



QUOTE (Abrazo @ Jul 11 2012, 06:34 PM)
To distinguish if the problem has something to do with Stream Transport or with the "FLV-inputdriver plugin" from fccHandler,
you can also try to open the specific FLV-file via the "FFMpeg-inputdriver plugin for VirtualDub", that you can find here:
- http://code.google.com/p/ffinputdriver/downloads/list
.
.

When the FLV file is open in VirtualDub, you can always look at File > File Information... to see what VirtualDub could make of it.

Thanks, Abrazo, for the good advice. To make it short: FFInputDriver.vdplugin did the job. There was sound and complete file information (FLV.vdplugin's file information found no audio).

BUT ENCODING ( I tried "Save as AVI ...") ONLY WORKED, IF I DID IT WITHOUT MARKING START AND END OF PROCESSING BY NOT USING THE LONG HORIZONTAL BAR BELOW THE INPUT/OUTPUT WINDOWS, I.E. I Have TO PROCESS THE WHOLE .FLV FILE.
IF I MARk START AND END AND TRY "Save as AVI" I am told: "Error while seeking file:" followed by the complete path of the .flv file I just opened for encoding.

So I have discovered a bug each in FLV.vdplugin and FFInputDriver.vdplugin and will try the next option you designated me.

A final question: Is this the right forum to ask questions about ffdshow? I have the last version that offered support for mpeg-2 (ffdshow rev3572 20100913 clsid) and I'm quite content with it even though I found no instructions or so. Together with avidemux the results are fine, but some things could be easier to perform.
 
     Top
Abrazo
Posted: Jul 12 2012, 05:47 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



1) FLV-problem
Probably there is some kind of information (pointers or tags) that is not present in the specific FLV-file, what makes it difficult for an inputdriver to open it correctly.
This is maybe also the reason why you get an error while trying to isolate only a piece of the original file.

2) ffdshow forum
I think you can post your questions about ffdshow here if they are related to VirtualDub, but if not so, you can better use the "Help" and "Open Discussion" forums that are specific for ffdshow:
- http://sourceforge.net/projects/ffdshow-tryout/forums

3) ffdshow revision/version
At this moment ffdshow is available as rev4422 (while you are talking about rev3572 ?)
- http://sourceforge.net/projects/ffdshow-tryout/files/

4) MPEG2/VOB-files
Do you know the existance of the MPEG2 inputdriver plugin for VirtualDub ?
Besides most MPEG2-files it can even open DVD's with multiple VOB's in one time
(in the Open dialogbox of VirtualDub you have to check/activate the "Ask for extended options after this dialog" parameter).
In combination with this inputdriver you will also have to install the AC-3 plugin and the AC-3 ACM codec.
You can find the inputdriver, the plugin and the codec on fccHandler's homepage:
- http://home.comcast.net/~fcchandler/index.html
 
     Top
tollhans
Posted: Jul 13 2012, 05:09 PM


Newbie


Group: Members
Posts: 6
Member No.: 35143
Joined: 10-July 12



QUOTE (Abrazo @ Jul 12 2012, 05:47 PM)
1) FLV-problem
Probably there is some kind of information (pointers or tags) that is not present in the specific FLV-file, what makes it difficult for an inputdriver to open it correctly.
This is maybe also the reason why you get an error while trying to isolate only a piece of the original file.

2) ffdshow forum
I think you can post your questions about ffdshow here if they are related to VirtualDub, but if not so, you can better use the "Help" and "Open Discussion" forums that are specific for ffdshow:
- http://sourceforge.net/projects/ffdshow-tryout/forums

3) ffdshow revision/version
At this moment ffdshow is available as rev4422 (while you are talking about rev3572 ?)
- http://sourceforge.net/projects/ffdshow-tryout/files/

4) MPEG2/VOB-files
Do you know the existance of the MPEG2 inputdriver plugin for VirtualDub ?
Besides most MPEG2-files it can even open DVD's with multiple VOB's in one time
(in the Open dialogbox of VirtualDub you have to check/activate the "Ask for extended options after this dialog" parameter).
In combination with this inputdriver you will also have to install the AC-3 plugin and the AC-3 ACM codec.
You can find the inputdriver, the plugin and the codec on fccHandler's homepage:
- http://home.comcast.net/~fcchandler/index.html

1) FLV-problem
To assume some bug in my specific flv file causes the lack of sound on the flv.plugin as well as the impossibility to process only a part of the file on the ffinputdriver.plugin sounds rather speculative. In fact I found no flv file whatever its soundtrack might have been from that I could process only a part, whereas the complete file never caused any problem.

I think it's time to report a bug officially, but where?

3) ffdshow revision/version
I cannot find a way to encode a mpeg2 file from a flv file by vd using ffdshow rev 4422. On the other hand I don't want to miss virtual dub with its vast range of filter options, when I try to ameliorate the original file. Even if I have to get rid of the avi container by employing avidemux, which btw offers an opportunity to introduce B-frames to the mpeg-2 file. Do you see any other possibility of getting an old-fashioned mpeg-2 file from any kind of mpeg-4 file via Virtual Dub?

4) MPEG2/VOB -files
I know and appreciate fcchandler's page and have installed everything I could ever need. In fact, the possibility of directly reading VOB files by virtual dub was unknown to me. THX.

I know I'm rowing against the stream. I am trying to archive mpeg-4 files in the classical DVD Video format while the whole world wants to do the opposite.

Maybe I have not understood how to use the DshowInputDriverPlugin because I was not offered any flv file to read.

So if I find no other possibility I will use the bugged(?) ffinputdriver.plugin and cut the respective file before or later.
 
     Top
-vdub-
Posted: Jul 13 2012, 06:39 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Virtualdub can output to MPEG2 container when you use the External Encoder more for this found here Codec Discussion Forum (also search the forum for External Encoder). Use you preferred MPEG2 encoder there (maybe) or here for other MPEG2 encoders.

You could frame serve to an MPEG2 encoder using virtualdub frame server with other options as you like.

Or could try find a good VFW MPEG2 encoder that can be used with virtualdub through where would be located in Video>Compressors. Though I think would be easier to find a good external encoder to use with virtualdub or frame serve to one than would be to find a better a VFW MPEG2 encoder.

If still have problems with your file and if can load to virtualdub with choices mentioned. As fccHandler has posted [V two posts down V] edit the video that way is a better option (than I had previously posted). With the video clip you then have upload to your file so it can downloaded for others here to help better with the problem.
 
    Top
Abrazo
Posted: Jul 13 2012, 07:04 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



EDIT: I see I was second with an answer, but maybe it may still help.
(also thanks to -vdub- for the information)

1) On this Virtualdub Support Forum there is a specific environment for "Testing / Bug Reports":
- http://forums.virtualdub.org/index.php?act=SF&f=15
And also read some information pinposted by fccHandler (How to post a bug report ?):
- http://forums.virtualdub.org/index.php?act...=ST&f=15&t=4102

3) I thought you did search a possibility to open MPEG2-files. It is rather the opposite way, you want to have a possibility to save to MPEG2.
Maybe there is such a possibility by using "external encoders" in VirtualDub experimental version 1.10.2.
Myself, I have not enough knowledge about using such things, but if you are interested, there is a specific topic about that:
- http://forums.virtualdub.org/index.php?act...=3&t=18840&st=0

4) Did you already install FLVSplitter ? (Normally this is a requirement to open FLV-files with ffdshow via the DirectShow inputdriver plugin):
- http://www.free-codecs.com/download/Flash_...eo_Splitter.htm
In the ffdshow "Video decoder configuration" you have of course to enable FLV decoding...
and when opening FLV via VirtualDub, File > Open video file ..., you have first to select an FLV-file (single click on it) and than at "Files of type" you have to select "DirectShow input driver". Finally click on "Open".
 
     Top
tollhans
Posted: Jul 14 2012, 03:45 PM


Newbie


Group: Members
Posts: 6
Member No.: 35143
Joined: 10-July 12



@Abrazo & -vdub-
A personal note:
I appreciate your support thankfully. As a silver surfer (66 years) I grew up among FORTRAN and Algol mainframes, changed to UNIX and today it's the stuff you've seen. Due to my loss of versatility and to a number of physical handicaps (not to forget fading memory (English knowledge)) I had become a typical virtual dub mainstream user not being aware of all the alongside paths vd offers. So I'm going to check your hints carefully. Unfortunately I have to rebuild my makeshift system (installed on an older notebook) that crashed a week ago with hardly any backup files (due to my physical and some financial handicaps) and I have to set my priorities among the processing stuff and the storing of yet unburnt material (good to see the harddisk prices fall).

So at the first glimpse on your proposals I'll try to get an overview on all the (ways to use) mpeg-2 encoders supported by virtual dub along with posting 2 examples of flv files that cause problems with some plugins (a good reason to re-establish my ftp client about which I feel a bit insecure). Till then. tollhans.
 
     Top
fccHandler
Posted: Jul 15 2012, 04:29 AM


Administrator n00b


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



I would like to examine your .flv file. I don't need to see all of it, just the first megabyte should be enough to reveal the audio problem. You can use VirtualDub's hex editor to extract a one megabyte segment by setting address = 0 and length = 100000.

--------------------
May the FOURCC be with you...
 
     Top
-vdub-
Posted: Jul 15 2012, 07:16 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



@fccHandler I like your thinking for the hex editor far better than the one I gave smile.gif
 
    Top
tollhans
Posted: Jul 15 2012, 05:44 PM


Newbie


Group: Members
Posts: 6
Member No.: 35143
Joined: 10-July 12



@fccHandler: I sent a PM
During verification of the test file I experienced loss of VP6F Codec though ffdshow was configurated correctly. I had to reinstall ffdshow and still don't know what caused this problem.
 
     Top
fccHandler
Posted: Jul 16 2012, 10:32 PM


Administrator n00b


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



I got your clip, thanks. The problem is that it starts with an empty audio packet (data size = 0). While that's not exactly "wrong", it is unexpected and the plugin probably lacks code to handle it. I haven't looked into the plugin yet but I expect it to be an easy fix.


--------------------
May the FOURCC be with you...
 
     Top
fccHandler
Posted: Jul 21 2012, 05:19 AM


Administrator n00b


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



The fix is done:
http://fcchandler.home.comcast.net/Plugins/FLV


--------------------
May the FOURCC be with you...
 
     Top
tollhans
Posted: Jul 21 2012, 08:32 AM


Newbie


Group: Members
Posts: 6
Member No.: 35143
Joined: 10-July 12



THX fccHandler. Verification is on its way.
Also THX to Abrazo and -vdub-. Maybe I'll have some further questions concerning MPEG2 encoding with VD.

The fourcc IS with you.

tollhans

UPDATE: FLV Plugin 2.4 is working fine.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
13 replies since Jul 11 2012, 03:53 PM Track this topic | Email this topic | Print this topic

<< Back to General Discussion