S
S
Siwcore2015-01-06 18:18:26
VLC
Siwcore, 2015-01-06 18:18:26

What codec is needed for ip-cameras via rtsp?

Problem with rtsp stream playback from ip-cameras. Program in c# using the vlc library. I see that I can not set the size of the picture. Sometimes it turns out, and the picture shows. Find out why it doesn't work. Here is the vlc log:
main debug: Stream buffering done (1019 ms in 1018 ms)
main debug: Decoder buffering done in 0 ms
main debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 32x32 chroma: YUVA - > 16x16 chrome:
main debug: using video filter2 module "swscale"
main debug: looking for video filter2 module matching "any": 55 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "vmem": 10 candidates
main debug: VoutDisplayEvent 'fullscreen' 0
main debug: VoutDisplayEvent 'resize' 1280x720 window
main debug: using vout display module "vmem"
main debug: A filter to adapt decoder to display is needed
main debug:looking for video filter2 module matching "any": 55 candidates
swscale debug: 1280x720 chroma: J420 -> 1280x720 chroma: RV32 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (0b55852c) appended to chain
main debug: original format sz 1280x720, of (0,0), vsz 1280x720, 4cc J420, sar 1:1, msk r0x0 g0x0 b0x0
main error: avcodFaiecled debugt: o chusing direct rendering
ange zoom
main error: Failed to set on top
main error: Failed to change source AR
main debug: picture might be displayed late (missing 2 ms)
mux_mp4 warning: i_length <= 0
main debug: picture might be displayed late (missing 13 ms)
main debug: control: stopping input
main debug: removing module "packetizer_h264"
main debug: killing decoder fourcc `h264', 0 PES in FIFO main
debug: removing a sout input (sout_input:098fb5c0 ) ) stopped main debug: killing decoder fourcc `h264', 0 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "packetizer_h264" mux_mp4 debug: removing input main warning: no more input streams for this mux main debug: removing module "live555" main debug: Program doesn't contain anymore ES main debug: destroying useless sout main debug: destroying chain... (name=stream_out_duplicate)
main debug: removing module "stream_out_duplicate"
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: removing module "stream_out_display"
main debug: destroying useless vout
main debug: Filter 0b55852c removed from chain
main debug: removing module "swscale"
main debug: removing module "vmem"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: destroying chain done
main debug: destroying chain ... (name=std)
main debug: removing module "stream_out_standard"
main debug:removing module "mux_mp4"
mux_mp4 debug: Close
mux_mp4 debug: movie duration 2s
mux_mp4 debug: created 1 chunks (stco)
main debug: removing module "access_output_file"
access_output_file debug: file access output closed
main debug: destroying chain done
main debug: destroying chain done
Has anyone encountered a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spetros, 2015-01-06
@Spetros

The codec used depends on the camera. In the documentation for the cameras, what is written?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question