I have video files that are in FLV format using h264 and I want to convert them to AVI with as little quality loss as possible. I want to do this because I burn AVI files to DVD's and play them in my DivXDVD player (Philips DVP5140).
I don't know what the compression difference between h264 and whatever the best that AVI can support is, but it will be fine as long as the file stays less than 3 times it's original size.
What would be a good program to do this?
Also, is there one that will allow me to define what size or quality I wan't the AVI video to be? The DVD player only supports up to 720x576 and I may need to shrink down larger resolution videos.
Thanks for your help. The program seems to do exactly what I need, but I have 2 problems.
The video looks good, but I have no audio. I chose AAC since that is what it originally was and I think that is supported by divx.
I am using K-lite codecs and watching through WMP. I watch all video's through WMP and never had any problems. When I play the video only the ffdshow video icon shows in the system tray, there is no ffdshow audio icon.
Here is the media info from a k-lite tool if it helps:
Format : AVI Format/Info : Audio Video Interleave
File size : 582 MiB
Duration : 1h 23mn
Overall bit rate : 974 Kbps
Writing application : MEncoder Sherpya-SVN-r30075-4.2.5
Writing library : MPlayer
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID Codec ID/Hint : XviD Duration : 1h 23mn
Bit rate : 768 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive Bits/(Pixel*Frame) : 0.111
Stream size : 459 MiB (79%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
Format : 706D
Codec ID : 706D
Duration : 1h 23mn
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Stream size : 115 MiB (20%)
Interleave, duration : 23 ms (0.70 video frame)
Interleave, preload duration : 15 ms
Edit: Let me download some new codecs first. I have the standard k-lite, i'll try the full.
And then my second problem, not very important right now, but can speed up trouble shooting this, is that I have hyperthreading and the program is only using one thread (50% of processor). Should it be using both? I set the process priority to "above normal" and told it to use 2 threads for encoding.
I didn't do anything else while it was encoding and that was the only thing running other than AVGantivirus.
I downloaded the full version of the k-lite codecs and it didn't fix it, still no audio. I also burned it to a RW and there is no audio from my dvd player.
I don't know how to tell if I have that individual codec or not.
You shouldn't choose AAC(your DVD player will most likely not play it), choose mp3 or AC3.
To play using WMP, you can try and setup ffdshow to decode AAC:
.
Go under "Edit"->"Options" and change the number of threads, see if it makes any difference:
.
.
As I mentioned above, choose mp3 or AC3 to use the files in your standalone player.
Edit:
I guess you already set it up to use 2 threads, didn't read your message completely...not sure what else to suggest...
Thanks for your help. ffdshow is already set how it is shown in the picture you posted above. It doesn't have a problem playing the original AAC in the FLV, but doesn't work after I encode it to AVI. Not a problem i'll just use one of the others. I just checked and my divx player does not support AAC.
I did some searching on the multi-thread encoding and I don't think it's easily fixable. A lot of people have the same problem. It's actually not using one thread of my hyperthreading. It's using about 80% processor of one thread and around 20% of the other. I just don't understand why it stops at exactly 50%. Not worried about this either, I thought I just might of had something simple set wrong, but it's more complex.
You could always try something like graphstudio first, render the file and see if
will play. It will also tell you what filters are in use.
http://www.videohelp.com/tools/GraphStudio