SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #101  
Old 07-20-2004, 09:25 AM
edbmdave edbmdave is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Dallas
Posts: 365
Virtual Dub would be AWESOME. We could then use either / both DIVX and XVID based on personal preferences....


Reply With Quote
  #102  
Old 07-20-2004, 12:01 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
If someone came up with a skeleton for a vdub script with the data we currently have access to...I could enable a flag in the props file that would create these scripts and use vdub for the compression instead of ffmpeg.

That shouldn't be too hard to do, the hardest part, like mlbdude said, would be to come up with the scripts in the first place.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess
Reply With Quote
  #103  
Old 07-20-2004, 01:16 PM
Ryokurin's Avatar
Ryokurin Ryokurin is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 455
Send a message via ICQ to Ryokurin Send a message via AIM to Ryokurin Send a message via Yahoo to Ryokurin
Quote:
Originally posted by mlbdude
Has anyone encoded a movie or something 2 hours or longer? I loose audio after about 10 seconds when I encode my 3.2 per/hr movies. I want to know if it is just me or not .
Confirmed. The file I had was a 4.1 gig file. Dropped out after 10 seconds. For those wondering the size otherwise however, it was a 1.6 gig file.
Reply With Quote
  #104  
Old 07-20-2004, 01:29 PM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
This audio issue can't be common to ffmpeg, without going un-noticed. Did all the people who get the audio error get their ffmpeg.exe build from the same source(place not code). I just wondering if it's an error in the compiled exe being used. I remember the file size numbers correctly it seems like going over 2GB causes audio issues, and if true 2GB can't be a coincidence. I've seen errors like that pop up in other ealry ports of Linux based apps.
I can't believe we don't have at least one Doom9/MP4 "expert" in our SageTV community.(This was not meant, in any way, to put down the great work done so far. Thanks guys.)

/justme

Last edited by justme; 07-20-2004 at 01:40 PM.
Reply With Quote
  #105  
Old 07-20-2004, 01:59 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
I have tried two builds each a different version myself. I would agree it should have been something noticed though. I would like to see if someone can get a version of ffmpeg put together that supports MP3 audio instead of MP2. That might help.
Reply With Quote
  #106  
Old 07-20-2004, 02:27 PM
edbmdave edbmdave is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Dallas
Posts: 365
Actually I had the same thought. Given that they (FFMPEG) are using the LAME encoder and I have been using it successfully for years. I would think that a good test as well. (I wish I new enough to compile this stuff... or even had a compiler to try...)
Reply With Quote
  #107  
Old 07-20-2004, 02:34 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
In case anyone is interested, here is a feature comparison between the different MPEG4 variants. Surprisingly ffmpeg holds up well. If only we could figure out how to use it better

http://www.mplayerhq.hu/%7Emichael/codec-features.html
Reply With Quote
  #108  
Old 07-20-2004, 02:35 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
You can make your own compiler for ffmpeg.....you have to download MSYS and install it. Then within there you can do it, it's pretty much like a linux shell. I would recommend copying the source into the msys directory for each directory access. Then you just "./configure" and then "make"...and the executable is made. The instructions are on the ffmpeg site.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess
Reply With Quote
  #109  
Old 07-20-2004, 04:15 PM
edbmdave edbmdave is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Dallas
Posts: 365
I won't be able to give this a try until tomorrow (travelling today) but will try tomorrow...
Reply With Quote
  #110  
Old 07-20-2004, 06:14 PM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Hey All, I am trying to add the lines in the properties.xml file to lower the priority ffmpeg. I added the lines:

<Starting_Program>
<Value>cmd.exe/c start /wait /low</Value>
<Enabled>True</Enabled>
</Starting_Program>
</properties>

I am using Open XML editor and when I go to save it gives me this error:
[Fatal Error] properties.xml[5:3-12]: End-tag without Start-Tag

-I assume this has to to with the last </properties> entry but I don't know why. Any help?
thanks
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
Reply With Quote
  #111  
Old 07-20-2004, 07:45 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
I only gave </properties> in the example to show that it needs to be above </properties> for those who do not understand xml that well.

This is the actual data you want to add only:

<Starting_Program>
<Value>cmd.exe/c start /wait /low</Value>
<Enabled>True</Enabled>
</Starting_Program>

Sorry for the confusion....in my properties xml, all the elements are sub elements of the big element <properties></properties>. So everything to add to the xml file needs to be between these tags.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess
Reply With Quote
  #112  
Old 07-20-2004, 08:50 PM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Thanks, I was just putting it above the <properties> rather than between them
saves fine now.
__________________
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
Reply With Quote
  #113  
Old 07-21-2004, 04:33 AM
gbutters gbutters is offline
Sage User
 
Join Date: Jun 2004
Posts: 8
Quote:
Originally posted by Alex0230
I only gave </properties> in the example to show that it needs to be above </properties> for those who do not understand xml that well.

This is the actual data you want to add only:

<Starting_Program>
<Value>cmd.exe/c start /wait /low</Value>
<Enabled>True</Enabled>
</Starting_Program>

Sorry for the confusion....in my properties xml, all the elements are sub elements of the big element <properties></properties>. So everything to add to the xml file needs to be between these tags.
You need to add /min for it to start hidden. Like this

<Starting_Program>
<Value>cmd.exe /c start /wait /low /min</Value>
<Enabled>True</Enabled>
</Starting_Program>
Reply With Quote
  #114  
Old 07-21-2004, 11:18 AM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
going back to a post by Mlbdude and some random thoughts...

Anyone built a ffmpeg.exe with MP3/lame support yet? I'm also curious to see if mp3 audio would have the drop out issue on large files like the mp2 appears. I don't have the skills(or even access ATM) to build a exe from source. But here's a quick quote from the ffmpeg doc site.
Quote:
Also the audio stream is MP3 encoded so you need LAME support which is enabled using --enable-mp3lame when configuring. The mapping is particularly useful for DVD transcoding to get the desired audio language.
If building a ffmpeg.exe with mp3/lame support is an issue... What if we just processed the original mpg's audio stream with lame and then muxed in the video from ffmpeg(having ffmpeg process the stream video only).? I realize this is not as neat, so native mp3 encoding in ffmpeg would be best.

Also has anyone tried using the copy* stream command(for audio) on one of the files that's had audio droput issues. I believe that this would supposedly just copy the mp2 audio stream untouched. I haven't had a chance to actually try the Sage STv compressor, so I don't know exactly which params you're doing, if any to the audio. I'm just going by some of the docs I've read online. I'm no expert at this so sorry if any of these ideas are pointless or stupid.

* -acodec copy
Reply With Quote
  #115  
Old 07-21-2004, 01:44 PM
davey_fl davey_fl is offline
Sage Aficionado
 
Join Date: Dec 2003
Posts: 418
also guys will this work if you install it with the sage client - or is it the sage server only?
Reply With Quote
  #116  
Old 07-21-2004, 01:59 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
Quote:
Originally posted by davey_fl
also guys will this work if you install it with the sage client - or is it the sage server only?
I only run it with on my client machine with the client dumping out the XML jobs.
Reply With Quote
  #117  
Old 07-21-2004, 06:41 PM
Alex0230 Alex0230 is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: AZ
Posts: 203
http://geocities.com/avimedic/

Here's something that says it can "fix" avi files. One of the fixes is missing audio...someone want to give it a go?
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70
250 GB 7200 RPM HD = $160
512 MB Kingston DDR 333 = $80
Hauppage 350 Bundle = $220
SageTv = PriceLess
Reply With Quote
  #118  
Old 07-21-2004, 08:37 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Ok,
Here is a virtualDub script I worked up. Now I'm no virtualDub expert, but I did find a nice little VBscript that will create this run file for you if you have a vcf file to control what you want virtualdub to do.

I used the mpeg2-virtualdub from here:
http://fcchandler.home.comcast.net/

After installing this virtualDub I ran the attached script in a cmd window like:
VirtualDub.exe /svirtualdub.jobs /x

This will run virtualdub execute the file, then exit.

It worked on my test clip. I don't claim that I used the best encoding methods, I just put something in there to see if it would work. I used DivX5.2, slow and audio mp3 at some bit rate.

I figure if this works, then we can worry about what parameters to run in order to get the "best" encoding.

I hope this makes sense to someone.
Reply With Quote
  #119  
Old 07-21-2004, 08:49 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Hmm lost my attached file.

Here goes again.

rename it to .jobs and remove the .txt had to change it to get it to upload.
Attached Files
File Type: txt virtualdubdotjobs.txt (2.2 KB, 212 views)
Reply With Quote
  #120  
Old 07-22-2004, 12:11 AM
davey_fl davey_fl is offline
Sage Aficionado
 
Join Date: Dec 2003
Posts: 418
man it would be fantastic to get virtualdubmpeg2 working, that's currently what I use to convert.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.