I am currently trying to modify VLC to update the transcoding options on the fly. I want to allow a user to change the bitrate for a given codec while the video is streaming (ie. if the network becomes slow while streaming) to improve performance that the client (computer viewing the stream) sees. My current setup involves stopping the playback and then restarting playback with a new playlist item that contains my new options. I basically create the playlist item (with same mrl & start time) with the new transcoding options and add it to the playlist. I then play this playlist item. This causes a 1-2 second delay in the video stream which is undesirable.
Does anyone know how I might go about doing this? Could I possibly pause playback, close the transcoder, and then open a new transcoder? If so, where can I look to see code for opening/closing the transcoder? Which module does so?
Thanks for the help,
Corey