[問題] arm版ffplay使用問題
因測試需要有一個可以在arm system play video audio 的player
我使用了ffmpeg
也做出arm版本有安裝 SDL SDL2 alsa-lib alsa-utils 及相關lib
但play mp3出現以下問題
[root@FriendlyARM opt]# ffplay g.mp3
ffplay version 2.8.2 Copyright (c) 2003-2015 the FFmpeg developers
built with gcc 4.8.5 (crosstool-NG crosstool-ng-1.22.0)
configuration: --enable-cross-compile --arch=arm --target-os=linux
--enable-static --cc=arm-unknown-linux-gnueabi-gcc --enable-shared
--enable-small --enable-gray --enable-libx264 --enable-gpl
--prefix=/home/martin/new_rootfs/
--extra-cflags=-I/home/martin/new_rootfs/include
--extra-ldflags=-L/home/martin/new_rootfs/lib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mp3 @ 0x430004a0] Skipping 0 bytes of junk at 1064.= 0B f=0/0
Input #0, mp3, from 'g.mp3':aq= 0KB vq= 0KB sq= 0B f=0/0
Metadata:
major_brand : M4A
minor_version : 512
compatible_brands: isomiso2
title : 『?????』???? GODZILLA by 伊福部 昭 -piano cover
artist : mimiPianoClass
date : 20140216
description : 伊福部 昭?1954年?映?『???』????書?下??????曲?、
?????????-??編曲????。?譜?????手?入???。
: http://www.dlmarket.jp/products/detail/256708
: You can get the sheet music if you would like.
comment : 伊福部 昭?1954年?映?『???』????書?下??????曲?、
?????????-??編曲????。?譜?????手?入???。
: http://www.dlmarket.jp/products/detail/256708
: You can get the sheet music if you would like.
encoder : Lavf54.63.104
Duration: 00:00:52.45, start: 0.025057, bitrate: 255 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 255 kb/s
SDL: could not set video mode - exiting
^^^
我不知它說的video mode 設定是指那裡
我有翻過說明文件有加了以下path
[root@FriendlyARM opt]# env
TSLIB_ROOT=/usr/local/tslib
TSLIB_TSDEVICE=/dev/input/event0
USER=root
SDL_MOUSEDEV=/dev/input/event0
LD_LIBRARY_PATH=/usr/local/tslib/lib
OLDPWD=/
TERMINFO=/usr/share/terminfo
HOME=/
TSLIB_FBDEVICE=/dev/fb0
PS1=[\u@\h \W]\#
TSLIB_PLUGINDIR=/usr/local/tslib/lib/ts
TSLIB_CONSOLEDEVICE=none
LOGNAME=root
SDL_NOMOUSE=1
SDL_MOUSEDRV=TSLIB
TERM=vt100
SDL_FBDEV=/dev/fb0
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/share/alsa:/usr/local/tslib/bin
TSLIB_CONFFILE=/usr/local/tslib/etc/ts.conf
SHELL=/bin/sh
SDL_VIDEODRIVER=fbcon
PWD=/opt
ALSA_CONFIG_PATH=/usr/share/alsa/alsa.conf
TSLIB_CALIBFILE=/etc/pointercal
不是很明白SDL 要的video mode 是什麼
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.133.186.234
※ 文章網址: https://www.ptt.cc/bbs/LinuxDev/M.1452691947.A.2F2.html
→
01/25 02:54, , 1F
01/25 02:54, 1F
→
01/26 09:27, , 2F
01/26 09:27, 2F
→
01/27 18:12, , 3F
01/27 18:12, 3F
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章