LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2018, 06:45 PM   #5206
x-9er
LQ Newbie
 
Registered: Mar 2018
Posts: 24

Rep: Reputation: Disabled

Quote:
Originally Posted by chrisVV View Post
You wrote:

Code:
streamlink_args:  '-l debug --ffmpeg-ffmpeg /usr/local/bin/ffmpeg --ffmpeg-verbose --hls-audio-select "English Radio,Natural Sound"'
Try:

Code:
streamlink_args: --ffmpeg-ffmpeg /usr/local/bin/ffmpeg --ffmpeg-verbose --hls-audio-select 'English Radio,Natural Sound'
Your additional quotes may be causing a parsing error.
Nope, hangs after invoking the first ffmpeg input. As it does if I add any --hls-audio-select since re-building everything under python3.

Code:
Traceback (most recent call last):
  File "/usr/local/bin/mlbplay", line 11, in <module>
    load_entry_point('mlbstreamer==0.0.10', 'console_scripts', 'mlbplay')()
  File "/usr/local/lib/python3.6/site-packages/mlbstreamer/play.py", line 339, in main
    proc.wait()
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1457, in wait
    (pid, sts) = self._try_wait(0)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1404, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
 
Old 05-16-2018, 04:12 AM   #5207
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by x-9er View Post
Nope, hangs after invoking the first ffmpeg input. As it does if I add any --hls-audio-select since re-building everything under python3.

Code:
Traceback (most recent call last):
  File "/usr/local/bin/mlbplay", line 11, in <module>
    load_entry_point('mlbstreamer==0.0.10', 'console_scripts', 'mlbplay')()
  File "/usr/local/lib/python3.6/site-packages/mlbstreamer/play.py", line 339, in main
    proc.wait()
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1457, in wait
    (pid, sts) = self._try_wait(0)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1404, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
Oh, you are using an Apple. streamlink and mlbstreamer are probably not well tested under OS X. It is quite probably a bug in streamlink but I should file an issue for mlbstreamer in the first instance.
 
Old 05-16-2018, 05:15 AM   #5208
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
We are gonna face a test today: A game from yesterday resuming after being suspended because of weather
 
1 members found this post helpful.
Old 05-16-2018, 08:22 AM   #5209
x-9er
LQ Newbie
 
Registered: Mar 2018
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
Oh, you are using an Apple. streamlink and mlbstreamer are probably not well tested under OS X. It is quite probably a bug in streamlink but I should file an issue for mlbstreamer in the first instance.
Streamlink is solid under MacOS (I use it for work daily) other than that it strangely commands a ton of disk resources to the point that running numerous instances causes writes from other applications to fail... on an NVME drive, even.
 
Old 05-16-2018, 03:59 PM   #5210
Redbullsnation
LQ Newbie
 
Registered: Jun 2014
Posts: 21

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisVV View Post
Yes it works fine, apart from the fact that sometimes the radio audio is a little out of sync. Probably you are not using ffmpeg-4, or have an insufficiently recent version of streamlink.
In that case, I'm gonna be waiting for a new version of mlbstreamer. I'm using cygwin and I've modified the config file and only got TV audio
 
Old 05-28-2018, 03:42 PM   #5211
Acook3
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
First of all, thank you to all the participants on the thread. Problem solved a few items already.

That being said, when I select a stream, I get this error:
Code:
:~/.local/bin$ python mlbplay stl
Traceback (most recent call last):
  File "mlbplay", line 11, in <module>
    sys.exit(main())
  File "/home/andrew/.local/lib/python2.7/site-packages/mlbstreamer/play.py", line 337, in main
    output = options.save_stream,
  File "/home/andrew/.local/lib/python2.7/site-packages/mlbstreamer/play.py", line 211, in play_stream
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
I've searched and searched and cannot seem to find what is going wrong. Thanks in advance for you help!
 
Old 05-28-2018, 03:45 PM   #5212
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
Sounds like the video player you selected during initialization cannot be found.

What video player is in your ~/.config/mlbstreamer/config.yaml file? Is it correct?
 
Old 05-28-2018, 03:48 PM   #5213
Acook3
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Seems to be:
Code:
player: !!python/unicode '/snap/bin/vlc'
However, upon navigating to the location, there is no 'bin' folder for VLC. If it is not located there, any ideas where it might be?
 
Old 05-28-2018, 03:49 PM   #5214
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
Quote:
Originally Posted by Acook3 View Post
Seems to be:
Code:
player: !!python/unicode '/snap/bin/vlc'
However, upon navigating to the location, there is no 'bin' folder for VLC. If it is not located there, any ideas where it might be?
Try "which vlc"? Or "locate vlc"?
 
Old 05-28-2018, 03:55 PM   #5215
Acook3
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by mkomko View Post
Try "which vlc"? Or "locate vlc"?
"locate vlc" came back with results too long to post.

However, "which vlc" came back with :"/snap/bin/vlc"

Not sure what is going on. Also, in the MLBStreamer log, I am getting:

Code:
[    INFO] mlbstreamer starting
2018-05-28 13:52:06 [            play:113 ] [    INFO] playing game 530209 at best
2018-05-28 13:52:06 [         session:589 ] [    INFO] getting stream https://edge.svcs.mlb.com/media/5d2f3d5d-5b3d-4521-ab27-034c571446ea/scenarios/browser
2018-05-28 13:52:33 [        __main__:551 ]

Last edited by Acook3; 05-28-2018 at 03:57 PM.
 
Old 05-28-2018, 03:58 PM   #5216
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
Quote:
Originally Posted by Acook3 View Post
"locate vlc" came back with results too long to post.

However, "which vlc" came back with :"/snap/bin/vlc"
Can you start vlc by just entering "/snap/bin/vlc"?
 
Old 05-28-2018, 03:58 PM   #5217
Acook3
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by mkomko View Post
Can you start vlc by just entering "/snap/bin/vlc"?
Yes I can. No issues there.
 
Old 05-28-2018, 04:00 PM   #5218
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
Try removing the extra text and the quotes from the line in the config.yaml so it looks like this:
player: /snap/bin/vlc
 
Old 05-28-2018, 04:02 PM   #5219
Acook3
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by mkomko View Post
Try removing the extra text and the quotes from the line in the config.yaml so it looks like this:
player: /snap/bin/vlc
Same issue when executing without the extra text and quotes.
 
Old 05-28-2018, 04:04 PM   #5220
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
I'm at my wits' end, sorry I couldn't be of more help. I'm sure someone else will help you.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows



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
mlb.com gameday audio stream statmobile Linux - Newbie 6 05-06-2008 10:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 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
Open Source Consulting | Domain Registration