Hi,
thanks for answering.
Well I went on with my own implementation of the player and now I'm able
to see the video.
One thing that I had to do was to hardcode the width and height when
using
avpicture_get_size and sws_getContext since the AVCodecContext didn't
return good values.
Now I have issues with the audio, it stutters.
This doesn't happen if with the same code I play the file directly and
not the stream.
> Can you try increasing the verbosity level (try the "-stats"
> and "-debug" options) and report the full output?
FFplay just return the new DOS prompt but I see it active in the task
manager(even with this option activated)
> Also, it would be useful to know the output of
> "ffmpeg -v 10 -i rtsp://...".
C:\ffmpeg13712\bin>ffmpeg.exe -v 10 -i rtsp://192.168.0.50/reno.wmv.mp4
FFmpeg version SVN-r13712, Copyright (c) 2000-2008 Fabrice Bellard, et
al.
configuration: --enable-memalign-hack --enable-avisynth
--enable-libxvid --ena
ble-libx264 --enable-libgsm --enable-libfaac --enable-libfaad
--enable-liba52 --
enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-pthreads --enab
le-swscale --enable-gpl
libavutil version: 49.7.0
libavcodec version: 51.57.2
libavformat version: 52.14.0
libavdevice version: 52.0.0
built on Jun 8 2008 21:33:14, gcc: 4.2.3
[NULL @ 00B20800] video codec set to : h264
H.264/RTP Profile IDC: 42 Profile IOP: c0 Level: 1e
H.264/RTP Packetization Mode: 1
H.264/RTP Extradata set to 0002C950 (size: 31)! audio codec set to :
libfaad
[NULL @ 00B20800] audio samplerate set to : 22050
[NULL @ 00B20800] audio channels set to : 1
[rtsp @ 00B0AD84]hello state=0
And hangs here.
FFmpeg -i:
C:\ffmpeg13712\bin>ffmpeg.exe -i rtsp://192.168.0.50/reno.wmv.mp4
FFmpeg version SVN-r13712, Copyright (c) 2000-2008 Fabrice Bellard, et
al.
configuration: --enable-memalign-hack --enable-avisynth
--enable-libxvid --ena
ble-libx264 --enable-libgsm --enable-libfaac --enable-libfaad
--enable-liba52 --
enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-pthreads --enab
le-swscale --enable-gpl
libavutil version: 49.7.0
libavcodec version: 51.57.2
libavformat version: 52.14.0
libavdevice version: 52.0.0
built on Jun 8 2008 21:33:14, gcc: 4.2.3
[NULL @ 00B20800]RTP: PT=60: bad cseq bb02 expected=2820
[NULL @ 00B20800]RTP: PT=60: bad cseq 1fe9 expected=bb08
[NULL @ 00B20800]RTP: PT=60: bad cseq bb08 expected=2822
[NULL @ 00B20800]RTP: PT=60: bad cseq 1feb expected=bb0a
[NULL @ 00B20800]RTP: PT=60: bad cseq bb0a expected=2824
[NULL @ 00B20800]RTP: PT=60: bad cseq 1fed expected=bb0c
[NULL @ 00B20800]RTP: PT=60: bad cseq bb0c expected=2826
[NULL @ 00B20800]RTP: PT=60: bad cseq 1fef expected=bb0e
[NULL @ 00B20800]RTP: PT=60: bad cseq bb0e expected=1ff1
[NULL @ 00B20800]RTP: PT=60: bad cseq 2826 expected=bb10
.
.
.
> "ffmpeg -i reno.wmv.mp4" say?
C:\ffmpeg13712\bin>ffmpeg -i c:\reno.wmv.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\reno.wmv.mp4':
Duration: 00:01:09.14, start: 0.000000, bitrate: 246 kb/s
Stream #0.0(und): Video: h264, yuv420p, 512x288, 30.00 tb(r)
Stream #0.1(eng): Audio: libfaad, 22050 Hz, mono
Stream #0.2(und): Data: rtp / 0x20707472
Stream #0.3(und): Data: rtp / 0x20707472
Must supply at least one output file
PS: I posted as a new message since I kept receving Udeliverable mail
replies
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user