LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-13-2015, 02: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.
Code:
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, 12 views)
File Type: txt strace_as_root.txt (220.0 KB, 12 views)

Last edited by Roronoa Zoro; 10-13-2015 at 11:43 AM. Reason: added some more debug info
 
Old 10-13-2015, 06:54 PM   #2
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , ChromeOS
Posts: 4,916
Blog Entries: 19

Rep: Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133
Code:
harry@mx1:~
$ 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, 12:33 PM   #3
Roronoa Zoro
LQ Newbie
 
Registered: Aug 2015
Posts: 3

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


Reply


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 08:33 PM
How do I play streaming audio from the command line? lothario Linux - Software 8 11-29-2008 12:00 PM
Burnt Audio CD by K3B CANNOT play on external CD playing device, but can play on comp robin.com.au Linux - Software 14 05-27-2007 05:30 AM
play audio mp3 files from command line? runlevel <5 carl0ski Linux - Software 3 12-02-2004 05:58 AM


All times are GMT -5. The time now is 06:09 PM.

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