2007-02-25, 02:12 AM
I'm playing around with ZProcess and experimenting with the different profiles. One thing I've found kind of confusing is the way ZProcess injects itself into gbpvr to do the transcoding, but doesn't read the transcoding options out of config.xml.
If I understand correctly, when you launch a conversion that uses ZProcess, ZProcess looks at the target extension (and maybe source?) to determine which profile to use, is this right? As I play with ZProcess I'm getting to where I like it quite a bit, but I can think of more uses if it didn't have this limitation.
First of all, why not allow users to create their own profiles and then pass the name of the profile to ZProcess on the command line? The command line arguments of gbpvr's CustomFFmpegConversions are being discarded anyway, so why not remove useless args from the config command lines and replace them with a command line argument ZProcess will use, namely the profile name. This would allow you to support the differing bitrate .wmv profiles that gbpvr comes with, and it would allow new formats to be added easily too. I think it'd be less confusing too.
For instance, I'm looking to add some conversions for .ts files that'll be supported in the next gbpvr release. I want to add a conversion of HD files to SD .mpg for viewing on my MVPs, and I want to add a conversion option to .AVI for archiving. This 2avi profile I want to use HD resolutions, while my normal SD 2avi profile I want to convert to 512x384. I can't do this now, but if we could passed the profile names on the command line, it'd be simple. The same is true for 2mpg... I'd like one for converting to something the MVP can view, and one for converting to HD mpgs.
Anyway, it's just a thought. ZProcess is really growing on me, especially how you made it so easy to test the same settings in ffmpeg, vlc and mencoder, and it's real-time checking of the aspect ratios. Very cool.
Thanks!
If I understand correctly, when you launch a conversion that uses ZProcess, ZProcess looks at the target extension (and maybe source?) to determine which profile to use, is this right? As I play with ZProcess I'm getting to where I like it quite a bit, but I can think of more uses if it didn't have this limitation.
First of all, why not allow users to create their own profiles and then pass the name of the profile to ZProcess on the command line? The command line arguments of gbpvr's CustomFFmpegConversions are being discarded anyway, so why not remove useless args from the config command lines and replace them with a command line argument ZProcess will use, namely the profile name. This would allow you to support the differing bitrate .wmv profiles that gbpvr comes with, and it would allow new formats to be added easily too. I think it'd be less confusing too.
For instance, I'm looking to add some conversions for .ts files that'll be supported in the next gbpvr release. I want to add a conversion of HD files to SD .mpg for viewing on my MVPs, and I want to add a conversion option to .AVI for archiving. This 2avi profile I want to use HD resolutions, while my normal SD 2avi profile I want to convert to 512x384. I can't do this now, but if we could passed the profile names on the command line, it'd be simple. The same is true for 2mpg... I'd like one for converting to something the MVP can view, and one for converting to HD mpgs.
Anyway, it's just a thought. ZProcess is really growing on me, especially how you made it so easy to test the same settings in ffmpeg, vlc and mencoder, and it's real-time checking of the aspect ratios. Very cool.
Thanks!