How if ffmpeg included in XBMC?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Harry Muscle Offline
Fan
Posts: 505
Joined: Nov 2006
Reputation: 0
Post: #1
How is ffmpeg included in XBMC? I know the source files are included in the SVN, but none of them actually get compiled when compiling under Visual C++. Reason I'm asking is because I'm looking for a way in Visual C++ to debug into the ffmepg code.

Thanks,
Harry
(This post was last modified: 2010-10-20 21:17 by Harry Muscle.)
find quote
CrystalP Offline
Team-XBMC Developer
Posts: 822
Joined: Apr 2010
Reputation: 18
Location: The Great North
Post: #2
ffmpeg is built with MingW. Execute the script build_xbmc_win32.sh
A MingW environment is included in the tree under tools/

Unfortunately you can't debug ffmpeg under Visual Studio. The debug info is not compatible. In theory you could use a gdb-based debugger.
It's dark uncharted territory though, and there are probably plenty of dragons.

Usually one of the linux devs will jump in for ffmpeg problems since they have a complete environment there...

Always read the XBMC online-manual, FAQ, Wiki and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #3
I don't know if this is related, or if any changes were made because of this thread...

It looks like ffmpeg and flac were removed from the last few SVNs. It's not compiling with the standard make under linux. It's complaining that ffmpeg and flac were not where they are supposed to be.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
spiff Online
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #4
^^ bollocks.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ralob Offline
Senior Member
Posts: 224
Joined: Jul 2007
Reputation: 2
Post: #5
spiff Wrote:^^ bollocks.

Agreed. Just compiled and everything worked perfectly.
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #6
Yeah, it's wierd, it's only on my main computer. Works fine on virtual hardware and on my netbook. Maybe I should kill it and start again with the SVN. Could have had a problem in the svn up.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote