SageTV Community  

Go Back   SageTV Community > SageTV BETA Release Products > SageTV Beta Test Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-23-2009, 09:30 PM
redondo_se redondo_se is offline
Sage Advanced User
 
Join Date: May 2007
Posts: 191
Anyone know how to compile SageTVPlayer (mplayer) in mingw?

So,

I'd like to get SageTVPlayer working with .mkv embedded subtitles. The current SageTVPlayer was not compiled with fontconfig support. I sent a request to SageTV support to get the mplayer source and was sent these links:

http://download.sage.tv/mplayer.zip
http://download.sage.tv/ffmpeg.zip

So I setup a mingw environment using this:

http://prdownloads.sourceforge.net/m....4.7z?download

It took a little fiddling to get it to compile, but I finally did, with fontconfig support. However, I don't think this source matches the current SageTVPlayer because I have a test mkv that has a DTS audio track and 2 vorbis tracks. With my compiled version I can't switch between the vorbis and DTS tracks on the fly. I can with the SageTVPlayer from the 6.5 betas.

Also, and I think more importantly, I don't see any reference to the stvwin video output driver in the source code. SageTV support claims that the provided links contain all the source I need and that I should look for help in the forums.

When I run SageTVPlayer.exe -vo help I get:

MPlayer dev-SVN-rUNKNOWN-4.2.4 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (Family: 6, Model: 15, Step
ping: 11)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Available video output drivers:
directx Directx DDraw YUV/RGB/BGR renderer
stvwin SageTV Windows
null Null video output
mpegpes MPEG-PES file
yuv4mpeg yuv4mpeg output for mjpegtools
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame

When I compiled, I get:

directx Directx DDraw YUV/RGB/BGR renderer
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
winvidix WIN32 (VIDIX)
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame

I'm still learning a lot about mplayer here. Is the stvwin video output driver just a renamed version of some other driver? I see there is a -wid option for mplayer that you can use to embed it in another window. Is that what they are doing somehow?

I'm able to compile the latest mplayer from source using the same mingw environment and I get on the fly switching of audio and subtitle tracks.

Can anyone help?

Thanks!
Reply With Quote
  #2  
Old 01-24-2009, 02:57 AM
Patilan Patilan is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Lake Forest, Illinois, USA
Posts: 237
Quote:
Originally Posted by redondo_se View Post
So,

I'd like to get SageTVPlayer working with .mkv embedded subtitles. The current SageTVPlayer was not compiled with fontconfig support. I sent a request to SageTV support to get the mplayer source and was sent these links:

http://download.sage.tv/mplayer.zip
http://download.sage.tv/ffmpeg.zip
...
It took a little fiddling to get it to compile, but I finally did, with fontconfig support. However, I don't think this source matches the current SageTVPlayer because...
Of course it doesn't match! This is just their way of getting rid of people who ask.

Don't you notice that the package they gave you is from June 2006?

I personally am very disapointed of their disabling the fontconfig in the latest builds. That totally killed all text-based subtitle formats!

Patilan
Reply With Quote
  #3  
Old 01-26-2009, 12:59 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
I believe they are required to provide the real source (mplayer is GPL) when it's requested.

FSF has a FAQ on the topic - http://www.fsf.org/licensing/license...violation.html
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #4  
Old 01-26-2009, 01:31 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by Patilan View Post
I personally am very disapointed of their disabling the fontconfig in the latest builds. That totally killed all text-based subtitle formats!
From past experience of the SageTV betas, wouldn't that tend to indicate that they are doing some work in this area? In the past they have never stopped adding / changing features, even at the Release Candidate stage.

John
Reply With Quote
  #5  
Old 01-26-2009, 07:48 PM
Patilan Patilan is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Lake Forest, Illinois, USA
Posts: 237
Quote:
Originally Posted by JREkiwi View Post
From past experience of the SageTV betas, wouldn't that tend to indicate that they are doing some work in this area? In the past they have never stopped adding / changing features, even at the Release Candidate stage
I wasn't very clear. I didn't mean the beta builds. The last official sage release was compiled without the fontconfig option.
Reply With Quote
  #6  
Old 01-26-2009, 08:01 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
It sounds like you are assuming that SageTV Player is based off a current build of mplayer. it isn't, and is actually quite old, probably, as someone said from 2006. I'm not a programmer so I can't tell you how extensive the changes that SageTV made to the code, but I figure its extensive as no one has ever to my knowledge attempted to port it over to a newer version, and its highly unlikely that they will do it themselves until mplayer is at a real 1.0 version, no the RCs that its been for the past couple of years. This is at least, if you look at how they usually update ac3 filter. No betas, official releases only.

Its going to take some work to port it, if you can then I'm sure a ton of us will be grateful, but there's probably is a reason why some of the brighter people here haven't attempted it.
Reply With Quote
  #7  
Old 01-26-2009, 08:18 PM
Patilan Patilan is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Lake Forest, Illinois, USA
Posts: 237
Quote:
Originally Posted by Ryokurin View Post
It sounds like you are assuming that SageTV Player is based off a current build of mplayer. it isn't, and is actually quite old, probably, as someone said from 2006.
Not really. Every now and then they announce a synch with the latest ffmpeg and mplayer. Last time they did it (supposedly) was on 11/14/2008:
Quote:
Originally Posted by Narflex View Post
SageTV V6.5.1 Beta 11/14/2008
Core Updates
[...]
26. Merged with latest versions for SageTVTranscoder and SageTVPlayer
... so they shouldn't be giving people some old zip archive dating back to 2006.
Reply With Quote
  #8  
Old 01-27-2009, 11:12 AM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
^^ If that's whats going on its very very bad form.
Reply With Quote
  #9  
Old 01-29-2009, 04:06 PM
redondo_se redondo_se is offline
Sage Advanced User
 
Join Date: May 2007
Posts: 191
I think we already knew this, but I'm now sure this is not the most recent source. I just realized that when you run SageTVPlayer with -msglevel all=9, it dumps out the configure options:

--disable-vidix --target=i586-mingw32 --cc=i386-mingw32-gcc --as=i386-mingw32-as --ar=i386-mingw32-ar --ranlib=i386-mingw32-ranlib --disable-mencoder --disable-gl --disable-direct3d --enable-runtime-cpudetection --enable-static --enable-largefiles --disable-langinfo --disable-tv --disable-dvdread --disable-dvdread-internal --disable-freetype --disable-fontconfig --disable-unrarexec --disable-menu --disable-libdvdcss-internal --disable-debug --disable-liba52 --enable-stv --enable-stream-sagetv --with-extraincdir=/cygdrive/c/home/Administrator/build/stage/include --with-extralibdir=/cygdrive/c/home/Administrator/build/stage/lib --extra-libs=-lmingwex

That --enable-stv I think is a key piece that's missing there. That's gotta be the stv video output option.

When I try to configure the source with that option, I get:

Unknown parameter: --enable-stv
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PlaybackException on gentoo/amd64 dkg SageTV Linux 2 06-16-2008 09:00 PM
Use my own complied mplayer instead of sagetvplayer? Is this possible? TechBill SageTV Software 6 11-14-2007 05:10 AM
Windows Mplayer with Closed Caption support both pop-on and roll-on captions. TechBill SageTV Customizations 0 10-22-2007 03:20 PM
Placeshifter using mplayer? TechBill SageTV Placeshifter 2 10-16-2007 10:57 AM


All times are GMT -6. The time now is 01:32 AM.


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