gst-launch-1.0 filesrc location=1.mp4 ! qtdemux ! queue ! h264parse ! mppvideodec ! waylandsink "render-rectangle=<0,0,1920,1080>"
gst-launch-1.0 filesrc location=4kl.mp4 ! qtdemux ! queue ! h264parse ! mppvideodec ! waylandsink "render-rectangle=<0,0,1920,1080>"
20250322在荣品的PRO-RK3566开发板的buildroot系统下使用GStreamer播放mp4视频
2025/3/22 10:15
完整的LOG:
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# ll
total 112
drwxr-xr-x 24 root root 4096 Aug 4 2017 ./
drwxr-xr-x 24 root root 4096 Aug 4 2017 ../
drwxr-xr-x 3 root root 4096 Aug 4 2017 .cache/
drwx------ 3 root root 4096 Aug 4 2017 .config/
-rw-r--r-- 1 root root 0 Aug 4 2017 .resized
-rw-r--r-- 1 root root 0 Mar 12 11:25 .skip_fsck
-rw-r--r-- 1 root root 0 Aug 4 2017 640x512-at600.mp4
lrwxrwxrwx 1 root root 7 Mar 21 10:48 bin -> usr/bin/
-rw-r--r-- 1 root root 489 Mar 12 11:25 busybox.fragment
lrwxrwxrwx 1 root root 8 Mar 21 14:10 data -> userdata/
drwxr-xr-x 15 root root 4940 Aug 4 2017 dev/
drwxr-xr-x 25 root root 4096 Aug 4 2017 etc/
drwxr-xr-x 2 root root 4096 Mar 21 14:10 info/
lrwxrwxrwx 1 root root 7 Mar 21 10:48 lib -> usr/lib/
lrwxrwxrwx 1 root root 3 Mar 21 10:48 lib64 -> lib/
lrwxrwxrwx 1 root root 11 Mar 21 11:19 linuxrc -> bin/busybox*
drwx------ 2 root root 16384 Mar 21 14:12 lost+found/
drwxr-xr-x 11 root root 4096 Mar 21 12:22 media/
drwxr-xr-x 5 root root 4096 Mar 21 14:10 mnt/
drwxr-xr-x 2 root root 4096 Mar 21 12:31 oem/
drwxr-xr-x 3 root root 4096 Mar 21 12:22 opt/
dr-xr-xr-x 229 root root 0 Aug 4 2017 proc/
drwxr-xr-x 16 root root 4096 Mar 21 14:06 rockchip-test/
drwx------ 2 root root 4096 Mar 12 11:25 root/
drwxr-xr-x 7 root root 4096 Mar 12 11:25 rp_stress_test/
drwxr-xr-x 31 root root 4096 Mar 12 11:25 rp_test/
drwxr-xr-x 11 root root 520 Aug 4 2017 run/
lrwxrwxrwx 1 root root 8 Mar 21 10:48 sbin -> usr/sbin/
lrwxrwxrwx 1 root root 10 Mar 21 14:10 sdcard -> mnt/sdcard/
dr-xr-xr-x 14 root root 0 Aug 4 2017 sys/
drwxr-xr-x 3 root root 4096 Mar 21 14:10 system/
drwxrwxrwt 6 root root 280 Aug 4 2017 tmp/
-rwxr-xr-x 1 root root 18608 Aug 4 2017 uart_test*
lrwxrwxrwx 1 root root 9 Mar 21 14:10 udisk -> mnt/udisk/
drwxr-xr-x 3 root root 4096 Aug 4 2017 userdata/
drwxr-xr-x 8 root root 4096 Mar 21 14:10 usr/
drwxr-xr-x 6 root root 4096 Mar 21 14:12 var/
lrwxrwxrwx 1 root root 6 Mar 21 14:10 vendor -> system/
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# cd /sdcard
root@rk3566-buildroot:/sdcard# ll
total 2456740
drwxr-xr-x 18 root root 32768 Jan 1 1970 ./
drwxr-xr-x 5 root root 4096 Mar 21 14:10 ../
-rwxr-xr-x 1 root root 256579786 Jan 1 1980 101#7200-9500-1080p60.mp4*
-rwxr-xr-x 1 root root 253666012 Jan 1 1980 103#7200-9500-1080p60.mp4*
-rwxr-xr-x 1 root root 260507330 Jan 1 1980 107#7200-9520-1080p60.mp4*
-rwxr-xr-x 1 root root 245338809 Jan 1 1980 109#7200-9500-1080p60.mp4*
-rwxr-xr-x 1 root root 239238284 Jan 1 1980 111#7200-9520-1080p60.mp4*
-rwxr-xr-x 1 root root 250308760 Jan 1 1980 112#7200-9500-1080p60.mp4*
-rwxr-xr-x 1 root root 237717540 Jan 1 1980 118#7200-9500-1080p60.mp4*
-rwxr-xr-x 1 root root 236421999 Jan 1 1980 119#7200-9500-1080p60.mp4*
-rwxr-xr-x 1 root root 236858200 Jan 1 1980 119#7200-9520-1080p60.mp4*
-rwxr-xr-x 1 root root 242216177 Jan 1 1980 120#7200-9500-1080p60.mp4*
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Alarms/
drwxr-xr-x 4 root root 32768 Dec 10 20:06 Android/
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Audiobooks/
drwxr-xr-x 2 root root 32768 Aug 4 2017 DCIM/
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Documents/
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Download/
drwxr-xr-x 2 root root 32768 Jan 7 22:14 LOST.DIR/
drwxr-xr-x 3 root root 32768 Dec 10 19:59 Movies/
drwxr-xr-x 3 root root 32768 Dec 10 19:59 Music/
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Notifications/
drwxr-xr-x 3 root root 32768 Dec 10 19:59 Pictures/
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Podcasts/
-rwxr-xr-x 1 root root 56008000 Jan 7 22:12 'QGroundControl64 (1).apk'*
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Recordings/
drwxr-xr-x 2 root root 32768 Jan 15 18:37 Ringtones/
drwxr-xr-x 2 root root 32768 Dec 10 22:23 'System Volume Information'/
-rwxr-xr-x 1 root root 27 Aug 4 2017 rpdzkj.txt*
-rwxr-xr-x 1 root root 18608 Jun 11 2024 uart_test*
drwxr-xr-x 2 root root 32768 Mar 22 2025 新建文件夹/
root@rk3566-buildroot:/sdcard#
root@rk3566-buildroot:/sdcard#
ngle=<0,0,1920,1080>"queue ! h264parse ! mppvideodec ! waylandsink "render-recta
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Prerolled, waiting for async message to finish...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Date: 2025-03-22 CST
[10:20:53.097] seeing the first app
Got EOS from element "pipeline0".
Execution ended after 0:02:00.020845934
Setting pipeline to NULL ...
Freeing pipeline ...
root@rk3566-buildroot:/sdcard#
root@rk3566-buildroot:/sdcard# poweroff
root@rk3566-buildroot:/sdcard# Stopping input-event-daemon: done
Starting mobilenet:OK
alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
-i use default asound.conf
Not stop quntionstop auto-reboot finished
Stopping dnsmasq: OK
Stopping pulseaudio: E: [pulseaudio] main.c: Failed to kill daemon: No such process
OK
Stopping dropbear sshd: OK
stoping weston... [10:23:18.743] caught signal 15
done.
[10:23:18.750] event4 - adc-keys: device removed
Stopping ntpd: OK
Stopping dhcpcd...
no /sbin/dhcpcd found; none killed
[10:23:18.793] event0 - rk805 pwrkey: device removed
killall: rkaiq_3A_server: no process killed
[10:23:18.819] event3 - hdmi_cec_key: device removed
Stopping network: [10:23:18.848] event2 - gpio_event: device removed
OK
Stopping bluetoothd: OK
Stopping Wi-Fi/BT...
Stopping iptables: OK
Stopping system message bus: done
Saving random seed: OK
Stopping irqbalance: OK
Stopping klogd: OK
Stopping syslogd: OK
no stop function
[ 330.860963] ffs_data_put(): freeing
umount: /var/log: target is busy.
umount: /run: target is busy.
[ 330.877437] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp1
[ 330.883798] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
[ 330.910925] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
W: [pulseaudio] pid.c: Failed to open PID file '/tmp/pulse-jevNvr6htAP6/pid': Read-only file system
[ 330.945581] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1920x1080p60, type: 11(if:800, flag:0x0) for vp0 dclk: 148500000
W: [pulseaudio] pid.c: Failed to open PID file '/tmp/pulse-jevNvr6htAP6/pid': Read-only file system
[ 330.979314] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1024x600p61, type: 16(if:20, flag:0x0) for vp1 dclk: 51000000
[ 331.538758] dw-mipi-dsi-rockchip fe060000.dsi: [drm:dw_mipi_dsi_bridge_enable] final DSI-Link bandwidth: 480 x 4 Mbps
Sent SIGKILL to all processes
Requesting system poweroff
[ 332.827886] sched: RT throttling activated
[ 332.900735] rk808 0-0020: reboot: not restore POWER_EN
[ 333.276145] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[ 333.312757] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp1
[ 333.342232] mpp_rkvdec2 fdf80200.rkvdec: shutdown device
[ 333.347581] mpp_rkvdec2 fdf80200.rkvdec: shutdown success
[ 333.353012] mpp_rkvenc fdf40000.rkvenc: shutdown device
[ 333.358273] mpp_rkvenc fdf40000.rkvenc: shutdown success
[ 333.365106] Set signal voltage to initial state
[ 333.382076] fan53555-regulator 0-001c: fan53555..... reset
[ 333.388561] fan53555-regulator 0-001c: reset: force fan53555_reset ok!
[ 333.403867] [WLAN_RFKILL]: Enter rfkill_wlan_shutdown
[ 333.408968] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 333.413708] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 333.419560] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 333.425407] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[ 333.430821] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 0
[ 333.436799] rkisp_hw fdff0000.rkisp: rkisp_hw_shutdown
[ 333.442084] mpp-iep2 fdef0000.iep: shutdown device
[ 333.446904] mpp-iep2 fdef0000.iep: shutdown success
[ 333.451842] mpp_vepu2 fdee0000.vepu: shutdown device
[ 333.456828] mpp_vepu2 fdee0000.vepu: shutdown success
[ 333.461948] mpp_jpgdec fded0000.jpegd: shutdown device
[ 333.467104] mpp_jpgdec fded0000.jpegd: shutdown success
[ 333.472400] mpp_vdpu2 fdea0400.vdpu: shutdown device
[ 333.477387] mpp_vdpu2 fdea0400.vdpu: shutdown success
[ 333.482778] xhci-hcd xhci-hcd.1.auto: remove, state 4
[ 333.487864] usb usb8: USB disconnect, device number 1
[ 333.493826] xhci-hcd xhci-hcd.1.auto: USB bus 8 deregistered
[ 333.499886] xhci-hcd xhci-hcd.1.auto: remove, state 4
[ 333.505006] usb usb7: USB disconnect, device number 1
[ 333.511154] xhci-hcd xhci-hcd.1.auto: USB bus 7 deregistered
[ 333.518285] xhci-hcd xhci-hcd.0.auto: remove, state 4
[ 333.523384] usb usb6: USB disconnect, device number 1
[ 333.529431] xhci-hcd xhci-hcd.0.auto: USB bus 6 deregistered
[ 333.535427] xhci-hcd xhci-hcd.0.auto: remove, state 4
[ 333.540579] usb usb5: USB disconnect, device number 1
[ 333.546813] xhci-hcd xhci-hcd.0.auto: USB bus 5 deregistered
[ 333.557375] reboot: Power down