khalidkhan020 / transdroid

Automatically exported from code.google.com/p/transdroid
GNU General Public License v3.0
0 stars 0 forks source link

Access to Vuze's transcoder. #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I use Vuze's built-in transcoder to encode media for various devices a lot, and 
I would like 
to see some kind of remote access to that eventually, even if it is just being 
able to send the 
files to the encoder without being able to see any other information from it.

Original issue reported on code.google.com by hd.113...@gmail.com on 20 Apr 2010 at 7:12

GoogleCodeExporter commented 9 years ago
I am unsure if this is possible, since it has to be supported by the XML voer 
HTTP 
plugin in the first place and I doubt it. I'll ask a Vuze developer.

Original comment by erickok@gmail.com on 22 Apr 2010 at 9:34

GoogleCodeExporter commented 9 years ago
I understand if it is not possible. Thanks for looking into it, though.

Original comment by hd.113...@gmail.com on 22 Apr 2010 at 11:49

GoogleCodeExporter commented 9 years ago
Here's what Paul responded to your question:

"Interesting request - there's currently no plugin API for the transcoder 
although I 
can think about adding one.

What I would need to know is exactly what the user wants to be able to do. 
Adding 
support for the entire transcoder feature would be a fair amount of work, but 
if it 
is just one or two functions then that is more doable. Maybe they could sketch 
out 
the use-case(s) they are looking for. For example, if they just want to 
schedule a 
download for transcoding they would need something like

1) List the devices available
2) Select the device to transcode for
3) List the transcode profiles available for the Device
4) Select the transcode profile required
5) Get the transcode queue
6) Add the ( download or file), profile to the transcode queue.

If they wanted to monitor the active transcodes then they would need operations 
to 
access the queue. If they wanted to be able to stop/remove transcode jobs then 
they 
would need functions to do that."

So it is possible with work on both Vuze('s plugin) and Transdroid.

From my point of view, the 'issue' is that I cannot jsut call an 'enqueue' 
method. At 
least Transdroid needs to get a listing of the devices and transcode profiles 
before 
a user can select anything. Now a question arises: Would you rather set a 
'default' 
in Transdroid (in it's server preference screen for Vuze configs) or select a 
different device/profile each time?

Of course, with Android apps being open, ideally you would want a 'Vuze 
transcoder 
manager' app which Transdroid sends an Intent to. But such an app does not yet 
exist 
and I'm a little too busy to write one. :-)

Original comment by erickok@gmail.com on 26 Apr 2010 at 12:35

GoogleCodeExporter commented 9 years ago
First, thanks to both you and Paul. You guys rock.

For a use-case, I would just like to be able to schedule a download for 
transcoding. I have 
two devices I encode media to, my Playstation 3 and my Zune(I use the iPod 
Touch format, 
though, so it's an appropriate size for my phone as well.), I have no real need 
to monitor 
the queue on any kind of active basis, just being able to send the file to the 
transcoder 
would be glorious.

As far as when to select the device profile, if possible, a listing to choose 
from each time I 
send something to it would be cool since I don't encode everything for both 
devices or 
even for one or the other. Perhaps it could be a possible selection from the 
long touch 
menu on the torrent list? Unfortunatly I am not very well schooled in the 
Android sdk, so I 
don't know how much work I am asking for. :/

If you need help with tedious coding to lighten the load, I would be willing, 
but like I said, 
not very well schooled in it at the moment.

Thanks again!

Original comment by hd.113...@gmail.com on 26 Apr 2010 at 12:54

GoogleCodeExporter commented 9 years ago
I agreed with Paul that, if more people start this issue (indicating that they 
are 
interested in having this feature) that he will add support for the Transcoder 
to 
Vuze's plugin.

Original comment by erickok@gmail.com on 27 Apr 2010 at 7:23

GoogleCodeExporter commented 9 years ago
That is fair enough. I could see it being a lot of work. Thanks.

Original comment by hd.113...@gmail.com on 27 Apr 2010 at 4:44

GoogleCodeExporter commented 9 years ago
Actually I have something indirectly working in Vuze with the latest beta. It 
uses 
the 'category' feature whereby you can tag downloads with a user-defined 
category. I 
added a category-option to have anything assigned to it automatically 
transcoded for 
a selected device/profile (right click on the category button).

The existing xml/http plugin gives you access to the list of defined categories 
and 
the ability to assign a category to a download (I have example code if needed). 

So between these two features you can achieve what you want by pre-assigning a 
profile to a category and then assign a download to it when you want to 
initiate a 
transcode. If you had a Transdroid UI to do so of course :)

Original comment by gardner...@gmail.com on 28 Apr 2010 at 5:32

GoogleCodeExporter commented 9 years ago
Interesting. I've recently build support for uTorrent and Deluge labels and if 
I 
understand it correctly this is similar to 'categories' in Vuze. Using the same 
interface then, I could allow torrents to be assigned a category. This, 
combined with 
the automated transcoding of torrents from a predefined category, would make 
this 
feature complete and powerful. And you'll get Vuze category support in 
Transdroid for 
free. :-)

Some sample code on which XML over HTTP plugin functions to call would be 
great. 
Thanks!

Original comment by erickok@gmail.com on 28 Apr 2010 at 7:06