Menu

#18 Add ability to output to COUT

1.0
open
nobody
None
2014-04-17
2014-04-16
No

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 in advance for your time!

Discussion

  • babgvant

    babgvant - 2014-04-17

    Can you outline how I would use the two apps together and what commands are used in ffmpeg to make it work with Subsonic.

     
  • Philipp Nanz

    Philipp Nanz - 2014-04-17

    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.

     

Log in to post a comment.