Hi!
I am unable to get seek to work on video files. Please find below the logs relevant to seek. I got these using the following debug options - GST_DEBUG=*:3,avidemux:5,mad:5,GST_EVENT:5,GST_PAD:5 BTW, I am trying seek on N770 and these logs are from N770. However, the same logic for video seek works fine on the PC. Any help is appreciated. ----------------------------------------------------------- ... Seek invoked for 12 seconds INFO (0x3ebc0 - 0:00:15.220734000) GST_STATES( 1072) gstbin.c(1276):gst_bin_get_state_func:<avi-player> getting state INFO (0x3ebc0 - 0:00:15.222474000) GST_STATES( 1072) gstbin.c(1420):gst_bin_recalc_state:<avi-player> not dirty LOG (0x3ebc0 - 0:00:15.225464000) mad( 1072) gstmad.c(587):gst_mad_src_query:<audio-decoder> peer returned duration 0:00:46.654623744 INFO (0x3ebc0 - 0:00:15.228058000) GST_EVENT( 1072) gstevent.c(731):gst_event_new_seek: creating seek rate 1.000000, format TIME, flags 0, cur_type 2, cur 0:00:12.000000000, stop_type 0, stop 99:99:99.999999999 DEBUG (0x3ebc0 - 0:00:15.230804000) GST_EVENT( 1072) gstevent.c(283):gst_event_new: creating new event 0x156860 seek DEBUG (0x3ebc0 - 0:00:15.233094000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad video-queue:src DEBUG (0x3ebc0 - 0:00:15.235505000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad avi-demuxer:video_00 DEBUG (0x3ebc0 - 0:00:15.237366000) GST_EVENT( 1072) gstavidemux.c(488):gst_avi_demux_handle_src_event:<avi-demuxer> have event type seek: 0x156860 on src pad DEBUG (0x3ebc0 - 0:00:15.239288000) GST_EVENT( 1072) gstavidemux.c(490):gst_avi_demux_handle_src_event:<avi-demuxer> no index entries, returning DEBUG (0x3ebc0 - 0:00:15.241272000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad My Filter plugin:src INFO (0x3ebc0 - 0:00:15.243133000) GST_PADS( 1072) gstpad.c(2755):gst_pad_event_default_dispatch:<MY Filter plugin:src> Sending event 0x156860 to all internally linked pads DEBUG (0x3ebc0 - 0:00:15.250611000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad audio-convert:src DEBUG (0x3ebc0 - 0:00:15.252503000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad audio-decoder:src INFO (0x3ebc0 - 0:00:15.254334000) GST_PADS( 1072) gstpad.c(2755):gst_pad_event_default_dispatch:<audio-decoder:src> Sending event 0x156860 to all internally linked pads DEBUG (0x3ebc0 - 0:00:15.256348000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad audio-queue:src DEBUG (0x3ebc0 - 0:00:15.258179000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad avi-demuxer:audio_00 DEBUG (0x3ebc0 - 0:00:15.260010000) GST_EVENT( 1072) gstavidemux.c(488):gst_avi_demux_handle_src_event:<avi-demuxer> have event type seek: 0x156860 on src pad DEBUG (0x3ebc0 - 0:00:15.261841000) GST_EVENT( 1072) gstavidemux.c(490):gst_avi_demux_handle_src_event:<avi-demuxer> no index entries, returning DEBUG (0x3ebc0 - 0:00:15.263703000) mad( 1072) gstmad.c(739):normal_seek: normal seek DEBUG (0x3ebc0 - 0:00:15.265381000) mad( 1072) gstmad.c(756):normal_seek: seek to time 0:00:12.000000000-99:99:99.999999999 INFO (0x3ebc0 - 0:00:15.267670000) GST_EVENT( 1072) gstevent.c(737):gst_event_new_seek: creating seek rate 1.000000, format 2, flags 0, cur_type 2, cur 96000, stop_type 0, stop 147573952589676 DEBUG (0x3ebc0 - 0:00:15.269898000) GST_EVENT( 1072) gstevent.c(283):gst_event_new: creating new event 0x156720 seek DEBUG (0x3ebc0 - 0:00:15.271698000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad audio-queue:src DEBUG (0x3ebc0 - 0:00:15.273498000) GST_EVENT( 1072) gstpad.c(3784):gst_pad_send_event: have event type seek on pad avi-demuxer:audio_00 DEBUG (0x3ebc0 - 0:00:15.275360000) GST_EVENT( 1072) gstavidemux.c(488):gst_avi_demux_handle_src_event:<avi-demuxer> have event type seek: 0x156720 on src pad DEBUG (0x3ebc0 - 0:00:15.277161000) GST_EVENT( 1072) gstavidemux.c(490):gst_avi_demux_handle_src_event:<avi-demuxer> no index entries, returning Seek returned failure ----------------------------------------------------- Regards, Vinod DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
hi,
Vinod Nanjaiah schrieb: > Hi! > I am unable to get seek to work on video files. Please find below the logs > relevant to seek. > I got these using the following debug options - > GST_DEBUG=*:3,avidemux:5,mad:5,GST_EVENT:5,GST_PAD:5 > > BTW, I am trying seek on N770 and these logs are from N770. However, the same > logic for video seek works fine on the PC. > Any help is appreciated. Have you tried to study the log yourself? > ----------------------------------------------------------- > ... > Seek invoked for 12 seconds <snip> If the avi does not contain any index, it cannot be seeked: > DEBUG (0x3ebc0 - 0:00:15.277161000) GST_EVENT( 1072) > gstavidemux.c(490):gst_avi_demux_handle_src_event:<avi-demuxer> no index > entries, returning > Seek returned failure > ----------------------------------------------------- Stefan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
> -----Original Message----- > From: [hidden email] [mailto:gstreamer- > [hidden email]] On Behalf Of Stefan Kost > Sent: Friday, February 01, 2008 12:40 AM > To: Vinod Nanjaiah > Cc: [hidden email] > Subject: Re: [gst-devel] video seek: debug logs > > hi, > > Vinod Nanjaiah schrieb: > > Hi! > > I am unable to get seek to work on video files. Please find below the > logs > > relevant to seek. > > I got these using the following debug options - > > GST_DEBUG=*:3,avidemux:5,mad:5,GST_EVENT:5,GST_PAD:5 > > > > BTW, I am trying seek on N770 and these logs are from N770. However, the > same > > logic for video seek works fine on the PC. > > Any help is appreciated. > > Have you tried to study the log yourself? > > > ----------------------------------------------------------- > > ... > > Seek invoked for 12 seconds > > <snip> > If the avi does not contain any index, it cannot be seeked: > is because, the gst_avi_demux_loop() (or gst_avi_demux_sink_activate_pull()) is not invoked when avi is played on Nokia 770. But, this is happening on the PC (x86). Please, can you let us know why this is failing and help us. > > DEBUG (0x3ebc0 - 0:00:15.277161000) GST_EVENT( 1072) > > gstavidemux.c(490):gst_avi_demux_handle_src_event:<avi-demuxer> no index > > entries, returning > > Seek returned failure > > ----------------------------------------------------- > > Stefan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel I am working on the same issue with Vinod. Thanks, Sharath DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
if the avi is played as a stream (http) then its not seekable. If the shipped play can seek it, you might do something different and unless you give us some info, we can't help. Stefan Sharath Mudalamane schrieb: > Hi, > > >> -----Original Message----- >> From: [hidden email] [mailto:gstreamer- >> [hidden email]] On Behalf Of Stefan Kost >> Sent: Friday, February 01, 2008 12:40 AM >> To: Vinod Nanjaiah >> Cc: [hidden email] >> Subject: Re: [gst-devel] video seek: debug logs >> >> hi, >> >> Vinod Nanjaiah schrieb: >>> Hi! >>> I am unable to get seek to work on video files. Please find below the >> logs >>> relevant to seek. >>> I got these using the following debug options - >>> GST_DEBUG=*:3,avidemux:5,mad:5,GST_EVENT:5,GST_PAD:5 >>> >>> BTW, I am trying seek on N770 and these logs are from N770. However, the >> same >>> logic for video seek works fine on the PC. >>> Any help is appreciated. >> Have you tried to study the log yourself? >> >>> ----------------------------------------------------------- >>> ... >>> Seek invoked for 12 seconds >> <snip> >> If the avi does not contain any index, it cannot be seeked: >> > I observed that, gst_avi_demux_massage_index() is not called initially. This > is because, the gst_avi_demux_loop() (or gst_avi_demux_sink_activate_pull()) > is not invoked when avi is played on Nokia 770. > > But, this is happening on the PC (x86). Please, can you let us know why this > is failing and help us. > > >>> DEBUG (0x3ebc0 - 0:00:15.277161000) GST_EVENT( 1072) >>> gstavidemux.c(490):gst_avi_demux_handle_src_event:<avi-demuxer> no index >>> entries, returning >>> Seek returned failure >>> ----------------------------------------------------- >> Stefan >> >> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |