[Bug 633831] rtsp on windows

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 8 01:04:31 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=633831
  GStreamer | gst-plugins-good | git

Miguel Angel Cabrera <madmac2501> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |madmac2501 at gmail.com

--- Comment #9 from Miguel Angel Cabrera <madmac2501 at gmail.com> 2011-03-08 09:04:26 UTC ---
I have been debugging this problem in windows these days without noticiying
this bug report.

At the end I get the same solution. As avcodec.h says

 490 /**
 491  * Required number of additionally allocated bytes at the end of the input
bitstream for decoding.
 492  * This is mainly needed because some optimized bitstream readers read
 493  * 32 or 64 bit at once and could read over the end.<br>
 494  * Note: If the first 23 bits of the additional bytes are not 0, then
damaged
 495  * MPEG bitstreams could cause overread and segfault.
 496  */
 497 #define FF_INPUT_BUFFER_PADDING_SIZE 8

Also instead of calling do_padding, probably would be better to have a custom
allocation buffer function in the sink pad.

Also here it is my stack trace:
(gdb) bt
#0  0x0659ca37 in ff_h264_find_frame_end (h=0x3c06610, buf=0x9a2cf70 "",
buf_size=144)
    at
c:/Proyectos/ossbuild/Libraries/Source/ffmpeg-export-2010-10-25/libavcodec/h264_parser.c:57
#1  0x0659cb78 in h264_parse (s=0x3b42a00, avctx=0x3b48b20, poutbuf=0x988fa34,
    poutbuf_size=0x988fa28, buf=0x9a2cf70 "", buf_size=144)
    at
c:/Proyectos/ossbuild/Libraries/Source/ffmpeg-export-2010-10-25/libavcodec/h264_parser.c:262
#2  0x06699483 in av_parser_parse2 (s=0x3b42a00, avctx=0x3b48b20,
poutbuf=0x988fa34,
    poutbuf_size=0x988fa28, buf=0x9a2cf70 "", buf_size=144, pts=132, dts=132)
    at
c:/Proyectos/ossbuild/Libraries/Source/ffmpeg-export-2010-10-25/libavcodec/parser.c:184
#3  av_parser_parse (s=0x3b42a00, avctx=0x3b48b20, poutbuf=0x988fa34,
poutbuf_size=0x988fa28,
    buf=0x9a2cf70 "", buf_size=144, pts=132, dts=132)
    at
c:/Proyectos/ossbuild/Libraries/Source/ffmpeg-export-2010-10-25/libavcodec/parser.c:140
#4  0x05f10297 in ?? ()
   from C:\Archivos de
programa\OSSBuild\GStreamer\v0.10.7\lib\gstreamer-0.10\libgstffmpeg-gpl.dll
#5  0x1003326d in libgstreamer-0!gst_pad_load_and_link ()
   from C:\Archivos de
programa\OSSBuild\GStreamer\v0.10.7\bin\libgstreamer-0.10.dll
#6  0x03b77bb0 in ?? ()
#7  0x10033ab6 in libgstreamer-0!gst_pad_chain_list ()
   from C:\Archivos de
programa\OSSBuild\GStreamer\v0.10.7\bin\libgstreamer-0.10.dll
#8  0x00000001 in ?? ()
#9  0x03b77bb0 in ?? ()
#10 0x10033b0f in libgstreamer-0!gst_pad_push ()
   from C:\Archivos de
programa\OSSBuild\GStreamer\v0.10.7\bin\libgstreamer-0.10.dll
#11 0x00000001 in ?? ()
#12 0x03b77bb0 in ?? ()
#13 0x056c3843 in libgstrtp-0!gst_base_rtp_depayload_push ()
   from C:\Archivos de
programa\OSSBuild\GStreamer\v0.10.7\bin\libgstrtp-0.10.dll
#14 0x00000000 in ?? ()

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list