Now that I have everyones attention heh...
First I would like to say that I am shocked that not a single person has replied to my request for some 2 pass mencoder command line help after 59 views
http://forums.nextpvr.com/showthread.php?t=41968
I suspect either people don't know much about FMP4 and Mencoder or people are much to busy to reply.
So I have decided to get more people hooked on the codec that I have been using for more than a year now.
To get you interested I have uploaded Video Samples of my compression tests using some of the popular formats that are being used by members of the board.
Many posts have hinted that it is better to buy larger hard drives rather than compress your video files... Well I have a few Huge hard drives and they get filled up rather quickly especially if you record the movie channels 24/7 so that you can watch whatever you want whenever you want. The problem is that Mpeg recorded files are huge and take up to much space for a single 2 hour movie. For me the file size for a typical movie is around 4 gigs using PVRX2's Medium encoding settings for my hauppage 500 card.
I had been searching a year ago for the ultimate conversion utility, script or auto program and man let me tell you that nothing compares to the FMP4 codec for sheer speed and thankfully it has an above average picture quality.
FMP4 is a Video format by FFmpeg and a description can be found at this wiki
After trying numerous frontends for FFmpeg.exe and Mencoder.exe and trying to read and learn about the command line scripts they used for various profiles. One conversion program used an FMP4 script that I stumbled upon and fell in love with the speed and was quite happy with the results. I then started experimenting with changing the values to the line to see what the heck it does. (I know nothing about video codes just a hobby)
So this is my current compression script that I auto convert all recording to.
vqscale=3 - a lower value raises the video quality resulting in a higher file. higher number = smaller file and worsening video quality...
If you want to deinterlace the picture simply add
-vf pp=md
To rescale the video add:
-vf scale=624:352
To deinterlace and scale:
-vf pp=md,624:352
Now my findings....
Test rig Q6600 quad core XP 3 gigs ram
I recorded a 30 second commercial using Variable bitrate 3500 - 7200 @ 720x480
Filename-----------------------Resolution-------FPS_EST_Enc--------time2encode--------------Filesize----
seaworld.mpg-------------------720x480----------029.99fps-----------0:30.00s----------------16,625k
seaworld_xvid_720x480.avi------720X480----------023.82fps-----------0:24.12s----------------06,774k
seaworld_h264_720x480.avi-----720X480----------016.99fps-----------1:10.40s----------------07,471k
seaworld_fmp4_720x480.avi-----720X480----------105.00fps-----------0:08.75s----------------10,637k
seaworld_fmp4_624x352.avi-----624X352----------100.00fps-----------0:09.28s----------------07,303k
seaworld_fmp4_448x336.avi-----448X336----------119.00fps-----------0:07.92s----------------05,696k
By not resizing the movie resulted in a much larger file in my test however usually in a 2 hour movie the results were about 2 gigs and it is important to understand that the codec adjusts to the colors and movements in the movie so the file size will rise or lower depending on the content. More black like a talk show results in much smaller files.
Resizing to 624x352 resulted in file sizes similar to H264 and Xvid 2 pass encoding. I decided to even go even smaller to 448x336 and the files are way smaller and I was happy with the picture on my 42inch LCD TV @ 1920x1080 resolution. Its only TV and if I was to convert a DVD I would use something else. I am planning on getting HDTV cable and purchasing the HD-PVR at some point.
Note-
Encoding using h264 or Xvid requires much to much cpu horsepower and PVRX2 becomes much slower during encoding to those formats using my pvr rig which is a dual core with 2 gigs ram. once comskip kicked in you can firget about doing anything in pvrx2 until comskip finishes.
The FMP$ encoding is much less cpu intensive and on my dual core rig I see about 60 - 70fps encoding using mencoder. I am also able to encode 2 files at the same time with only a 10%fps loss and no sluggish in PVRX2.
On any given day my pvr is recording 2 shows at once while encoding 2 shows at once while I am watching a recorded show lol. Also I am able to download and load a huge tvguide.xml without problems.
So I want you to judge for yourself my findings so that you can determine if FMP4 encoding will be worth it to you if you are currently encoding to xvid or h264.
Please keep in mind that the encoding settings are only for standard tv and if you wanted to convert a DVD I would only recommend that you use the Xvid or H264 methods to obtain the highest quality video.
But if you don't care about an exact copy of your recordings and want to have the fastest encoding than you might want to try out FMP4...
Here are the Video examples...
52,613k
http://www.4shared.com/file/102625718/dd...sults.html
You can use Video Lan player to view the videos without having FMP$ installed on your computer.
http://www.videolan.org/vlc/
If you want to view the videos in PVRX2 then you need to install FFDshow,
http://www.afterdawn.com/software/video_..._20081219_
WARNING #1 - The video will freeze PVRX2 sometimes using Windows XP SP2 and the only cure is to have SP3 installed and there is no work around. Installing SP3 and you will have no further issues.
WARNING #2 - FFDshow should be configured in your config.exe settings for PVRX2 and you must select the checkbox to use FFDshow always.
When playing the file in PVRX2 you may only see a black picture. You will need to configure PVRX2 to be in window mode so that you can view the FFDshow popup window and select always use FFDshow and stop bugging me option and then the files will always play. After that you can go back to the config.exe and select full screen exclusive again. I use Nvidia's MPEG decoders for best picture quality in PVRX2 however you can any decoder you have installed..
Use this version of Mencoder for the fastest encoding.
http://sourceforge.net/project/showfiles..._id=678601
Direct
http://sourceforge.net/project/downloadi...a=20200751
H264 encoding script used - (Post number Two) posted by sgilani
http://forums.nextpvr.com/showthread.php?t=40978
Xvid 2 pass script - (Post number 35) posted by BTJustice
http://forums.nextpvr.com/showthread.php?t=41060
If you took the time to view the Video examples please vote in the poll!
Have fun watching TV
Example
Late night with Jay Leno
Original Mpeg - 2,355 megs
using FMP4@448x336 - 578 megs
:thumbs up!:
If you are recording tv with a snowing picture you can forget about using this to convert as the files will be much bigger...
chit in chit out
First I would like to say that I am shocked that not a single person has replied to my request for some 2 pass mencoder command line help after 59 views
http://forums.nextpvr.com/showthread.php?t=41968
I suspect either people don't know much about FMP4 and Mencoder or people are much to busy to reply.
So I have decided to get more people hooked on the codec that I have been using for more than a year now.
To get you interested I have uploaded Video Samples of my compression tests using some of the popular formats that are being used by members of the board.
Many posts have hinted that it is better to buy larger hard drives rather than compress your video files... Well I have a few Huge hard drives and they get filled up rather quickly especially if you record the movie channels 24/7 so that you can watch whatever you want whenever you want. The problem is that Mpeg recorded files are huge and take up to much space for a single 2 hour movie. For me the file size for a typical movie is around 4 gigs using PVRX2's Medium encoding settings for my hauppage 500 card.
I had been searching a year ago for the ultimate conversion utility, script or auto program and man let me tell you that nothing compares to the FMP4 codec for sheer speed and thankfully it has an above average picture quality.
FMP4 is a Video format by FFmpeg and a description can be found at this wiki
After trying numerous frontends for FFmpeg.exe and Mencoder.exe and trying to read and learn about the command line scripts they used for various profiles. One conversion program used an FMP4 script that I stumbled upon and fell in love with the speed and was quite happy with the results. I then started experimenting with changing the values to the line to see what the heck it does. (I know nothing about video codes just a hobby)
So this is my current compression script that I auto convert all recording to.
Code:
mencoder.exe %1 -ovc lavc -oac mp3lame -lavcopts vcodec=mpeg4:vqscale=3:vqmin=2:vqmax=31:keyint=250:me_range=1000 -lameopts preset=standard -o "%~dp1%~n1.avi"
If you want to deinterlace the picture simply add
-vf pp=md
To rescale the video add:
-vf scale=624:352
To deinterlace and scale:
-vf pp=md,624:352
Now my findings....
Test rig Q6600 quad core XP 3 gigs ram
I recorded a 30 second commercial using Variable bitrate 3500 - 7200 @ 720x480
Filename-----------------------Resolution-------FPS_EST_Enc--------time2encode--------------Filesize----
seaworld.mpg-------------------720x480----------029.99fps-----------0:30.00s----------------16,625k
seaworld_xvid_720x480.avi------720X480----------023.82fps-----------0:24.12s----------------06,774k
seaworld_h264_720x480.avi-----720X480----------016.99fps-----------1:10.40s----------------07,471k
seaworld_fmp4_720x480.avi-----720X480----------105.00fps-----------0:08.75s----------------10,637k
seaworld_fmp4_624x352.avi-----624X352----------100.00fps-----------0:09.28s----------------07,303k
seaworld_fmp4_448x336.avi-----448X336----------119.00fps-----------0:07.92s----------------05,696k
By not resizing the movie resulted in a much larger file in my test however usually in a 2 hour movie the results were about 2 gigs and it is important to understand that the codec adjusts to the colors and movements in the movie so the file size will rise or lower depending on the content. More black like a talk show results in much smaller files.
Resizing to 624x352 resulted in file sizes similar to H264 and Xvid 2 pass encoding. I decided to even go even smaller to 448x336 and the files are way smaller and I was happy with the picture on my 42inch LCD TV @ 1920x1080 resolution. Its only TV and if I was to convert a DVD I would use something else. I am planning on getting HDTV cable and purchasing the HD-PVR at some point.
Note-
Encoding using h264 or Xvid requires much to much cpu horsepower and PVRX2 becomes much slower during encoding to those formats using my pvr rig which is a dual core with 2 gigs ram. once comskip kicked in you can firget about doing anything in pvrx2 until comskip finishes.
The FMP$ encoding is much less cpu intensive and on my dual core rig I see about 60 - 70fps encoding using mencoder. I am also able to encode 2 files at the same time with only a 10%fps loss and no sluggish in PVRX2.
On any given day my pvr is recording 2 shows at once while encoding 2 shows at once while I am watching a recorded show lol. Also I am able to download and load a huge tvguide.xml without problems.
So I want you to judge for yourself my findings so that you can determine if FMP4 encoding will be worth it to you if you are currently encoding to xvid or h264.
Please keep in mind that the encoding settings are only for standard tv and if you wanted to convert a DVD I would only recommend that you use the Xvid or H264 methods to obtain the highest quality video.
But if you don't care about an exact copy of your recordings and want to have the fastest encoding than you might want to try out FMP4...
Here are the Video examples...
52,613k
http://www.4shared.com/file/102625718/dd...sults.html
You can use Video Lan player to view the videos without having FMP$ installed on your computer.
http://www.videolan.org/vlc/
If you want to view the videos in PVRX2 then you need to install FFDshow,
http://www.afterdawn.com/software/video_..._20081219_
WARNING #1 - The video will freeze PVRX2 sometimes using Windows XP SP2 and the only cure is to have SP3 installed and there is no work around. Installing SP3 and you will have no further issues.
WARNING #2 - FFDshow should be configured in your config.exe settings for PVRX2 and you must select the checkbox to use FFDshow always.
When playing the file in PVRX2 you may only see a black picture. You will need to configure PVRX2 to be in window mode so that you can view the FFDshow popup window and select always use FFDshow and stop bugging me option and then the files will always play. After that you can go back to the config.exe and select full screen exclusive again. I use Nvidia's MPEG decoders for best picture quality in PVRX2 however you can any decoder you have installed..
Use this version of Mencoder for the fastest encoding.
http://sourceforge.net/project/showfiles..._id=678601
Direct
http://sourceforge.net/project/downloadi...a=20200751
H264 encoding script used - (Post number Two) posted by sgilani
http://forums.nextpvr.com/showthread.php?t=40978
Xvid 2 pass script - (Post number 35) posted by BTJustice
http://forums.nextpvr.com/showthread.php?t=41060
If you took the time to view the Video examples please vote in the poll!
Have fun watching TV
Example
Late night with Jay Leno
Original Mpeg - 2,355 megs
using FMP4@448x336 - 578 megs
:thumbs up!:
If you are recording tv with a snowing picture you can forget about using this to convert as the files will be much bigger...
chit in chit out
[SIGPIC][/SIGPIC]