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
  #241  
Old 09-02-2004, 05:55 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
I'll try it with -t 300 and see if I can get it to drop out. I have however, compressed 30 minute clips with no dropouts.
__________________
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
  #242  
Old 09-02-2004, 06:22 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Hey Bubster, BTW thanks for helping me through this. Anyway, I got the 5 minute clip to work fine. So, something is happening later down the compression. I know I won't be able to upload it but should I try compressing an hour clip from the same recording?
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
  #243  
Old 09-03-2004, 05:19 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
bump
__________________
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
  #244  
Old 09-07-2004, 05:28 PM
Bubster's Avatar
Bubster Bubster is offline
Sage Advanced User
 
Join Date: Feb 2004
Location: Glasgow, UK
Posts: 114
Quote:
Originally posted by JUC
Hey Bubster, BTW thanks for helping me through this. Anyway, I got the 5 minute clip to work fine. So, something is happening later down the compression. I know I won't be able to upload it but should I try compressing an hour clip from the same recording?
JUC
Hi, sorry, wasn't paying attention for the last week or so.

I'm a bit out of ideas on this. How long (roughly) does the recording have to get before the sound starts dropping out near the start? You'll probably have to try a few experiments to figure that out, if you've got some time (and lots of patience).

I'm now at the stage where a question to the ffmpeg mailing list is probably required. Any info you can provide about the above would be very useful. They're quite "terse" on the ffmpeg list, so I might not get very far without plenty of info to give them.

- Neil.
Reply With Quote
  #245  
Old 09-08-2004, 05:04 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
alright, ill do some 'test' compressions tonight and see where I get. I tried another 2 hour file and the same thing happened--sound dropped out after 5 or 6 sec. and it only showed up as 1 hour 11 minutes. I also tried a 30 minute clip and the audio worked fine for the whole thing, but it was only showing up as 27 minutes and 33 sec.---kind of weird. I am using the default settings for compression. I will try an hour show and see where that gets me to give you some more info. Let me know what else you may need. 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
  #246  
Old 09-08-2004, 05:24 AM
Bubster's Avatar
Bubster Bubster is offline
Sage Advanced User
 
Join Date: Feb 2004
Location: Glasgow, UK
Posts: 114
Quote:
Originally posted by JUC
alright, ill do some 'test' compressions tonight and see where I get. I tried another 2 hour file and the same thing happened--sound dropped out after 5 or 6 sec. and it only showed up as 1 hour 11 minutes. I also tried a 30 minute clip and the audio worked fine for the whole thing, but it was only showing up as 27 minutes and 33 sec.---kind of weird. I am using the default settings for compression. I will try an hour show and see where that gets me to give you some more info. Let me know what else you may need. Thanks
JUC
Just to check, when you talk about a 30 min clip, you do mean a 2 hour source video compressed with the "-t" flag to restrict output to 30 mins, is that right?

- Neil.
Reply With Quote
  #247  
Old 09-09-2004, 06:25 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
actually, I just meant a 30 minute source file being compressed without the "-t" flag. I was just trying this to see if it worked--and it did, because the 2 hour file without the "-t" flag didn't. I will try a 2 hour file and keep trying different "-t" values so I can pinpoint for you where the sound is dropping out. This may help.
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
  #248  
Old 09-10-2004, 08:38 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
alright, I did some testing with a 2 hour source file. Using the -t values set to compress the first 30 minutes, 60 minutes, 90 minutes this is what i found. The 30 minute clip worked fine. The 60 minute clip worked fine. The 90 minute clip did NOT and resulted in the same 1:11 minute file as the 2 hour show (and the audio drops out completely after 5-6 sec.. So, something is happening between 1 hour and 2 hours in my compression. Let me know what else you may need. 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
  #249  
Old 09-10-2004, 09:01 AM
Bubster's Avatar
Bubster Bubster is offline
Sage Advanced User
 
Join Date: Feb 2004
Location: Glasgow, UK
Posts: 114
So, as well as losing sound after 5-6 secs, the total time of the video is coming out at 1:11 (as in 1 minute, 11 secs), is that right?

Does that always happen to you, or have you ever had the audio dropout, but a reasonable sized video length (not exactly the same as the source, but close)?

- Neil.
Reply With Quote
  #250  
Old 09-10-2004, 09:48 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Neil, sorry I wan't clearer, the video is coming out at 1 hour 11 minutes. Everytime I had the audio drop out (which so far is only for shows over 1 hour) the time stamp indicates 1 hour 11 minutes. This is for both 1 hour and 30 minute clips as well as 2 hour clips (this is all from a 2 hour show compressed using different -t values to control how much is compressed). Hope this helps
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
  #251  
Old 09-19-2004, 10:18 PM
jsturtevant jsturtevant is offline
Sage User
 
Join Date: Aug 2004
Posts: 37
where can i get 0.4.9 pre for Windows?

I've downloaded the 0.4.8, but it doesn't support the commandline in this thread. I assume 0.4.9 does... searched and could not find.

any help would be appreciated...
thx
Reply With Quote
  #252  
Old 09-22-2004, 08:35 AM
cupra's Avatar
cupra cupra is offline
New Member
 
Join Date: Sep 2004
Location: Austria
Posts: 3
Just played around with some large compressed AVIs and figured out that I can play them in Media Player Classic without the audio dropouts. So it's not directly ffmpegs problem.

What I could figure out is that the AVI Splitter built into Windows (in the quartz.dll that comes with DirectX) can't handle our recorded, recompressed AVIs properly, leading to audio stopping after a couple of seconds.

But if we choose to install a different AVI Splitter, like the one from here, everything should sound smooth.

Here is a quick link to the file : click
Unzip it and copy the AVISplitter.ax from the Release folder to your \WinNT\System32 folder and run regsvr32 \WinNT\System32\AVISplitter.ax from a command prompt.
The new AVI Splitter by default has a merit of 0x00600001, the builtin one has 0x00600000, so our newly installed splitter should be used by any DirectShow application you have installed - SageTV, Meedio, Windows Media Player, whatever.

I haven't experienced any problems by using the new AVI Splitter so far, so enjoy.
Reply With Quote
  #253  
Old 09-22-2004, 01:21 PM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
THANK YOU! I am going to try this right now and compress a file longer than an hour and see what happens.
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
  #254  
Old 09-22-2004, 01:31 PM
Bubster's Avatar
Bubster Bubster is offline
Sage Advanced User
 
Join Date: Feb 2004
Location: Glasgow, UK
Posts: 114
Yes, it sounds pretty promising.

Sorry JUC, I haven't had any spare time to look at this stuff for the last few weeks, so I hope Cupra's suggestion works for you (and anyone else who was having this problem).

- Neil.
Reply With Quote
  #255  
Old 09-22-2004, 06:41 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
I just compressed my first show with the ffmpeg files supplied here, and noticed that on the resulting file I had some major blocking in the video. I checked the original file, and no blocking was present. Has anybody else seen this behavior?

The machine I'm using to compress is a 3ghz P4, 1gb Ram, 120gb SATA HD (although the files being compressed are on network drives, the original & the compressed one).

Now if comskip worked with the compressed files, I'd be set .
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #256  
Old 09-24-2004, 05:16 AM
ugh ugh is offline
Sage User
 
Join Date: Sep 2004
Location: CT
Posts: 58
Cant DL mpeg pickup

Can someone point me to where I can download ffmepeg pickup/compressor. The links in post #183 and 156 are dead.

I'd love to try this. You guys have done some awesome work here!
Thanks!
Reply With Quote
  #257  
Old 09-24-2004, 05:38 AM
Bubster's Avatar
Bubster Bubster is offline
Sage Advanced User
 
Join Date: Feb 2004
Location: Glasgow, UK
Posts: 114
Quote:
Originally Posted by ugh
Can someone point me to where I can download ffmepeg pickup/compressor. The links in post #183 and 156 are dead.

I'd love to try this. You guys have done some awesome work here!
Thanks!
Those links should work again now. The stuff from post #183 is the easiest to get and set up (probably).

- Neil.
Reply With Quote
  #258  
Old 09-24-2004, 07:38 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Cupra's suggestion worked great. I can finally compress a hour hour recording and get sound throughout!!!
thanks
JUC
Reply With Quote
  #259  
Old 09-29-2004, 10:09 AM
insomniac's Avatar
insomniac insomniac is offline
Sage Icon
 
Join Date: May 2003
Location: Concord, Ca.
Posts: 1,104
I just started testing compression but am havign issues. I followed the great instructions in post #183 w/o problems (all paths are correct, etc)

I believe my problem is that im using UNC pathnames, and that I am trying compression from my client. output of my ffmpegpickup.log is below:
[Listing of .xml to be processed]
.\Jobs\TheRealWorldPhiladelphia-6491197-0.mpg.xml

================================================================
STARTED: 2004-09-29 09:02:13
[Input Directory]
sage\\sage3
[Input Filename]
TheRealWorldPhiladelphia-6491197-0.mpg
[Output Directory]
F:\Video-Library\The Real World
[Output Filename]
TheRealWorldPhiladelphia-6491197-0.avi

[Video Rate]
1800kbs
[Video Codec]
mpeg4
[Audio Rate]
192kbps
[Audio Codec]
mp3

[Error]
The input file could not be found:
sage\sage3\TheRealWorldPhiladelphia-6491197-0.mpg
The pickup file will remain, please correct!

[Error]
The conversion process appears to not have completed successfully...please verify!
[Error]
The movie file was not actually created like anticipated, it will be attempted next time around.
COMPLETED: 2004-09-29 09:02:14


"sage\sage3" is my server name and 1 of 3 UNC shared video directories.

Im think that this log should reflect the correct UNC path "\\sage\sage3" , but am not sure where to make this correction.

Help!?

EDIT:

commandline works just fine by unc. I just cannot get edit the property file correctly to get it to pass "\\" in front of the file name to get it to work...sigh

ideas?
__________________
If you're not cheating, your not trying...

My sage rigs:
Server - Windows 2003, Intel 865 PERLL w/ P4 3.2g 1gb ram, 3-PVR250, 3-PVRUSB's, 1 Skystar2, 1 twinhan 102g, 1 starbox DVB-S Cards. Evo network QAM encoder. 1.2TB storage 6.x server + MTSAGE for DVB
Client 1/Master BR - MediaMVP running a 30" Olevia LCD TV.
Client 2/Front Room - Shuttle ST61G4 XPC 1gig ram, 60gb HD, BTC9019 wireless keyboard/mouse & Harmony 880. 6.x client. GF6600GT driving a Sony WEGA 55" rear projection tv.

Last edited by insomniac; 09-29-2004 at 04:20 PM.
Reply With Quote
  #260  
Old 09-29-2004, 10:29 PM
insomniac's Avatar
insomniac insomniac is offline
Sage Icon
 
Join Date: May 2003
Location: Concord, Ca.
Posts: 1,104
well.....

From the lack of response, I guess there is not UNC fix for this, so I decided to make my own (or at least start a proof of concept).

Below is a batch file that basically parses the xml in the dump directory and calls ffmpeg to compress the files individually. You may use drive letter or UNC...

Before you comment. Yes I know its crude. I did not care to variablize anything yet. Its probably better that way for now.

so far, because i have yet to use ffmpeg more than about 5 minutes, (and dont even know the command line parameters yet), I did not create a cleanup process to remove the xml files in the dump dir, or delete the original .mpg. Doesnt FFMPEG do these already by passing an option?

anyway..crude proof of concept to follow:


DEL c:\output.txt
DEL c:\newout.txt
DEL c:\testout.txt
DEL c:\clean.txt
DEL c:\finalout.txt
SET CONVERTMEDIR=C:\Program Files\Frey Technologies\SageTV\compressor\Jobs
SET OUTPUTDIR=\\sage\E\video-library


dir /B "c:\Program Files\Frey Technologies\SageTV\compressor\jobs" >> c:\output.txt
FOR /F "tokens=1,2,3 delims=." %%a IN (c:\output.txt) DO echo %%a >> c:\newout.txt
FOR /F %%a IN (c:\newout.txt) Do find /I "%%a" "%CONVERTMEDIR%\%%a.mpg.xml" >> c:\testout.txt
FOR /F "eol=- tokens=17 delims=<" %%a IN (c:\testout.txt) DO echo %%a >> c:\clean.txt
FOR /F "tokens=2 delims=>." %%a IN (c:\clean.txt) Do echo %%a >> c:\finalout.txt

FOR /F "tokens=1,2,3,4 delims=\ " %%a IN (c:\finalout.txt) Do ffmpeg -i \\%%a\%%b\%%c.mpg -hq -deinterlace -y -f avi -vcodec mpeg4 -b 1600 -async 1 -acodec mp3 -ab 192 %OUTPUTDIR%\%%c.avi


end script...

did I miss anything else? It doesnt seem like there are any real hooks which I might be breaking, but just making sure

I.
__________________
If you're not cheating, your not trying...

My sage rigs:
Server - Windows 2003, Intel 865 PERLL w/ P4 3.2g 1gb ram, 3-PVR250, 3-PVRUSB's, 1 Skystar2, 1 twinhan 102g, 1 starbox DVB-S Cards. Evo network QAM encoder. 1.2TB storage 6.x server + MTSAGE for DVB
Client 1/Master BR - MediaMVP running a 30" Olevia LCD TV.
Client 2/Front Room - Shuttle ST61G4 XPC 1gig ram, 60gb HD, BTC9019 wireless keyboard/mouse & Harmony 880. 6.x client. GF6600GT driving a Sony WEGA 55" rear projection tv.
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:45 PM.


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