LinHES Forums http://forum.linhes.org/ |
|
Playing ASX streams using mplayer in R5A16? http://forum.linhes.org/viewtopic.php?f=6&t=5621 |
Page 1 of 1 |
Author: | jac1d [ Mon Aug 08, 2005 2:36 pm ] |
Post subject: | Playing ASX streams using mplayer in R5A16? |
Back on R4V3 I had mplayer happily playing both Shoutcast mp3 streams as well as ASX streams from other Internet radio stations using the trick of having a text file for each station in my mythvideo directory and just passing the URL to mplayer. Now, for some reason, even if I do it live on the command line, mplayer doesn't like to play ASX (WMA?) based streams for me. Here is an example of what happens: Code: mythtv@mythtv:/myth/video$ mplayer http://www.jr-digital.com/asx/chtt.asx
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. Failed to open /dev/rtc: Permission denied (it should be readable by the user.) Setting up LIRC support... Playing http://www.jr-digital.com/asx/chtt.asx. Resolving www.jr-digital.com for AF_INET6... Couldn't resolve name for AF_INET6: www.jr-digital.com Resolving www.jr-digital.com for AF_INET... Connecting to server www.jr-digital.com[209.250.128.5]:80 ... Resolving www.jr-digital.com for AF_INET6... Couldn't resolve name for AF_INET6: www.jr-digital.com Resolving www.jr-digital.com for AF_INET... Connecting to server www.jr-digital.com[209.250.128.5]:80 ... size_confirm mismatch!: 22611 28271 Error while parsing chunk header Trying default streaming for http protocol Resolving www.jr-digital.com for AF_INET6... Couldn't resolve name for AF_INET6: www.jr-digital.com Resolving www.jr-digital.com for AF_INET... Connecting to server www.jr-digital.com[209.250.128.5]:80 ... Cache size set to 320 KBytes Connected to server: www.jr-digital.com Cache fill: 0.04% (126 bytes) Exiting... (End of file) Any suggestions greatly appreciated. I have multiple feeds now doing this. Thanks, -Jeff |
Author: | jac1d [ Sat Aug 20, 2005 7:02 am ] |
Post subject: | |
Woohoo! I found the solution via google on a debian discussion list: Quote: Scott Berry wrote: Hi there, Is anyone aware of a player which will play .asx files. I have checked out mplayer and they do not support asx as either a video codec or an audio codec. Thanks for the help. Quote: 'less'
![]() I did a wget on the URL that used to work, then cat'd the file and sure enough, embedded in the file was the info on the real location of the stream. I pointed MPlayer at that, and Shazam! So... it would appear I resinstalled MPlayer for nothing... unless I the codec package is not included in the knoppmyth distro? -Jeff |
Author: | cesman [ Sat Aug 20, 2005 3:55 pm ] |
Post subject: | |
KnoppMyth doesn't inculde support for patent incumbered codecs. |
Author: | jac1d [ Sat Aug 20, 2005 6:51 pm ] |
Post subject: | |
Thanks for clarifying Cecil. For anyone who wants to give it a try, adding the codecs from the MPlayer website and recompiling is very straightfoward and is well covered in the INSTALL file that comes with MPlayer. I did an apt-get remove mplayer to pull out the installed one first, then just followed the text file. Very smooth. The only thing I did was symlink /usr/bin/mplayer to the new install location. -Jeff |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |