|
发表于 2024-3-5 15:56:19
只看该作者
11#
本帖最后由 wx__AxJ5zO 于 2024-3-5 16:22 编辑
- root@firefly:/home/firefly/demo/ff# python3 demo.py -i /home/firefly/demo/ff/1.mp4 -e 0 -l -p 554
- Firefly FFMedia: v2.2.4
- input source is a regular file.
- INFO: 16ModuleFileReader: init: Get Video Resolution( 1280 x 720 )
- mpp[18612]: mpp_rt: NOT found ion allocator
- mpp[18612]: mpp_rt: found drm allocator
- mpp[18612]: mpp_info: mpp version: 49f29006 author: Jeffy Chen 2021-08-04 [drm]: Add mmap flag detection
- mpp[18612]: mpp_info: mpp version: 49f29006 author: Jeffy Chen 2021-08-04 [drm]: Add mmap flag detection
- mpp[18612]: mpp_enc: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [30:30] gop 60
- mpp[18612]: mpp_enc: send header for set cfg change rc_mode/fps/gop
- mpp[18612]: mpp_enc: mode cbr bps [1920000:2048000:2176000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
- INFO: rtsp_server: rtsp_new_demo: rtsp server demo starting on port 554
- ==================Pipe===================
- ModuleFileReader (H264 1280x720)
- |--->ModuleMppDec (NV12 1280x720)
- |--->ModuleMppEnc (H264 1280x720)
- |--->ModuleRtspServer (Unknow V4L2 Format 0x0)
- wait...INFO: 10MppDecoder: getTimeoutSample: 0x98439a0 frame info changed 1 error 0 discard 0
- INFO: rtsp_server: rtsp_new_client_connection: new rtsp client 192.168.1.5:51540 comming
- INFO: rtsp_server: rtsp_new_rtp_connection: new rtp over udp for video ssrc:22345678 local_port:49152-49153 peer_addr:192.168.1.5 peer_port:51820-5182
复制代码
ffplay rtsp://192.168.1.35:554/live/0 -rtsp_transport tcp 无画面,输出信息如下
- Input #0, rtsp, from 'rtsp://192.168.1.35:554/live/0': 0B f=0/0
- Metadata:
- title : rtsp_demo
- Duration: N/A, start: 0.000000, bitrate: N/A
- Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, 30 fps, 30 tbr, 90k tbn
- nan M-V: nan fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
复制代码
使用MP4及H264推流后,vlc拉流仍然黑屏,
报错有 Unknow V4L2 Format 0x0
|
|