So i've been using VLC java bindings for a few days to create a RTSP client to work with my Live555 RTSP Server implementation. <br><div><div><div><br></div></div></div><div>Both commands play and pause work fine for me. Seek is working fine and the playback works great after all these commands. However there's a few remarks relating to fast forward and fast rewind. Fast forward works fine, it moves along great but sometimes the current media position is set to values way back the timeline. When I issue the command setRate(1), the video is played again at the same rate but it skips some frames I think, because the playback looks a little bit jumpy. I always get the same output when i do this:</div>
<div><br></div><div><div>libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 15) for PID 0</div><div>libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PID 4095</div><div>libdvbpsi error (PSI decoder): TS duplicate (received 12, expected 13) for PID 17</div>
</div><div><br></div><div>I see no other issues concerning Fast forward. Relative to fast rewind the source code in the control section in media_player.c in line 1149 </div><div><div><br><div><div>int libvlc_media_player_set_rate( libvlc_media_player_t *p_mi, float rate )</div>
<div>{</div><div><br></div><div> if (rate < 0.)</div><div> {</div><div> libvlc_printerr ("Playing backward not supported");</div><div> return -1;</div><div> }</div></div></div></div><div>
<br></div><div>Playing backwards is not supported playing from a disc file, i've tested it myself, however, when streaming from an Internet source the case is quite different. I commented the above lines to produce something similar to fast forward and the result was successful.</div>
<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="color: rgb(46, 139, 87); font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px; ">PLAY rtsp://<a href="http://172.16.2.196:8554/Redbull_720.ts/">172.16.2.196:8554/Redbull_720.ts/</a> RTSP/1.0<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
CSeq: 11<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">User-Agent: LibVLC/1.1.9 (LIVE555 Streaming Media v2010.11.17)<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
Session: 68C9705<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Scale: -2.000000<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">RTSP/1.0 200 OK<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
CSeq: 11<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Date: Fri, May 27 2011 14:41:49 GMT<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
Scale: -2.000000<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Session: 68C97056<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
</span><div><span class="Apple-style-span" style="color: rgb(46, 139, 87); font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px; ">RTP-Info: url=rtsp://<a href="http://172.16.2.196:8554/Redbull_720.ts/track1;seq=13622;rtptime=210151468">172.16.2.196:8554/Redbull_720.ts/track1;seq=13622;rtptime=210151468</a></span></div>
<div><br></div><div><span class="Apple-style-span" style="color: rgb(46, 139, 87); font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 12px; line-height: 15px; "></span>The playback was as good as the fast forward results. So here's my question why is it still not supported for streaming? I see no other problems as the ones that exist to still make this not supported. I'm kindly accepting responses and comments and other stuff to make this a more interesting topic.</div>
<div><br></div><div>Regards,</div><div>Nuno Mota </div>