java - Xuggler - Getting snapshots from RTMP stream -
i'm using last xuggler lib on java 7 (macos maverix). need
png snapshot live rtmp stream served wowza.
for i'm using default com.xuggle.xuggler.demos.decodeandcaptureframes. there problems:
- reader.readpacket() has delay of ~5 minutes (it seems xuggler tries buffer or guess format, difficult explain)
- after delay, external process starts (i guess it's ffmpeg) , cpu usage 100%.
in parallel high cpu load, see png files created correctly, after 2-3 minutes following exception
14:40:35.785 [main] error org.ffmpeg - writen, rtmp send error 32 (14 bytes) 14:40:35.790 [main] error org.ffmpeg - writen, rtmp send error 32 (42 bytes)
any idea?
i found solution: had manually set probesize property on icontainer 2048 , works.
Comments
Post a Comment