刚刚查看了堆栈溢出问题post链接
发现了另一个
尝试用视频视图和表面视图来实现。
--http web link video is coming.
--http using VLC player no video
--rtsp using VLC player no video.
我正在使用Android客户端的代码。
package com.weeklybuild.rtspviewer;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.net.
我正在通过RTSP从IP摄像机捕获JPEG图像。我使用live555 + libavcodec对MJPEG图像进行流式传输和解码。在图像分辨率为2048 x 1920的情况下,该流可以很好地工作。但是当我将图像宽度增加到2048以上时,我得到了一个非常小宽度的条形矩形图像(即544x1920)。正确捕获图像并将其保存在相机上。只有当我通过RTSP将图像流式传输到PC时,才会出现问题。对于高分辨率的MJPEG,RTP中是否有负载限制?
我试图通过gstreamer查看rtsp流,但当我运行以下命令时: gst-launch-1.0 rtspsrc location=rtsp://admin:@192.168.1.27:554/ch0_0.264 ! videoconvert ! video/x-raw ! autovideosink 它在这里阻塞,不显示任何内容。 Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED