[Libav-user] My code stops at avformat_find_stream_info()

Dídac Pérez perez.didac at gmail.com
Thu Dec 5 13:42:03 CET 2013


Carl, I missed one line before   nan : 0.000 fd= ...................:

UPD timeout, retrying with TCP=   0KB vq =    0KB sq=    0KB  f=0/0. I have
an exact camera in my office and it works:
Input #0, rtsp, from 'rtsp://192.168.1.198/video':sq=    0B f=0/0
  Metadata:
    title           : LIVE VIEW
  Duration: N/A, start: 0.266644, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
7.50
tbr, 90k tbn, 180k tbc
   8.64 M-V: -0.043 fd=  15 aq=    0KB vq=  159KB sq=    0B f=1/0

I don't understand what is happening. It's not a network issue since VLC is
playing the video...




--
Dídac Pérez



2013/12/5 Dídac Pérez <perez.didac at gmail.com>

> I am using the snapshot 20130706, Windows built from Zeranoe<http://ffmpeg.zeranoe.com/builds/>.
> Yes, ffplay is not able to play the stream, but VLC can play it!  This is
> the output of ffplay.
>
> C:\Program Files\IMAGSA\AtalaiaControlSoftware\ffmpeg>ffplay rtsp://
> 192.168.1.19
> 8/video
> ffplay version N-54499-g63d7684 Copyright (c) 2003-2013 the FFmpeg
> developers
>   built on Jul  6 2013 10:32:51 with gcc 4.7.3 (GCC)
>   configuration: --disable-static --enable-shared --enable-gpl
> --enable-version3
>  --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
> --ena
> ble-frei0r --enable-gnutls --enable-iconv --enable-libass
> --enable-libbluray --e
> nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
> --enable-lib
> modplug --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrw
> b --enable-libopenjpeg --enable-libopus --enable-librtmp
> --enable-libschroedinge
> r --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libtwolame --en
> able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
> --enable-libvpx --e
> nable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
>   libavutil      52. 38.100 / 52. 38.100
>   libavcodec     55. 18.102 / 55. 18.102
>   libavformat    55. 11.101 / 55. 11.101
>   libavdevice    55.  2.100 / 55.  2.100
>   libavfilter     3. 78.102 /  3. 78.102
>   libswscale      2.  3.100 /  2.  3.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  3.100 / 52.  3.100
>     nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
>
> --
> Dídac Pérez
>
>
>
> 2013/12/5 Carl Eugen Hoyos <cehoyos at ag.or.at>
>
>> Dídac Pérez <perez.didac at ...> writes:
>>
>> > I am using ffmpeg to retrieve the RTSP stream from a
>> > network IP camera, concretely a Bosch Dinion HD 720p.
>> >
>> > When I run my code, it stucks in avformat_find_stream_info()
>>
>> Is this reproducible with ffmpeg (the application)?
>>
>> Carl Eugen
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131205/489ffcab/attachment.html>


More information about the Libav-user mailing list