Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2015, 01:36 AM   #1
Roronoa Zoro
LQ Newbie
Registered: Aug 2015
Posts: 3

Rep: Reputation: Disabled
gstreamer: play-pause of audio file hangs with gst-play command on Raspberry pi 2

I am trying to play-pause an audio file using gst-play-1.0 command on my RPi2 which is running on Raspbian.
gst-play-1.0 myfile.mp3 --interactive --audiosink=alsasink
The command works fine when I am logged in as the root. But when I login as the user pi, pause-resume hangs.
Logging in as pi and using sudo gst-play... also does not work.
I tried to debug using strace separately as root and pi. But could not understand much. I have attached the strace info.
I ran the gst-play command with GST_DEBUG=3. The logs can be found the links gst_log_as_root and gst_log_as_pi.
How can I resolve this? Any help would be really appreciated.
Attached Files
File Type: txt strace_as_pi.txt (193.8 KB, 26 views)
File Type: txt strace_as_root.txt (220.0 KB, 22 views)

Last edited by Roronoa Zoro; 10-13-2015 at 10:43 AM. Reason: added some more debug info
Old 10-13-2015, 05:54 PM   #2
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,162
Blog Entries: 21

Rep: Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485
$ groups
harry lp dialout cdrom floppy sudo audio dip video plugdev users netdev lpadmin scanner
I'm not on a PI. Also I am on Alpha 3 MX-15 testing. Make sure you are on video/audio group as user like I am.

I know nada about PI's myself.
Old 10-14-2015, 11:33 AM   #3
Roronoa Zoro
LQ Newbie
Registered: Aug 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Checked..I am on video audio group..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
audio cds won't mount/play but dvds in same drives play. Running SW12.2current. lestoil Slackware 6 05-28-2009 07:33 PM
How do I play streaming audio from the command line? lothario Linux - Software 8 11-29-2008 11:00 AM
Burnt Audio CD by K3B CANNOT play on external CD playing device, but can play on comp Linux - Software 14 05-27-2007 04:30 AM
play audio mp3 files from command line? runlevel <5 carl0ski Linux - Software 3 12-02-2004 04:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration