imem transformations
Posted: 26 Jan 2012 23:16
Now that I have imem + h264 + rtsp up and running its time to start fine tuning the results. I could use some help with the following:
1) What is the best way (if this is possible) to resize a stream? I tried shutting down the pipeline and then recreating it however if I do this in quick succession it appears to crash the libx264_plugin in the function vlc_entry_license__1_2_0j.
2) I'm capturing my scene using glReadPixels which gives me two problems, the first is that the image is upside down adn the second is the RGB ordering, GL gives me BGR and vlc wants RGB. I could do the conversion in software myself but am wondering if there is a some way to tell vlc to handle this which I suspect would be more efficient.
To flip the image I tried adding the arg: --transform-type=vflip, but this had no effect.
Thanks.
1) What is the best way (if this is possible) to resize a stream? I tried shutting down the pipeline and then recreating it however if I do this in quick succession it appears to crash the libx264_plugin in the function vlc_entry_license__1_2_0j.
2) I'm capturing my scene using glReadPixels which gives me two problems, the first is that the image is upside down adn the second is the RGB ordering, GL gives me BGR and vlc wants RGB. I could do the conversion in software myself but am wondering if there is a some way to tell vlc to handle this which I suspect would be more efficient.
To flip the image I tried adding the arg: --transform-type=vflip, but this had no effect.
Thanks.