I would like to use QStranscode together with Subsonic to do on-the-fly transcoding. In order for this to work, QStranscode would need to be able to output the transcoded data to COUT, just like ffmpeg.
Thanks for the quick response!
Subsonic is a Java process that in turn starts the ffmpeg process directly and then processes its response (thus it needs stdout/cout to work).
The default command parameters used for video transcode are:
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -
where
%o is an offset,
%b is the target bitrate,
%s is the input file,
%w and %h are width and height
The exact command used for transcoding is configurable though, so it would be no problem
for a user to replace it with some qstranscode command. The only roadblock right now is that there is no option in qstranscode to let it output to COut.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you outline how I would use the two apps together and what commands are used in ffmpeg to make it work with Subsonic.
Thanks for the quick response!
Subsonic is a Java process that in turn starts the ffmpeg process directly and then processes its response (thus it needs stdout/cout to work).
Some information on this topic can be found here:
http://www.subsonic.org/pages/transcoding.jsp
The default command parameters used for video transcode are:
ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -
where
%o is an offset,
%b is the target bitrate,
%s is the input file,
%w and %h are width and height
The exact command used for transcoding is configurable though, so it would be no problem
for a user to replace it with some qstranscode command. The only roadblock right now is that there is no option in qstranscode to let it output to COut.