pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Music transcoding

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
wmcbrine



Joined: 04 Jan 2008
Posts: 1333

PostPosted: Tue Feb 05, 2008 9:30 pm    Post subject: Music transcoding Reply with quote

Here's something I've been thinking about for a while... but new contributor David Rein went ahead and did it: Transcoding of audio files for the music plugin. It's checked into my repository now.

This uses the same ffmpeg as the video plugin. However, you may need to change yours -- for Windows, the one that's currently bundled with pyTivo segfaults immediately when you tell it to output an mp3. Instead, I've been using one from here:

http://arrozcru.no-ip.org/ffmpeg_builds/

I'm using the latest, ffmpeg-r11213-gpl-shared-win32.tar.bz2 . I do want to replace the one in pyTivo, but then again I'm looking at taking it out altogether... but that's for another thread.

For Linux, I suggest building your own from the SVN source; configure with at least "--enable-libmp3lame". You'll probably want "--enable-libfaac" and "--enable-gpl", too.

I haven't looked into the Mac situation yet.

So what does this mean? You can play any audio file that ffmpeg supports. For that matter, you can even play the audio tracks of video files through the music plugin. I've played unencrypted AAC, WMA, WAV and AU, as well as MPG and FLV.

As with the extension-based video filter, we need a fairly exhaustive list of extensions to make this work well; currently there's only a very limited one (and I omitted the extensions for video). The list of extensions is in the TRANSCODE tuple near the top of music.py.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Thu Feb 07, 2008 4:10 am    Post subject: Reply with quote

Amazingly enough, a new ffmpeg r11870 was just released which works with the music transcoding. Or one can revert to r10464.
http://ffdshow.faireal.net/mirror/ffmpeg/

Seems to also work fine for video transcoding with my initial quick tests. Still reassigns channels on mkv's though like previous versions.

_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 1333

PostPosted: Thu Feb 07, 2008 3:48 pm    Post subject: Reply with quote

wgw wrote:
Amazingly enough, a new ffmpeg r11870 was just released which works with the music transcoding.

Thanks, I've put this in my repo. Passes all my tests, too, but I have to wonder if something's missing, since it's about 400k smaller.

P.S. It's ffmpeg.exe in the original archive, but I renamed it ffmpeg_mp2.exe so people don't have to change their pyTivo.confs. It does support mp2.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Thu Feb 07, 2008 10:43 pm    Post subject: Reply with quote

I think it was compiled without a couple speech libs.
_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1199s ][ Queries: 12 (0.0250s) ][ Debug on ]