简体   繁体   中英

Xuggler get jpeg image from rtsp stream

What i must use here, to save jpeg image?

            String[] args = new String[] { "--containerformat", "jpeg", "--acodec",
            "libmp3lame", "--asamplerate", "22050", "--achannels", "1",
            "--abitrate", "64000", "--aquality", "0", "--vcodec", "jpegls",
            "--vscalefactor", "1.0", "--vbitrate", "300000",
            "--vbitratetolerance", "12000000", "--vquality",
            "0",
            "--realtime", // this will stream out to an RTMP server
            url,
            "com.xuggle.xuggler.RTMPPublishingExhaustiveTest#testRTSPRead.jpeg" };

在Java中很难连接到rtsp并制作屏幕截图,我将程序的语言更改为c#,并且我使用了vlc api,该api不能很好地将屏幕截图制作为位图(将屏幕截图保存到文件中),但是某种方式。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM