home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Transcoding hooks?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ripnetuk" data-source="post: 284062" data-attributes="member: 79584"><p>Hi,</p><p>Firstly, TVServer is fantastic... finally I can get rid of my old ropey mythtb setup, and have a proper client-server pvr system, with a great windows client.</p><p></p><p>One thing I want to do though is automatically transcode my recordings to H264 (for iPod), and provide an rss feed to the transcoded recordings, with all the metadata present and correct. This way, I can subscribe to the RSS feed in iTunes, and all TVServer recordings will appear automatically in the podcast section, which will sync onto my ipod.</p><p></p><p>I have this working at the moment with mythtv (using a bunch of hacked together c# programs, and bash scripts), but I want this feature on TVServer.</p><p></p><p>Im planning on writing a TVServerHooks plugin, which just provides a simple GUI setup screen, to allow you to run external programs on TVServer events (like recording started, recording finished etc). I am planning on having an option to output the metadata (eg, program title, channel, series info etc) to a .xml file, a .ini file, and by setting environemtal variables, that way, you could cobble together a script, or a exe etc to process the file.</p><p></p><p>I would then probably write a simple batch file to actually call mencoder / ffmepg to encode to ipod. </p><p>Once this is working, I would improve my batch file to a c# program, which maintains a list of 'outstanding' transcodings in a file / table, and ticks them off as they are successfully transcoded (in case there is a power cut or something during the transcode). </p><p></p><p>A completely alternative way of doing this would be to use the server API in a standalone program to ask mediaportal for recent recordings, and to process them at that point (say scheduled at night). The problem here is 'knowing' which files have already been processed. Ideally there would be a place in your database that I can record my metadata (ie, recording X has been transcoded OK). Failing that, I could just use a .ini file to record the IDs of records already successfully processed. </p><p></p><p>At the moment I am favouring the second option. However, if someone has already done this, im wasting my time! </p><p></p><p>so:</p><p></p><p>My questions to the community are</p><p>1. Is there already a way to do this (ie, transcode to format X and provide the metadata)</p><p>2. Does this sound sensible / useful?</p><p>3. Is there a designated place in your database to store extra meta-data (eg transcode status) against recordings? whats your policy on new tables, I was thinking of something like</p><p></p><p>create table RecordingMetaData</p><p>(</p><p>RecordingID int (or whatever u use for PK),</p><p>NameSpace varchar</p><p>TagName varchar</p><p>TagValue varchar</p><p>)</p><p></p><p>Then I would insert (and check for) records in RecordingMetaData with a namespace unique to me (eg IPodTranscoder), and a tagname for the data type (eg TranscodeComplete) and the TagValue for the value (eg True == transcode happened)</p><p></p><p>cheers</p><p></p><p>George</p></blockquote><p></p>
[QUOTE="ripnetuk, post: 284062, member: 79584"] Hi, Firstly, TVServer is fantastic... finally I can get rid of my old ropey mythtb setup, and have a proper client-server pvr system, with a great windows client. One thing I want to do though is automatically transcode my recordings to H264 (for iPod), and provide an rss feed to the transcoded recordings, with all the metadata present and correct. This way, I can subscribe to the RSS feed in iTunes, and all TVServer recordings will appear automatically in the podcast section, which will sync onto my ipod. I have this working at the moment with mythtv (using a bunch of hacked together c# programs, and bash scripts), but I want this feature on TVServer. Im planning on writing a TVServerHooks plugin, which just provides a simple GUI setup screen, to allow you to run external programs on TVServer events (like recording started, recording finished etc). I am planning on having an option to output the metadata (eg, program title, channel, series info etc) to a .xml file, a .ini file, and by setting environemtal variables, that way, you could cobble together a script, or a exe etc to process the file. I would then probably write a simple batch file to actually call mencoder / ffmepg to encode to ipod. Once this is working, I would improve my batch file to a c# program, which maintains a list of 'outstanding' transcodings in a file / table, and ticks them off as they are successfully transcoded (in case there is a power cut or something during the transcode). A completely alternative way of doing this would be to use the server API in a standalone program to ask mediaportal for recent recordings, and to process them at that point (say scheduled at night). The problem here is 'knowing' which files have already been processed. Ideally there would be a place in your database that I can record my metadata (ie, recording X has been transcoded OK). Failing that, I could just use a .ini file to record the IDs of records already successfully processed. At the moment I am favouring the second option. However, if someone has already done this, im wasting my time! so: My questions to the community are 1. Is there already a way to do this (ie, transcode to format X and provide the metadata) 2. Does this sound sensible / useful? 3. Is there a designated place in your database to store extra meta-data (eg transcode status) against recordings? whats your policy on new tables, I was thinking of something like create table RecordingMetaData ( RecordingID int (or whatever u use for PK), NameSpace varchar TagName varchar TagValue varchar ) Then I would insert (and check for) records in RecordingMetaData with a namespace unique to me (eg IPodTranscoder), and a tagname for the data type (eg TranscodeComplete) and the TagValue for the value (eg True == transcode happened) cheers George [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Transcoding hooks?
Contact us
RSS
Top
Bottom