![]() |
|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#81
|
|||
|
|||
Quote:
`-pass n' select the pass number (1 or 2). It is useful to do two pass encoding. The statistics of the video are recorded in the first pass and the video at the exact requested bit rate is generated in the second pass. `-passlogfile file' select two pass log file name to file. |
#82
|
||||
|
||||
how would that get enterred in the ffmpeg properties.XML file (if that's where its going)?
JUC
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv Client: MVP Extender running SageMC |
#83
|
||||
|
||||
Here is what I get when I do that....
G:\ffmpeggui02c>ffmpeg -i w:\Sagetv\AquaTeenHungerforceTheShaving-2016573-0.mpg -pass 1 -passlogfile pass.log -hq -s 540x360 -deinterlace -y -f avi -vcodec mpeg 4 -b 1000 -g 300 -bf 2 -acodec mp2 -ab 128 test.avi Input #0, mpeg, from 'w:\Sagetv\AquaTeenHungerforceTheShaving-2016573-0.mpg': Duration: 00:17:59.0, bitrate: 7096 kb/s Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps, 8000 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s Output #0, avi, to 'test.avi': Stream #0.0: Video: mpeg4 (hq), 540x360, 29.97 fps, q=2-31, pass 1, 1000 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 frame=32351 q=5.0 size= 149137kB time=1079.2 bitrate=1132.1kbits/s G:\ffmpeggui02c>ffmpeg -i w:\Sagetv\AquaTeenHungerforceTheShaving-2016573-0.mpg -pass 2 -passlogfile pass.log -hq -s 540x360 -deinterlace -y -f avi -vcodec mpeg 4 -b 1000 -g 300 -bf 2 -acodec mp2 -ab 128 test.avi Input #0, mpeg, from 'w:\Sagetv\AquaTeenHungerforceTheShaving-2016573-0.mpg': Duration: 00:17:59.0, bitrate: 7096 kb/s Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps, 8000 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s Output #0, avi, to 'test.avi': Stream #0.0: Video: mpeg4 (hq), 540x360, 29.97 fps, q=2-31, pass 2, 1000 kb/s Stream #0.1: Audio: mp2, 48000 Hz, stereo, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 statistics are damaged at line 32349, parser out=0 Error while opening codec for stream #0.0 - maybe incorrect parameters such as b it_rate, rate, width or height |
#84
|
|||
|
|||
Quote:
I can confirm. About 7 seconds in 120 minute movie, audio was lost. ![]() ![]() |
#85
|
|||
|
|||
Quote:
Alex0230: There is a new version of FFMPEG out there 049, I don't know if you compiled the one you distributed on your own or not. If so Can you compile the 049 version and make available? It may solve the blockiness of cartoons. Since this is all testing anyway.... |
#86
|
||||
|
||||
Quote:
|
#87
|
|||
|
|||
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess |
#88
|
||||
|
||||
Quote:
|
#89
|
|||
|
|||
Last time I don't check a link before posting it...lol... : ) I sent a binary copy of the file to mlbdude for him to post because it to too large to post on the forums.
WARNING!!! I got a lot of variable unitialized warnings compiling this, plus remember this is in an alpha release of ffmpeg. I haven't even tried it to see if it converts...I just know the program "works" when running it.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess |
#90
|
||||
|
||||
I am testing it now. If it works I will update all the packages tomorrow. Keep your fingers crossed
![]() |
#91
|
||||
|
||||
im recording something now that will be a 2hr movie if it creates the xml file at the end like I think it will it should be around a 4gig file. at least thats what I hope. I dont know if I have everything setup correctly yet.
|
#92
|
||||
|
||||
Quote:
|
#93
|
||||
|
||||
I thought Virtual Job could be run from the command line. There is a mpeg2 version of it available. Would this work instead?
http://fcchandler.home.comcast.net/stable/ Not sure if this will work, but thought I'd mention it. |
#94
|
|||
|
|||
Quote:
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess |
#95
|
|||
|
|||
Quote:
![]() If you're going to try this, change the "EXE_COMMAND" in the properties.xml and also enable it. All the following values come from the recording's xml and most can be set to override the recordigns xml in the properties.xml by setting a value and "enabling" the property: @INPUT -- refers to the input file name @AUDIO_RATE -- refers to the audio rate (128/192/etc) @VIDEO_RATE -- refers to the video rate (1700/700/etc) @OUTPUT_FORMAT -- refers to what format you'd like to compress to, it also dictates the output extension (avi/rm/etc) @OUTPUT -- refers to the output file (this is generated by the program) @VCODEC -- refers to the video codec to use (mpeg4/etc) @ACODEC -- refers to the audio codec to use (mp2/etc) @QUALITY -- refers to the quality flag (-hq/etc) @SIZE -- refers to the flag + size (640x480/etc) == "-s 640x480" For quality and size, if they are left blank, there are no defaults so they will not be included as part of the command line. If there is a size given, the default flag in the program is "-s"...this can be overwritten in the properties.xml. These '@' values allows you to specify your own command line in the program and rearrange the position of the parameters that come in. I won't be able to try out Virtual Job for another 12 hours or so, but I thought I'd pass on the info on how to try it out.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess |
#96
|
||||
|
||||
Virtual Dub from what I know does not support command line operation. However, I think it does support some kind of scripting language. If someone can write us some of those scripts that we can use that would be great. It needs to run completely silent and the scripts need to be runnable from the command line.
|
#97
|
||||
|
||||
There is a post on their forum about Command Line Options HERE . Hopefully this link works. Just search for "command AND line AND options" and select ALL DATES.
__________________
Happy Sage customer since 2003 Proud owner of a HD200 connected to a 47" LCD. Loving Sage 7 and Phoenix ![]() |
#98
|
||||
|
||||
Quote:
http://virtualdub.everwicked.com/ind...=5&t=6114&hl=& http://virtualdub.everwicked.com/ind...l=script+file& http://dubman.sourceforge.net/ and maybe... http://virtualdub.everwicked.com/ind...hl=scriptfile& -Jason |
#99
|
||||
|
||||
Virtualdub is a very good program. I would suggest doing the encoding with Virtualdub.
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#100
|
||||
|
||||
Well if someone can come up with some Virtual Dub scripts that work and that Alex can manipulate dynamically then we might be able to get him to redo his program.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|