Re: [mythtv-users] What's the minimum that I can do...
I think mplayer is probably the most flexible... 'mplayer -ao alsa filename' should do it, I think... If you want to get creative with it, feel free to screw around with the -ao option, using -ao alsa:device=hw=0.0 for example. Run 'mplayer -ao help' for more information about this option. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] What's the minimum that I can do to view a recording from a P
>My myth box is giving no sound. My first step in debugging is to see if >sound is being recorded. So, if I record a few minutes of a show, how >do I get it so I can view it in WMP or QuickTime on a Machine that I >know has working audio? > >If there is not a FOOL PROOF (searching for a control group, not new >points of failure) way, then I would like to post it to my pub folder >and have someone DL and test it for me. > >Please advise. My suggestion would be to take a known working file (ftp://ftp.kernel.org/pub/linux/kernel/SillySounds/english.au for example), and get that to play. If you can hook something up with an 1/8th inch to RCA cable or plug directly in to PC speakers, that would be a good first step. Once you get that working, then you can move on to more advanced stuff (.asoundrc configuration, AC3 passthrough, whatever...) But first things first. Is it a system-wide issue or a MythTV issue? I would say that's the first step. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] whats the best graphics card for HD playback?
>The truth is graphics drivers aren't there yet, for any card, for the >kind of tasks we might want to do with mythtv, when it comes to HD. >Raphael I couldn't disagree with you more. I paid $60 for an nVidia 6200TC, and it works like a dream. I connected DVI -> HDMI, and I can do things better with it than with the TV's built-in decoder. I noticed that when I scaled the image properly, I get more of the picture through my video card than I do when the TV decodes the stream itself. And it's all digital until it gets inside the television. What more do you want? It sounds more like your TV is the problem to me. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
>How 'bout simply disabling 'use video as timebase' at run-time when passing >raw AC3, regardless of what 'use video as timebase' is set to. > > Yeah. That's what I was trying to say (that's why I compared it to the runtime disabling of AC-3 passthrough with timestretch and why I said, "[if] there's an AC-3 stream"). Guess I should have used that all-important word, "runtime," though. Mike I've never posted a patch to this list before, but how does this look, and, if the answer is "Good", then what do I do with it? disable_timebase_for_passthru.patch Description: Binary data ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] HD3000 DVB Recordings - Freezes on Playback
>Well, the "good" news is that now I am not an isolated incident of this. I >am experiencing almost exactly what you are. I say almost because I >haven't >broken down the circumstances under which it may freeze. But, when it does >happen, my experience is exactly the same as yours. My current attempt at >fixing this involves changing out my video FS from reiser to ext3. I did >that last night but haven't be able to test it yet. What FS are you using? I'm experiencing something similar with HDTV, but the frontend only freezes when I am in LiveTV mode and the show ends. Watching recordings works beautifully. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
>Do you have volume control via myth with this method? > >I can get all my audio output through the spdif connector, but can >not find anyway of controlling the volume via myth (this would be my >preferred option as I like the on screen volume display). > >My amp is in a different room (as is the myth box for that matter). >So I would not have any visual indication of mute or volume level if >I don't do it via the on screen display. > >Ben No, Ben, I don't. And, as I understand it, this is impossible. Since we're just passing through a digital signal to the receiver, it's all up to the receiver to deal with it. In order to change the volume, we would need to decode the audio, sample down the volume, reencode it, then pass it on to the receiver. Maybe it's possible, but it certainly is not very efficient. And, by the way, this is all just speculation. I don't really know how it works, but my explanation made sense to me. Sorry, Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
>Yeah. Shouldn't "video as timebase" be disabled if "AC-3 Passthrough" >is enabled and there's an AC-3 stream? (Kind of like AC-3 is disabled >when the user initiates timestretch--at least until Mark finishes his >AC-3 re-encode work.) > >Mike The only difficulty is an implementation detail. Since the settings are on different screens, the setting for "Use video as timebase" would have to be tri-state: Off, On, Was on but ac3 is disabled. Another 2 cents worth. If the user goes from AC3 passthrough off to on, this would disable the video as timebase. Well, if he changes his mind, it should go back to being on. However, if it was off the whole time, then changing the AC3 setting wouldn't matter. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
For anyone following the thread, once "Use video as timebase" was disabled, everything worked perfectly. The trick was to have everything with AC3 passed through by Myth and to have everything else sampled to 48000 Hz for output via PCM. ALSA made this second part possible. Thanks for everyone's help. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Fusion Lite card and adding cable channels
>I downloaded this morning 0.18.2 STABLE relese from cvs.mythtv.org but not >the trunk version. Is the scanning facility not good on this version? > >Thanks Will! I have no idea, unfortunately. I do know that I have very few problems with the subversion build, fewer than I had with the stable branch. Sorry, maybe someone else knows the answer to that. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
>Everything is running into my AV Receiver, that's where my volume is >controlled. I uncheck the box for internal volume controls. There >was a post to the list a while back on how to send everything out over >the spdif, and have your receiver decide if it's AC3 or PCM, the key >was in the .asoundrc. I can't find it off hand, but a bit of a search >will probably turn it up, it was probably in the last 2 weeks. > >Chad I came across something while browsing through the developer's mailing list... Do you have "Enable video as timebase" checked or unchecked? ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Fusion Lite card and adding cable channels
>I need your help. I'm on comcast and got my Fusion Lite card working. It's >my second tuner card(/dev/dvb/adapter1/dvr0). I have 107 services found by >atscscan tool. Now, I would like to add those channels to mythtv. However, >I >could not find any easy to follow article. Can someone please tell me how >to >add one channel and I'll do the rest. I'm so confused with those PIDS or >PSIP, etc. I also read somewhere that I need to modify a table, I guess >dtv_multiplex, but there is no clear instruction or example. Well, Neil, I recommend you upgrade to a subversion build. The channel scanning is very, very easy, and as far as I can tell DVB stuff is much improved. Just my two cents. IIRC, 0.18.1 has no channel scan facility. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
>From: Adam Propeck <[EMAIL PROTECTED]> >Reply-To: Discussion about mythtv >To: Discussion about mythtv >Subject: Re: [mythtv-users] AC3 and/or S/PDIF (again) >Date: Thu, 19 Jan 2006 09:56:13 -0600 > >So if I only show /dev/dsp and /dev/adsp in my device list, does that mean >I >don't have Alsa support compiled in? I'm not seeing anything other than >those two devices. I assumed that /dev/adsp was the ALSA device. > I have to manually type in ALSA:default for audio device, and default for mixer device. (Or whatever, same as mplayer's device argument, e.g. mplayer -ao alsa:device=default == mythtv ALSA:default). Myth detected that I had ALSA automatically, and IIRC, /dev/dsp does actually map to ALSA:hw0,0. But don't quote me on that. Try aplay -L for a list of ALSA devices available on your system. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] No audio (usually) - Audio buffer overflow, audio data lost!
>When running mythfrontend and watching live tv, I get about a half second >of sound, followed by 5-20 seconds of silence, another half second of >sound, etc. Mythfrontend is print out "Audio buffer overflow, audio data >lost!" I can play a previously recorded file after installing mythvideo, >and "cat /dev/video0 > foo.mpg" produces a video file that plays correctly >with sound. Xawtv doesn't work yet, but I just installed it for the first >time and doubtlessly screwed up the configuration somewhere. Erik, I'm getting the exact same type of problem. Is your output analog or digital? Is it to PC speakers or to a receiver? Everything works fine when I turn off AC3 passthrough, by the way, except (as I said before) the 5.1. I don't see the buffer overflow error, though. Maybe these two are related, maybe not. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] AC3 and/or S/PDIF (again)
>To both of you, when I finally broke down and used Myth's internal >alsa controls, everything went smooth from there. My Audio Output >Device is: >ALSA:default I am using ALSA:default also... What are you doing for volume control and mixer device? And when I uncheck the AC3 passthrough box, everything is sent to the receiver fine... Just no 5.1. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] AC3 and/or S/PDIF (again)
This is a new one for me... I am running subversion from yesterday, and I cannot for the life of me get S/PDIF to send a 5.1 signal to my receiver. Xine works fine. Mplayer works fine with Myth recordings. But Myth does strange things. When I start a program, it may stutter then go out for ten seconds then start back up for a couple of seconds. If I turn off AC3 pass through, then everything works fine, but it's only two channel sound. Any help would be most appreciated, because this is driving me insane. Thanks in advance, and I'd be more than happy to provide more information if it will help. Will Lewis ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
RE: [mythtv-users] Myth & 1280x720 modeline on screenplay 5000
I found this website helpful: http://www.linuxis.us/linux/media/howto/linux-htpc/video_card_configuration.html I don't know what an InFocus ScreenPlay is, but I ended up driving a 42" Grand Wega with DVI out -> HDMI in. I think the VGA route would have been much simpler, though. In particular, look at the Modelines ready-to-go for native HD display section. Will From: Blastzone <[EMAIL PROTECTED]> Reply-To: Discussion about mythtv To: mythtv-users@mythtv.org Subject: [mythtv-users] Myth & 1280x720 modeline on screenplay 5000 Date: Thu, 17 Nov 2005 07:48:55 -0500 I've been running MythTV for about 4 months now, and I'm pretty much sold. Most of my friends are too. I picked up an InFocus ScreenPlay 5000 last night, which runs at a native rez of 1280x720. I've also got a regular 17" CRT monitor, for when I don't feel like watching TV on a 6-foot-wide screen. I'm driving both through the standard VESA output, but *could* get a DVI cable if necessary (for about $40). My myth system is running on a Pundit-R w/ ATI 9100IGP chipset on FC4. So, my question is: I need to set up a modeline to drive output at 1280x720. Has anyone set this up yet, and either has one, or can point me in a direction where I can learn more about this? 2. Since the monitor & the projector have different ratios, I don't expect the CRT to take to a 1280x720 too well. Is there a tool that I can use to easily change resolutions (preferrably with a hotkey)? Thank you! ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] nVidia and XvMC
I have gotten XvMC working on my Athlon 64 with an nVidia 6600LE. However, it wasn't easy, basically, I do a brute force hack to beat it into submission whenever I start up my X Session. First, when compiling Myth, force it to compile against libXVMCNVIDIA, I've had nothing but trouble with libXVMCW. This requires modifying the "if" statement around line 1699 of configure (talking v0.18.1 here). You might need to do "ln -s /usr/X11R6/lib/libXvMCNVIDIA.so.1 /usr/lib/libXvMCNVIDIA.so" for this to work properly. Recompile MythTV, go into TV Options and select the option to use XVMC. Playback a video and prepare to be disappointed (at least I was). Why is this? Because it couldn't open up the video properly. Apparently it gets some access denied issue (I'm at work so I can't get the exact output right now). Here's what I did to fix it. Create a two frame mpeg movie using mencoder. It's important that it have more than one frame. Two seems to work quite well. Then, I made sure that my version of mplayer had xvmc support with it. I had to recompile it for that (using Ubuntu Breezy). Then, I had my startup script for mythfrontend execute the following script: #!/bin/sh # bang away on XVMC until it works ROUNDS=0 for x in $(seq 1 100); do LINE=$(~/bin/mplayer -vo xvmc -vc ffmpeg12mc ~/bin/fix.mpg -ao none 2>&1 | grep "End of file") if [ "x$LINE" == "xExiting... (End of file)" ]; then echo "Took ${ROUNDS} tries to succeed" exit fi ROUNDS=$x done echo "Unable to initialize xvmc" Where fix.mpg is the name my little two frame mpeg file. This essentially tries to run Mplayer 100 times on the little file. The first time it actually succeeds and plays it, it stops. The reason is because I notice that once I actually had XVMC working, it would just keep working for that session. Thus, by beating XVMC into submission when I first start, I'm good for XvMC on MythTV. Usually it takes about 3 or 4 tries. Once it took 15, but that's the most. This script automates all that, and makes it transparent. That being said, XVMC is not a be all end all here. It still seems far from perfect. Occassionally I see a frame that looks out of place, I've been told that this is a sign that XVMC isn't working 100% properly on my system [1]. But XVMC is working. I now have a grayscale display that gets really choppy when the UI is up, but requires basically 0 overhead on my XOrg server instance. This is good enough for me to watch and pause live 720p programs with no difficulty. Overall CPU load will hover around 20% there with ocassional I/O related hiccups. However, I still have some problems with 1080i programs stuttering, probably I/O related issues. I think there is something funky with my motherboard and linux support (I get the nasty digital static on my pcHDTV card too, but HDTV from the cable box works fine). So, if anyone knows ways to make those better, I'd love to hear them. Otherwise I'm gonna have to buy a new motherboard, which is a shame because this one has gazillions of bells and whistles(the pcHDTV records just fine on my Athlon 700, that just can't play it back). FWIW, here's the specs on the system I'm working with: AMD 3200+ (clocked at 2400), 1GB generic ram, MSI k8n-neo4 platinum, 400GB LVM DMA 100/133 drives (2 x 200, hdparm -tT gives a read rate of about 50MB/s on the drive), WinTV PVR-250, XFX GeForce 6600LE 256MB, firewire to DCT6200 comcast box, pcHDTV 3000 (which gets staticy if there is any other substantial disk I/O at the same time, don't blame the OC either, it barfs at 2GHz too). --Patrick [1] http://gentoo-wiki.com/HOWTO_Setup_MythTV ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users Well, I just got home, recompiled mplayer (with xvmc support this time (Oops)), and everything worked like a charm. Great picture, no breaks, 18% CPU usage while watching recorded video. What a difference. Thanks for all your help. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] nVidia and XvMC
I have gotten XvMC working on my Athlon 64 with an nVidia 6600LE. However, it wasn't easy, basically, I do a brute force hack to beat it into submission whenever I start up my X Session. First, when compiling Myth, force it to compile against libXVMCNVIDIA, I've had nothing but trouble with libXVMCW. This requires modifying the "if" statement around line 1699 of configure (talking v0.18.1 here). You might need to do "ln -s /usr/X11R6/lib/libXvMCNVIDIA.so.1 /usr/lib/libXvMCNVIDIA.so" for this to work properly. Recompile MythTV, go into TV Options and select the option to use XVMC. Playback a video and prepare to be disappointed (at least I was). Why is this? Because it couldn't open up the video properly. Apparently it gets some access denied issue (I'm at work so I can't get the exact output right now). Here's what I did to fix it. Create a two frame mpeg movie using mencoder. It's important that it have more than one frame. Two seems to work quite well. Then, I made sure that my version of mplayer had xvmc support with it. I had to recompile it for that (using Ubuntu Breezy). Then, I had my startup script for mythfrontend execute the following script: #!/bin/sh # bang away on XVMC until it works ROUNDS=0 for x in $(seq 1 100); do LINE=$(~/bin/mplayer -vo xvmc -vc ffmpeg12mc ~/bin/fix.mpg -ao none 2>&1 | grep "End of file") if [ "x$LINE" == "xExiting... (End of file)" ]; then echo "Took ${ROUNDS} tries to succeed" exit fi ROUNDS=$x done echo "Unable to initialize xvmc" I wonder why I didn't think of that... Where fix.mpg is the name my little two frame mpeg file. This essentially tries to run Mplayer 100 times on the little file. The first time it actually succeeds and plays it, it stops. The reason is because I notice that once I actually had XVMC working, it would just keep working for that session. Thus, by beating XVMC into submission when I first start, I'm good for XvMC on MythTV. Usually it takes about 3 or 4 tries. Once it took 15, but that's the most. This script automates all that, and makes it transparent. If I have a DVD and want to extract the first couple of frames to generate a fix.mpg, what is a simple mencoder command line to do that? That would make life a lot easier than trudging through the mplayer man page... Thanks very much. That's the most informative answer I've gotten all over the internet. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] Myth and a DEC2000
I was able to get the channel information into my database by using the 0_18_fixes branch from subversion. Take a look at http://cvs.mythtv.org/trac/ for information. It will let you scan the capture card and get the information over the air. Much easier than a series of SQL and/or perl scripts, IMHO. Thanks for the suggestion anyway :) Im going to try and put the data I have in my channels.conf into the database manually when I get a chance this week. As I understand it dvb_channel and dvb_pid are now depreciated, so I need data in channel and dtv_multiplex. Anyone mind posting a mysqldump so I can have a reference to work from? On Tuesday 15 November 2005 11:13, Andrew Wilson wrote: > Jeez, I didn't realise I've been playing with myth for that long. > > Sorry, please disregard my advice :-) > ___ > mythtv-users mailing list > mythtv-users@mythtv.org > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] nVidia and XvMC
MythTV svn 7337; Okay, sorry about that... ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] nVidia and XvMC
I sometimes use XvMC on my x86-64 system. It does work, though it has its issues. My machine is very similar to the original poster's (Athlon64 3200+, Nvidia FX5200, Nvidia 7676 drivers, Gentoo x86_64, MythTV svn 7337; HD3000, Fusion3HDTV, PVR-500). But, I can get smooth playback without XvMC running: libmpeg2=80%user / 10% idle, Standard Decoder=60%user / 30% idle, XvMC=25%user / 60% idle. However, I don't use XvMC very much, because every time an OnScreenDisplay comes up, the audio stutters until a second or two after the OSD goes off. So, every time I skip a commercial, it takes a while to smooth out. Other than that, the video decoding works very well. Thanks for your help, Todd. What version of mythtv are you using? I would assume that it's some sort of subversion pull, since the DVB HD support in 0.18.1 doesn't have the channel scan wizard... As for the OP's "X11 BadAlloc error", this is a longstanding issue in the x86-64 NVidia driver. NVidia has been told about it a long time ago, but it has remained unresolved for several driver releases (ain't those closed source binary drivers great!). The workaround is to repeatedly try to start an XvMC decoder, after 20+ failures, it will eventually succeed. Then, XvMC will work until you restart X11.I use an XvMC capable mplayer app to keep trying XvMC until it succeeds. I should probably look into OSD options, to get rid of the XvMC problems.. I would gladly take a less attractive OSD in exchange for smooth playback while leaving lots of CPU available for commercial flagging or other Linux tasks. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] nVidia and XvMC
I think your machine is fast enough that you may not need XvMC... and if you don't need it you might be happier without it. I put up with XvMC only because my AthlonXP 2100 can't cut it without it. Try disabling xvmc and enabling libmpeg2 decoding. (I think it's on the same page in the playback settings.) With mpeg2 decoding you should be able to decode without chopiness, ymmv. What sort of deinterlace setting should I apply? That may be a problem as well, because if I remember correctly, the 1080i inputs are a lot worse than the 720p. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] nVidia and XvMC
Has anyone ever gotten XvMC working on a 64 bit native AMD64 machine? I was under the impression that it just didn't work yet. Greg That may very well be the case. If it is, what's the best alternative? I would guess that the next nVidia release might take care of it, but I'd rather not sit around on my hands until that happens. And what about the slowness of plain XVideo? Thanks. Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] nVidia and XvMC
When I try to fire up watching live TV with XvMC hardware acceleration enabled, I get an X11 BadAlloc error with my nVidia 6200 TC and XOrg 6.8.2. I'm running a subversion branch with 0.18 fixes, and my system is configured with 2 HD-3000s and the latest NVIDIA x86-64 drivers. The processor is an AMD Athlon 64 3200+, and I have 1 GB of ram in it. When I disable the XvMC acceleration, it plays back, but it's very, very choppy, and the sound gives tons of prebuffering pause errors, or something like that. xdpyinfo tells me that I have both XVideo and XVideo-MotionCompensation extensions available. Anyone have any hints or additional configuration questions to help me out? I'd appreciate it tremendously. Thanks in advance, Will ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users