User User name Password  
   
Sunday 22.12.2024 / 02:47
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - software discussion > program to convert h264 flv to avi
Show topics
 
Forums
Forums
Program to convert h264 FLV to AVI
  Jump to:
 
Posted Message
Alltrac
Newbie
_
18. April 2010 @ 02:28 _ Link to this message    Send private message to this user   
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 DivX DVD 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.
Advertisement
_
__
AfterDawn Addict

1 product review
_
18. April 2010 @ 11:08 _ Link to this message    Send private message to this user   


Piss me off, and I Will ignore You!
Alltrac
Newbie
_
18. April 2010 @ 20:46 _ Link to this message    Send private message to this user   
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:

Quote:
Original FLV file

Format : Flash Video
File size : 464 MiB
Duration : 1h 23mn
Overall bit rate : 778 Kbps
totalduration : 5004.872
totaldatarate : 777.965
bytelength : 486752672.000
canseekontime : Yes
sourcedata : BD155EF41MM1271484146076261
httphostheader : v9.lscache4.c.youtube.com

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@3.0
Duration : 1h 23mn
Bit rate : 638 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.092
Stream size : 381 MiB (82%)

Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Duration : 1h 23mn
Bit rate : 131 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 78.2 MiB (17%)
Quote:
New AVI file

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 AVG antivirus.

Thanks for your help.

This message has been edited since posting. Last time this message was edited on 18. April 2010 @ 20:53

Alltrac
Newbie
_
18. April 2010 @ 21:27 _ Link to this message    Send private message to this user   
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.
AfterDawn Addict

1 product review
_
18. April 2010 @ 23:36 _ Link to this message    Send private message to this user   
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...


Piss me off, and I Will ignore You!

This message has been edited since posting. Last time this message was edited on 18. April 2010 @ 23:40

Alltrac
Newbie
_
19. April 2010 @ 04:07 _ Link to this message    Send private message to this user   
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.

Thanks again for your help.
Advertisement
_
__
 
_
Senior Member
_
19. April 2010 @ 23:09 _ Link to this message    Send private message to this user   
If AVC is relying on directshow to decode its files, you may need to install the haali
splitter.
http://www.videohelp.com/tools/Haali_Media_Splitter

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
afterdawn.com > forums > digital video > video - software discussion > program to convert h264 flv to avi
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2024 by AfterDawn Ltd.

  IDG TechNetwork