Not logged in. · Lost password · Register
Forum: Prerelease discussion RSS
mythtv player with "newer" ffmpeg working
arobro #1
User title: arobro
Member since Jun 2009 · 7 posts · Location: nz
Group memberships: Members
Show profile · Link to this post
Subject: mythtv player with "newer" ffmpeg working
I have successfully compiled mythtv player with a "newer" version off ffmpeg
so i though I would share it here
http://cid-c96ead1f17b37c22.skydrive.live.com/self.aspx/my…

to compile:
1.download ffmpeg-SVN-r1046 (nov 07) http://ffmpeg.arrozcru.org/builds/source/ffmpeg-SVN-r10461…

2.compile ffmpeg using mingw

(install Mingw using the Automated Installer.(when running the installer click on the "previous realease")
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Comp…
to C:/compile/mingw.) Then install msys as well.

to compile ffmpeg paste this into msys
"./configure --prefix=/usr/local --extra-cflags="-mno-cygwin -mms-bitfields" --extra-ldflags="-Wl,-add-stdcall-alias"
 --enable-memalign-hack --enable-shared --disable-static --enable-gpl"

after that is done type "make"

3.download mythtvplayer 0.5.0 source from http://mythtvplayer.svn.sourceforge.net/viewvc/mythtvplaye…

4.extract to C:/compile/mythtv player

5.download and install wxDev-C++ from http://wxdsgn.sourceforge.net/

6.download  the libraries http://www.sudu.dk/mythtvplayer/files/verytmp/libs_2007060…
  and copy them to the libs folder in in C:/compile/mythtv player

7.search for and copy the libavcodec.dll.a,libavformat.dll.a and libavutil.dll.a from C:\compile\ffmpeg
into C:\compile\mythtvplayer0.5.0b\libs\lib

8.Copy pthreadGC2.dll and SDL.dll files from your installed version of the player to the "release" folder in C:/compile/mythtv player

9.Opened project libspark\Spark.dev . Compile it (Ctrl+F9)

10.Opened project dev-cpp\MythTV Player.dev. Compile it (Ctrl+F9)

11.Hope it all works


If your to lazy to do all of that you can download a compiled build with source code and my updated libs at
http://cid-c96ead1f17b37c22.skydrive.live.com/self.aspx/my…

note: this is not a new version, it's just 0.5.0 with a "newer" ffmpeg
i have also changed the default settings to accept mythtv protocol 40
and set the default aspect to widescreen. To signify these changes I have added
a "b" to the end of the version.

Im still trying to get the lastest ffmpeg version to work but i post it when I do.
mdrons #2
Member since Feb 2009 · 20 posts
Group memberships: Members
Show profile · Link to this post
OK, I have it working.  Thank you.  My windows programing is very limited, but I am hoping you can point me to the correct direction.  I want to change line "cmd.add(filename);" in MythStream.cpp so that it is just the pureFilename.  Something like this:  cmd.add(pureFilename); 

The pureFilename variable is not available in MythStream.cpp, and I can not seem to follow where to define it.

Thanks for any help, Mike
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Page created in 490.5 ms (164.5 ms) · 36 database queries in 163 ms
Current time: 2010-08-01, 01:06:15 (UTC +01:00)