Log in

View Full Version : ConvertIng FLV using GraphEdit only


JeanPierre.Durant
21st April 2008, 01:50
Hello.

[using graphEdit] I am trying to convert an FLV file into a plain (uncompressed) AVI file. I have the latest FlvSplitter.ax and I use it as a file Reader (meaning it is used as FlvSource {C9ECE7B3-1D8E-41F5-9F24-B255DF16C087} , path C:\IDATA\SOURCE\Win32\C++\FlvSplitter\trunk\guliverkli\src\filters\parser\flvsplitter\Release Unicode\FLVSplitter.ax

In Graph Edit, I rendered the Flv file, which gives me :
- FlvReader (2 pins) Vid is RGB 320x240 32bits, audio is 0x0055 (mp3, 22050hz, 0bits (?zero), mono)
- video goes straight to VideoRenderer
- the audio goes through MPEG-Layer 3 decoder then into Default DirectSound.

[ It plays OK ]

I then detach (disconnect the arrow) the Video renderer and delete the audio renderer.

I add : Avi MUX
I add : File Writer.(call it "converted.avi")

I connect the video pin to the MUX in1, and the audio to Mux in pin #2, the result of the AviMUx goes into AVI Filewriter.

technically it should convert and create an AVI file, right ?

I press PLAY , it converts the file.

PROBLEM : it creates a file with audio OK but it looks like only the first video frame appears.

I have tried putting a SmartTee in the video with a VideoRenderer (to see what's going on) but it gives me the same result.

Is it possible that the FlvSplitter doesn't tell the "progress" or the frames being rendered , to the rest of the graph ?

It looks like the graph works but the triggers to step from one frame to another isn't carried across the whole graph.

Has anyone tried this and found some solution?

I did read whatever I could on this Forum and AFAIK it s only people trying to PLAY the graph, not convert it into something.

If anyone can give me a hint, it would be much appreciated.

merci

JeanPierre D.