why my mplayer is playing noise

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why my mplayer is playing noise

2,011 Views
swaraj
Contributor II

I compiled mplayer for IMX53 QSB and when i play audio file using mplayer it produces noise rather than playing music. I tried mp3 ogg wav formats and the result was noise. Can anybody tell me how to use mplayer and do i need to enable something to play audio well.

 

./mplayer abc.mp3 (this was the command that i used).

Labels (1)
0 Kudos
Reply
7 Replies

1,638 Views
LeonardoSandova
Specialist I

Can you play it with gplay, totem or gst-lauch? I just want to discard this is not a media file issue.

leo

0 Kudos
Reply

1,638 Views
小辉尤
Contributor III

??

0 Kudos
Reply

1,639 Views
小辉尤
Contributor III

hi:

     First,Thank you for your reply!

The following is my test results:

(1)gst-launch

gst-launch playbin2 uri=file:///yujian.avi, the video played good.

freescale IMX535:

#root@freescale /$ gst-launch playbin2 uri=file:///yujian.avi

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstAudioSinkClock

test:  mp4--OK ts--ok    wmv--ok  flv--ok  wma--ok avi--ok mkv--ok  //rmvb--no ,swf--no

rmvb failed:

root@freescale /$ gst-launch playbin2 uri=file:///mingyanghuagu.rmvb

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

[INFO]  Product Info: i.MX53

VPU Version: firmware 1.4.41; libvpu: 5.3.2

MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Sep 18 2013 01:42:31.

MFW_GST_V4LSINK_PLUGIN 2.0.3 build on Sep 18 2013 01:43:10.

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

Got EOS from element "playbin20".

Execution ended after 1247625 ns.

Setting pipeline to PAUSED ...

total time:0:00:00.004183250 ,Render fps:0

Setting pipeline to READY ...

Total rendered:0

>>VPU_DEC: State: Ready to Null

Setting pipeline to NULL ...

[--->FINALIZE v4l_sink

[--->FINALIZE vpu_dec

Freeing pipeline ...

root@freescale /$

(2) gplay   //gplay and gst-launch has the same problem.(test:  mp4--OK ts--ok    wmv--ok  flv--ok  wma--ok avi--ok mkv--ok  //rmvb--no ,swf--no)

root@freescale /video$ gplay hls.rmvb

playbin2 is employed!

fsl_player_init(): Successfully initialize!

fsl_player_set_media_location(): filename=hls.rmvb

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0][INFO]     Product Info: i.MX53

VPU Version: firmware 1.4.41; libvpu: 5.3.2

MFW_GST_VPU_DECODER_PLUGIN 2.0.3 build on Oct 14 2013 17:26:37.

[Stopped  ][Vol=01][00:00:00/00:00:00][fps:0]FOUND GST_MESSAGE_TAG!

    audio codec: Real Audio G2 (Cook)

FOUND GST_MESSAGE_TAG!

    video codec: Real Video 4.0

Wait status change from 2 to 4

MFW_GST_V4LSINK_PLUGIN 2.0.3 build on Oct 14 2013 17:26:59.

Wait status change from 2 to 4

Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4

Debug: VPU Decoder Initialization failed

Error: fatal error

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]Wait status change from 2 to 4

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]^C Aborted by signal Interrupt...

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]x

[Stopped  ][Vol=01][00:00:00/5124095:34:33][fps:0]^C Aborted by signal Interrupt...

root@freescale /video$ ls

(3) totem    //why? how to use it?

root@freescale /video$ totem zhongguoweidao.mkv

Cannot open display:

Run 'totem --help' to see a full list of available command line options.

root@freescale /video$

(4)mplay

Mplay can play  all video format well,but the voice is not normal!!

(test:  mp4--OK ts--ok    wmv--ok  flv--ok  wma--ok avi--ok mkv--ok  rmvb--ok ,swf--no)

root@freescale ~$ mplayer -ao help

MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team

Available audio output drivers:

oss OSS/ioctl audio output

mpegpes DVB audio output

v4l2 V4L2 MPEG Audio Decoder output

null Null audio output

pcm RAW PCM/WAVE file writer audio output



**********************************

Thats all!!


The most important thing is that I want to play RMVB,but gplay 、gst-lanuch and totem can't play rmvb.I dont't know how to do.Thank you!!

0 Kudos
Reply

1,638 Views
asv
Contributor I

I can play mp3 on i.MX53 QSB with mplayer built with Buildroot.     mplayer -ao alsa mp3.mp3 mplayer built with ltib has no alsa support (as you can see with mplayer -ao output).

0 Kudos
Reply

1,638 Views
小辉尤
Contributor III

在线安装的mplayer的音频输出:

lucid@lucid-desktop:/mplayer-arm9/song$ mplayer -ao help

MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team

Available audio output drivers:

alsa ALSA-0.9.x-1.x audio output

mpegpes DVB audio output

v4l2 V4L2 MPEG Audio Decoder output

null Null audio output

pcm RAW PCM/WAVE file writer audio output

0 Kudos
Reply

1,639 Views
小辉尤
Contributor III

YES

hi,

now,mplayer have alsa output,but it can't play HD video smoothly! Thank you!!

ltib编译的mplayer的视频输出(ubuntu9.04):

root@freescale /song$ mplayer -vo help

MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team

Available video output drivers:

fbdev Framebuffer Device

fbdev2 Framebuffer Device

v4l2 V4L2 MPEG Video Decoder Output

null Null video output

mpegpes Mpeg-PES to DVB card

yuv4mpeg yuv4mpeg output for mjpegtools

png PNG file

jpeg JPEG file

tga Targa output

pnm PPM/PGM/PGMYUV file

md5sum md5sum of each frame

ltib编译的mplayer的视频输出(ubuntu10.04):

root@freescale /song$ mplayer -vo help

MPlayer 1.0rc2-4.4.4 (C) 2000-2007 MPlayer Team

Available video output drivers:

x11 X11 ( XImage/Shm )

xover General X11 driver for overlay capable video output drivers

fbdev Framebuffer Device

fbdev2 Framebuffer Device

v4l2 V4L2 MPEG Video Decoder Output

null Null video output

mpegpes Mpeg-PES to DVB card

yuv4mpeg yuv4mpeg output for mjpegtools

png PNG file

jpeg JPEG file

tga Targa output

pnm PPM/PGM/PGMYUV file

md5sum md5sum of each frame

0 Kudos
Reply

1,639 Views
小辉尤
Contributor III

I have the same question!! why??

0 Kudos
Reply