Max <shakhmetov....@gmail.com> added the comment:

$ gdb ffmpeg_g.exe
GNU gdb (GDB) 7.1
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show 
copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\disk\ffmpeg-0.6.1\ffmpeg/ffmpeg_g.exe...done.
(gdb) run -v 9 -loglevel 99 -analyzeduration 0 -i 
rtsp://194.24.241.164/live.sdp -an video.flv
Starting program: c:\disk\ffmpeg-0.6.1\ffmpeg/ffmpeg_g.exe -v 9 -
loglevel 99 -analyzeduration 0 -i rtsp://194.24.241.164
/live.sdp -an video.flv
[New Thread 13744.0x27a4]
FFmpeg version git-ec25f83, Copyright (c) 2000-2011 the FFmpeg 
developers
  built on Feb 16 2011 12:34:38 with gcc 4.5.0
  configuration: --enable-memalign-hack --prefix=/c/disk/ffmpeg-
0.6.1/build --enable-gpl --enable-version3 --enable-nonf
ree
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.113. 1 / 52.113. 1
  libavformat  52.100. 1 / 52.100. 1
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[New Thread 13744.0x43bc]
[rtsp @ 02a5c6e0] SDP:
v=0
o=RTSP 1297864938 195 IN IP4 194.24.241.164
s=RTSP server
c=IN IP4 0.0.0.0
t=0 0
a=charset:Shift_JIS
a=range:npt=0-
a=control:*
a=etag:1234567890
m=video 0 RTP/AVP 96
b=AS:1200
a=rtpmap:96 MP4V-ES/30000
a=control:trackID=1
a=fmtp:96 profile-level-
id=3;config=000001B003000001B509000001000000012000C48881F4514043C1463F;d
ecode_buf=76800
m=audio 0 RTP/AVP 97
a=control:trackID=3
a=rtpmap:97 mpeg4-generic/16000/2
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; 
config=1410;SizeLength=13; IndexLength=3; IndexDeltaLength=3;
 CTSDeltaLength=0; DTSDeltaLength=0;

[rtsp @ 02a5c6e0] video codec set to: mpeg4
[rtsp @ 02a5c6e0] audio codec set to: aac
[rtsp @ 02a5c6e0] audio samplerate set to: 16000
[rtsp @ 02a5c6e0] audio channels set to: 2
[New Thread 13744.0x4cb0]
[rtsp @ 02a5c6e0] hello state=0
[rtsp @ 02a5c6e0] UDP timeout, retrying with TCP
[rtsp @ 02a5c6e0] method SETUP failed: 455 Method Not Valid In This 
State
[rtsp @ 02a5c6e0] CSeq: 7
Session: 204010730

[rtsp @ 02a5c6e0] Could not find codec parameters (Audio: aac, stereo, 
s16)
[rtsp @ 02a5c6e0] Estimating duration from bitrate, this may be 
inaccurate
Input #0, rtsp, from 'rtsp://194.24.241.164/live.sdp':
  Metadata:
    title           : RTSP server
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0, 0, 1/30000: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 
4:3], 1/1000, 1k tbr, 30k tbn, 1k tbc
    Stream #0.1, 0, 1/16000: Audio: aac, stereo, s16
File 'video.flv' already exists. Overwrite ? [y/N] y
[buffer @ 04bb4b60] w:640 h:480 pixfmt:yuv420p
Output #0, flv, to 'video.flv':
  Metadata:
    title           : RTSP server
    encoder         : Lavf52.100.1
    Stream #0.0, 0, 1/1000: Video: flv, yuv420p, 640x480 [PAR 1:1 DAR 
4:3], 1/1000, q=2-31, 200 kb/s, 1k tbn, 1k tbc
    Stream #0.1, 0, 1/16000: Audio: aac, stereo, s16
File 'video.flv' already exists. Overwrite ? [y/N] y
[buffer @ 04bb4b60] w:640 h:480 pixfmt:yuv420p
Output #0, flv, to 'video.flv':
  Metadata:
    title           : RTSP server
    encoder         : Lavf52.100.1
    Stream #0.0, 0, 1/1000: Video: flv, yuv420p, 640x480 [PAR 1:1 DAR 
4:3], 1/1000, q=2-31, 200 kb/s, 1k tbn, 1k tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding

Program received signal SIGSEGV, Segmentation fault.
0x004a2d31 in ff_rtsp_fetch_packet (s=0x2a5c6e0, pkt=0x28f080) at 
libavformat/rtsp.c:1684
1684            if (len >=0 && rtsp_st->transport_priv && rt->transport 
== RTSP_TRANSPORT_RTP)
(gdb) bt
#0  0x004a2d31 in ff_rtsp_fetch_packet (s=0x2a5c6e0, pkt=0x28f080) at 
libavformat/rtsp.c:1684
#1  0x004a569f in rtsp_read_packet (s=0x2a5c6e0, pkt=0x28f080) at 
libavformat/rtspdec.c:312
#2  0x00426762 in av_read_packet (s=0x2a5c6e0, pkt=0x28f080) at 
libavformat/utils.c:701
#3  0x00426ba3 in av_read_frame_internal (s=0x2a5c6e0, pkt=0x28f1b8) at 
libavformat/utils.c:1147
#4  0x0040785d in transcode (nb_output_files=1, nb_input_files=1, 
stream_maps=0x0, nb_stream_maps=0,
    input_files=0x9ec1e0, output_files=0x9ec040) at ffmpeg.c:2563
#5  0x0040ce33 in main (argc=Cannot access memory at address 0xffffeed0
) at ffmpeg.c:4359

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2612>
________________________________________________

Reply via email to