Author |
Message |
tzoom84
|
Posted: Mon Jan 12, 2009 9:00 am |
|
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
|
Thanks Marc for all your help. I got it working following your directions, and made some very slight additions to the Wiki as I went along.
I can't seem to replicate that error you are getting with some of the streams. But if/when it pops up, I'll certainly try to figure out what is going on. I am not sure if the reason is because I've downloaded random codecs and modded/updated ffmpeg to get MythWeb Flash working? Does it happen upon load? Or in the middle of watching?
For others who venture with this, the ubuntu forums also has a helpful thread, which Marc already contributed to.
Some other notes:
1. Don't try fast-forwarding a video until it has buffered a decent amount. Otherwise, it will just end the stream. This can be a bit annoying if you stop a video mid-watch and open it back up later. With this I imagine if your buffer reaches the end, it won't pause like say at Hulu.com and re-buffer, but rather just die?
2. For those that don't like the offensive language, I saw someone on the other forum edited streamsui.cpp. (I didn't bother)
3. I can't seem to get any BBC streams working, but all others work ok. It says flashnormal isn't available. Maybe the links don't exist?
Quote: $ /usr/local/bin/get_iplayer -f --force-download --rtmp -o /var/tmp --file-prefix iplayerdump --get b00gnqcp.mov INFO: Getting tv Index Feeds ................. Matches: 297: Life of Riley - In the Family Way, BBC One, Comedy,Sitcoms,TV, <guidance>, default
INFO: 1 Matching Programmes INFO: Attempting to Download tv: Life of Riley - In the Family Way INFO: Getting version pids for programme b00gnqcp INFO: flashhigh,flashnormal modes will be tried INFO: Attempting to download using flashhigh mode INFO: Checking existence of default version Getting iplayer download URL WARNING: No flashhigh versions available INFO: Attempting to download using flashnormal mode INFO: Checking existence of default version Getting iplayer download URL WARNING: No flashnormal versions available ERROR: Failed to download 'Life of Riley - In the Family Way'
P.S. Someone please let me know if discussing the optional NZB feature of MythVodka is allowable here?
|
|
Top |
|
|
graysky
|
Posted: Mon Jan 12, 2009 2:58 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
@marc - just got your pm about this thread. Anyway, is mplayer totally broken, or does it work with some formats but not others? If it's the latter, which file types is mplayer choking on? You can find out w/ mediainfo. Also, can you post the output of manually running mplayer on the file that doesn't work?
For example:
Code: $ cd /path/to/media $ mplayer name_of_media.mkv Using mediainfo (don't get the gui) is trivial: Code: $ mediainfo homevideo.avi General Complete name : homevideo.avi Format : AVI Format/Info : Audio Video Interleave File size : 559 MiB Duration : 54mn 33s Overall bit rate : 1 348 Kbps Writing application : transcode-1.0.2
Video Format : MPEG-4 Visual Format profile : Streaming Video@L1 Format settings, BVOP : Yes Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default Codec ID : XVID Codec ID/Hint : XviD Duration : 54mn 33s Bit rate : 1 203 Kbps Width : 624 pixels Height : 352 pixels Display aspect ratio : 16/9 Frame rate : 23.976 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.229 Stream size : 492 MiB (89%) Writing library : XviD 1.2.0SMP (UTC 2006-01-08)
Audio Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Codec ID : 55 Codec ID/Hint : MP3 Duration : 57mn 6s Bit rate mode : Variable Bit rate : 132 Kbps Minimum bit rate : 128 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Resolution : 16 bits Stream size : 54.0 MiB (10%) Alignment : Aligned on interleaves Interleave, duration : 24 ms (0.58 video frame) Writing library : LAME3.96r Encoding settings : ABR
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
marc.aronson
|
Posted: Mon Jan 12, 2009 7:26 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
graysky, thanks for helping out. I will install media info and provide the info, but I do have 1 question: It looks like the download file is a ".deb" -- how do I install it? All my install experience is from either doing a build or use apt-get.
mplayer is not totally hosed -- it only fails on a file with a particular type of codec. I use a product named "Media Player Classic -- Home Cinema" on my windows box and the problematic file works there. Through a process of elimination I was able to determine that MPC-Home Cinema uses the codec "H264/AVC (ffmpeg)" to play this file. I don't know if that helps at all.
Once I get your instructions on installing from the debs I will report back the results from mediainfo for the problematic file. Thanks again for your help!
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
|
marc.aronson
|
Posted: Mon Jan 12, 2009 10:48 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
All, wiki instructions have been revised. Step 11 is critical; step 5 is there for those that are interested.
Graysky,
Here is the output from mediainfo
Quote: General CompleteName Config_Text_Separatortest_q0.flv Format Config_Text_SeparatorFlash Video FileSize Config_Text_Separator316 MiB Duration Config_Text_Separator43mn 37s OverallBitRate Config_Text_Separator1 Config_Text_ThousandsS eparator012 Kbps _code Config_Text_SeparatorNetStream.Data.Start / Ne tStream.Play.Complete _level Config_Text_Separatorstatus _duration Config_Text_Separator515.000 _bytes Config_Text_Separator328153760.000
Video Format Config_Text_SeparatorAVC Format/Info Config_Text_SeparatorAdvanced Video Codec Format_Profile Config_Text_SeparatorMain@L5.1 Format_Settings_CABAC Config_Text_SeparatorYes Format_Settings_RefFrames Config_Text_Separator4 frame2 MuxingMode Config_Text_SeparatorContainer profile=Unknown @5.1 Duration Config_Text_Separator43mn 34s Width Config_Text_Separator720 pixel3 Height Config_Text_Separator400 pixel3 DisplayAspectRatio Config_Text_Separator16/9 FrameRate_Mode Config_Text_SeparatorVFR FrameRate Config_Text_Separator29 Config_Text_FloatSepa rator970 fps3 Resolution Config_Text_Separator24 bit2 Colorimetry Config_Text_Separator4:2:0 ScanType Config_Text_SeparatorProgressive
Audio Format Config_Text_SeparatorAAC Format/Info Config_Text_SeparatorAdvanced Audio Codec Format_Version Config_Text_SeparatorVersion 4 Format_Profile Config_Text_SeparatorLC Format_Settings_SBR Config_Text_SeparatorNo Duration Config_Text_Separator43mn 37s Channel(s) Config_Text_Separator2 channel2 ChannelPositions Config_Text_SeparatorL R SamplingRate Config_Text_Separator48 Config_Text_FloatSepa rator0 KHz Resolution Config_Text_Separator16 bit3
Here is the output from mplayer Quote: MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 5) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing test_q0.flv. libavformat file format detected. [flv @ 0x8805a68]Unsupported video codec (7) ...Note from marc: The previous line is repeated many times... [flv @ 0x8805a68]skipping flv packet: type 13, size 13383487, flags 0 [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [^G] 0x0 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s) ========================================================================== Cannot find codec matching selected -vo and video format 0x7. Read DOCS/HTML/en/codecs.html! ========================================================================== ========================================================================== Opening audio decoder: [dmo] Win32/DMO decoders ERROR: Could not open required DirectShow codec wmspdmod.dll. ADecoder preinit failed IMediaObject ERROR: 0x88ad88b input format not accepted (0x80040205 : -2147220\ 987) ADecoder init failed Opening audio decoder: [dshow] Win32/DirectShow decoders ERROR: Could not open required DirectShow codec wmavds32.ax. ADecoder preinit failed Win32 LoadLibrary failed to load: wmavds32.ax, /usr/lib/codecs/wmavds32.ax, /us\ r/lib/win32/wmavds32.ax, /usr/local/lib/win32/wmavds32.ax Warning: DS_Filter() could not open DirectShow DLL. (DLL=wmavds32.ax, r=0x8ad7\ 72a) ADecoder init failed Cannot find codec for audio format 0xA. Read DOCS/HTML/en/codecs.html! Audio: no sound Video: no video Exiting... (End of file)
Thanks!
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
|
graysky
|
Posted: Tue Jan 13, 2009 8:45 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
@marc - I don't think there's anything wrong with mplayer... flashvideo may simply not a in the codec pack! If you can post that file somewhere, I'll give it a try on my mplayer and let you know for sure.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
marc.aronson
|
Posted: Tue Jan 13, 2009 9:27 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
garysky, I am 99% certain that the issue is a missing codec, so I guess the question is: How do I install that missing codec?
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
|
mikemcc11
|
Posted: Wed Jan 14, 2009 1:38 pm |
|
Joined: Wed Apr 21, 2004 1:57 pm
Posts: 28
|
You guys rock. I followed your instructions on the wiki. They were perfect. I had one problem.
I kept getting a Xine window popping up. I was really confused. Then I remembered I had changed MythVideo default player to Xine. Changed it back to Mplayer and I am golden. My wife and I are in Hulu heaven. Thanks for your hard work. I love Knoppmyth and especially this community.
Mike
|
|
Top |
|
|
graysky
|
Posted: Wed Jan 14, 2009 2:01 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
marc.aronson wrote: garysky, I am 99% certain that the issue is a missing codec, so I guess the question is: How do I install that missing codec?
You might wanna start googling around for that particular format and mplayer. I haven't run into a format that wasn't covered in the essential codec pack before.... if you followed my guide, you have everything in there. Do update the thread when/if you find a solution.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
Too Many Secrets
|
Posted: Wed Jan 14, 2009 6:33 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
I went thru the steps on the wiki easily enough. However when I now click the MythVodka program, I get to 20% and then it blows back to penguin on couch. Any idea's?
|
|
Top |
|
|
mikemcc11
|
Posted: Wed Jan 14, 2009 7:24 pm |
|
Joined: Wed Apr 21, 2004 1:57 pm
Posts: 28
|
Too Many,
This is what fixed it for me:
11. Edit the file get_iplayer and add the line "${name} =~ s/\&//g ;" at approximately line 4059. Your goal is to change this
print XML "<movie title=\"${title}\">
<video><url id=\"p1\">${pid}.mov<playlist/></url></video>
<info><description>${desc}</description></info>
</movie>\n" if $opt{fxd};
print XML "\t\t<Name>$name</Name>\n\t\t<Url>${pid}.mov</Url>\n\t\t<Subtitle>${episode}</Subtitle>\n\t\t<Synopsis>${desc}</Synopsis>\n" if $opt{mythtv};
to this:
print XML "<movie title=\"${title}\">
<video><url id=\"p1\">${pid}.mov<playlist/></url></video>
<info><description>${desc}</description></info>
</movie>\n" if $opt{fxd};
${name} =~ s/\&//g ;
print XML "\t\t<Name>$name</Name>\n\t\t<Url>${pid}.mov</Url>\n\t\t<Subtitle>${episode}</Subtitle>\n\t\t<Synopsis>${desc}</Synopsis>\n" if $opt{mythtv};
The Wiki has been updated since the first time I tried.
Give it a shot.
Mike
|
|
Top |
|
|
thornsoft
|
Posted: Wed Jan 14, 2009 9:26 pm |
|
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location:
spencerport, ny (USA)
|
Too Many Secrets wrote: I went thru the steps on the wiki easily enough. However when I now click the MythVodka program, I get to 20% and then it blows back to penguin on couch. Any idea's?
Me too - on a nearly new 5.5. I think it's blowing up while downloading.
|
|
Top |
|
|
Too Many Secrets
|
Posted: Wed Jan 14, 2009 10:57 pm |
|
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location:
LA, CA
|
mikemcc11 wrote: Too Many,
This is what fixed it for me:
11. Edit the file get_iplayer and add the line "${name} =~ s/\&//g ;" at approximately line 4059. Your goal is to change this
print XML "<movie title="${title}"> <video><url id="p1">${pid}.mov<playlist/></url></video> <info><description>${desc}</description></info> </movie>\n" if $opt{fxd}; print XML "\t\t<Name>$name</Name>\n\t\t<Url>${pid}.mov</Url>\n\t\t<Subtitle>${episode}</Subtitle>\n\t\t<Synopsis>${desc}</Synopsis>\n" if $opt{mythtv};
to this:
print XML "<movie title="${title}"> <video><url id="p1">${pid}.mov<playlist/></url></video> <info><description>${desc}</description></info> </movie>\n" if $opt{fxd}; ${name} =~ s/\&//g ; print XML "\t\t<Name>$name</Name>\n\t\t<Url>${pid}.mov</Url>\n\t\t<Subtitle>${episode}</Subtitle>\n\t\t<Synopsis>${desc}</Synopsis>\n" if $opt{mythtv};
The Wiki has been updated since the first time I tried.
Give it a shot.
Mike
Thanks. I did try this, but the file looks a bit different for me. This is what I'm seeing before altering.
Code: print XML "<movie title="${title}"> <video><url id="p1">${pid}.mov<playlist/></url></video> <info><description>${desc}</description></info> </movie>\n" if $opt{fxd}; print XML "<Stream> <Name>"${title}"</Name> <url>${pid}.mov</url> <Subtitle></Subtitle> <Synopsis>${desc}</Synopsis> </Stream>\n" if $opt{mythtv};
It seems like maybe the code I downloaded was changed? I also saw this post, which is exactly what I'm seeing. But I don't see a fix (at least I didn't understand if one was described)
|
|
Top |
|
|
marc.aronson
|
Posted: Thu Jan 15, 2009 1:00 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
mikemcc11, glad the instructions worked for you!
Too Many Secrets -- I suspect you are editing the wrong location in the file. Search for the string 'print XML "\t\t<Name> ' (without the single quotes on either side) and add the new line just prior to that line. I just uploaded my edited version of get_iplayer to the wiki and attached it to the mythvodka wiki page -- try downloading it and diffing it against what you have. md5sum of the file is 2acf256cd4df1cadeea2438f9a8c9050
mikemcc11 & Too Many secrets, run the mythfrontend from an xterm and see if you get any error messages in the xterm when the front end dies. This happened to me at one point, but I don't recall exactly what I did to resolve it, but post the output in the xterm window and I'll see if I can help you out.
graysky, I'll read those instructions and see if they help on the missing codec. The good news is that this doesn't prevent me from using mythvodka -- it winds up to be a separate issue.
Marc
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
|
marc.aronson
|
Posted: Thu Jan 15, 2009 1:19 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
OK, I've gone a step further. I've created a tarball that contains all of the files I built and attached it to the wiki page as file "mythvodka_for_km55.tgz". If you untar it, it should place a pre-built version of all the files in all the right places. I haven't had a chance to test it yet, so I can't guarantee that I got all the file, and I'm headed off the get some sleep, but if you try it out, let me know if it works for you. You still need to do the following:
1. It only places the themes in the default theme directory, so you'll need to copy "streams-ui.xml" from either default or default-wide to the theme directory that you use. (Like step 8b in the wiki).
2. You will need to do step 18 by hand, as I didn't include that file.
md5sum of tarball should be
847780afd04c9314143caf9a0762e9ac
Marc
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
|
thornsoft
|
Posted: Thu Jan 15, 2009 4:58 pm |
|
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location:
spencerport, ny (USA)
|
marc.aronson wrote: OK, I've gone a step further.
Thanks - I'll try it later tonight!
|
|
Top |
|
|