Page 1 of 1

RTSP VoD Seek failed

Posted: 17 Aug 2010 09:05
by superware
Hello,

I can't manage to seek RTSP VoD streams (Codec: H264 - MPEG-4 AVC (part 10) (h264), OS: Windows):

[016038b8] main input debug: control type=3
[016038b8] main input error: INPUT_CONTROL_SET_POSITION(_OFFSET) 23.1% failed
[016038b8] main input debug: Buffering 0%
[016038b8] main input debug: Buffering 39%
[016038b8] main input debug: Buffering 79%
[016038b8] main input debug: Stream buffering done (602 ms in 630 ms)
Missing reference picture
decode_slice_header error
mmco: unref short failure
[016038b8] main input debug: Decoder buffering done in 15 ms
[02472d48] main generic debug: auto hidding mouse
[08b8f208] main decoder debug: End of video preroll

Please, any ideas? :(

Cheers,
Superware

Re: RTSP VoD Seek failed

Posted: 17 Aug 2010 09:33
by Sébastien Escudier
is it logs from the client or the server ?
how did you create your vod media ?

Re: RTSP VoD Seek failed

Posted: 19 Aug 2010 13:11
by superware
is it logs from the client or the server ?
how did you create your vod media ?
This is the client, the server doesn't show anything while the client is seeking.
--rtsp-host 0.0.0.0:5554, new test vod enabled, setup test input c:\1400.avi, "show" states the vod media is seekable (can-seek : 1) while the client is playing.

The video file itself came from an IP camera via rtsp://192.168.20.xxx/ (input) saved to disk via #std{access=file,mux=ts,dst=c:\1400.avi} (output).

Thanks in advance,
Superware

Re: RTSP VoD Seek failed

Posted: 19 Aug 2010 17:44
by Sébastien Escudier
The only way I've been able to use rtsp seeking was to :

- save my videos in MP4 format

- stream with ts mux :
new test vod
setup test input mymovie.mp4
setup test mux mp2t
setup test enabled

everything else failed for me.

Re: RTSP VoD Seek failed

Posted: 21 Aug 2010 04:05
by superware
Transcoding isn't a real option for me. You say you did manage to seek rtsp so the feature is definitely implemented, why do you think it doesn't function correctly? will it be difficult to fix?

Re: RTSP VoD Seek failed

Posted: 23 Aug 2010 08:22
by Sébastien Escudier
You don't need to transcode.
Just save your movie in MP4 format. That's a file format, not a codec.
Use mux=mp4 instead of mux=ts, and create the vod like in my previous answer

Re: RTSP VoD Seek failed

Posted: 27 Aug 2010 17:37
by superware
Sébastien, I've tried everything but nothing seems to work, seeking is impossible.

Here is the mp4 I'm trying to RTSP-seek http://rapidshare.com/files/415473631/1400.avi, can you please try it out?

Re: RTSP VoD Seek failed

Posted: 30 Aug 2010 10:14
by Sébastien Escudier
I can play your file, but I am unable to stream it with ts muxing.
I don't know why.
I'll have a look at it when I have time.

Re: RTSP VoD Seek failed

Posted: 31 Aug 2010 20:39
by superware
Thank you, I really appreciate it.

Superware.

Re: RTSP VoD Seek failed

Posted: 10 Sep 2010 08:19
by superware
Hi Sébastien,

Can you please check my file?

Thanks,
Superware

Re: RTSP VoD Seek failed

Posted: 10 Sep 2010 09:57
by Sébastien Escudier
There must be a problem in h264 streaming.
Maybe a bug in vlc, or maybe or problem in your file.
When I play it I have this :
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
number of reference frames exceeds max (probably corrupt input), discarding one
I don't know if it's related.

You can fill a bug report.

Re: RTSP VoD Seek failed

Posted: 13 Sep 2010 09:57
by superware
Please see viewtopic.php?t=52273#p260172. It seems seeking have always worked... just not reflected in the player slider nor in the web plugin (position is always 0 in both).

Re: RTSP VoD Seek failed

Posted: 09 Nov 2010 21:10
by Christoph904
hi,

i have a similiar problem posted here: viewtopic.php?f=4&t=84108&start=0

have you found a working solution?!

please let me know, thx