lps 发表于 2023-8-24 17:20:07

ffmedia的demo程序问题

执行# ./demo GuYongZhe.mp4 -o 1920x1080 -d 0
视频被加速播放了,怎么设置成正常播放速度?

Firefly FFMedia: v2.1.2
INFO: ff_media: start_instance:

==========================================
INFO: ff_media: start_instance: enable file reader
mpp: mpp_rt: NOT found ion allocator
mpp: mpp_rt: found drm allocator
mpp: mpp_info: mpp version: 8a85dc5d author: Herman Chen   2022-03-14 : Fix stuck on reset async mode encoder
INFO: 15DrmDisplayPlane: setupDisplayDevice: 0 0
INFO: 15DrmDisplayPlane: setupDisplayDevice: conn_id = 107 enc_id = 108 crtc_id = 71
INFO: 15DrmDisplayPlane: setup: plane_id = 73
INFO: ff_media: start_instance: t_h t_v 1920 1080
INFO: ff_media: start_instance: hc vc 1 1
INFO: ff_media: start_instance: dw dh 1920 1080
INFO: ff_media: start_instance: w h 1920 1080
INFO: ff_media: start_instance: x y w h 0 0 1920 1080
INFO: ff_media: start_instance:
Input Source:   GuYongZhe.mp4
Input format:   1920x1080 H264
Output format:1920x1080 NV12
Encode type:    H264
Decoder:      enable
Rga:            disable
Encoder:      disable
RtspClient:   disable
File writer:    disable
File:         disable
Rtsp push:      disable
==================Pipe===================
ModuleFileReader (H264 1920x1080)
   |--->ModuleMppDec (NV12 1920x1080)
         |--->ModuleDrmDisplay (NV12 1920x1080)

rga_api version 1.3.0_ (RGA is compiling with meson base: $PRODUCT_BASE)
INFO: 16ModuleDrmDisplay: setupWindow: input NV12 0 0 1920 1080 1920 1088
INFO: 16ModuleDrmDisplay: setupWindow: output NV12 0 0 1920 1080 1920 1080
INFO: 10MppDecoder: getTimeoutSample: 0x5588f21080 frame info changed 1 error 0 discard 0
INFO: 12ModuleMppDec: work: Productor is EOS or Stoped
INFO: 12ModuleMppDec: work: Consume end of stream
INFO: 16ModuleDrmDisplay: work: Productor is EOS or Stoped
INFO: 16ModuleDrmDisplay: work: Consume end of stream




lps 发表于 2023-8-24 17:40:08

知道了,需要加同步,--sync=video
页: [1]
查看完整版本: ffmedia的demo程序问题