[Freevo-users] Record and Play of MPEG Transport Streams
I'm reporting what I've learned, hoping to share what I have with others, hoping to get similiar experiences. I'm recording ATSC streams using a pcHDTV HD5500 card. The script I use for recording is at the bottom of this thread. This card dumps out MPEG2 transport streams. I have an NVIDIA FX 5200 AGP 8X card for playback. I'm using the NVIDIA binary drivers on linux. I'm trying to play back using a 2.4Ghz P4 with a 400 Mhz FSB, no hyper threading. The NVIDIA drivers support the xvmc MPEG2 acceleration features. When I attempt to play these MPEG Transport Streams using mplayer, both mplayer and Xorg consume 100% of the processor. The result is not at all acceptable. When I attempt to play these MPEG Transport Streams using xine, the video plays fine, the CPU usage is very low (<20%), however, I don't get any audio. I then used the dvb-mpegtools ts2ps program to convert the transport streams to program streams. When I play the program stream with mplayer, I get the same results, the entire CPU is consumed. When I play the program stream with xine, I get audio and the CPU usage is still < 20%. It's a workable solution. I don't know why mplayer has trouble with these streams while xine seems to be able to play the program stream properly. #!/bin/bash # 1: video device # 2: channel # 3: time in seconds # 4: recording file kill_it() { echo "Caught SIGINT ..." echo "PID $SLEEP_PID" kill $SLEEP_PID kill $CAT_PID kill $AZAP_PID exit } trap 'kill_it' INT TERM sleep 2 azap -r $2 > /dev/null 2>&1 & AZAP_PID=$! cat $1 > $4 & CAT_PID=$! # $! is PID of last job running in background. sleep $3 & SLEEP_PID=$! wait $SLEEP_PID # You should add some check here to make sure cat is still running, # otherwise you might accidentally kill some other process. kill $CAT_PID kill $AZAP_PID Jim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Error with makelogos
Tom Weichmann wrote: > > > Duncan, > > Yeah, that is what I thought too. I used the 'freevo makelogos' command > to get these logos. Is there anyway that I can use it differently to get > better logos or should I just do it manually? Manually works, you will need to find better icons. The icon links in the TV.xml file point to the icons, this is all freevo knows about. If they point to have crap icons you will have them too. Duncan > > Anyone out there have a script that will do this for me? > > Tom Weichmann > > > Duncan Webb wrote: >> Tom Weichmann wrote: >> > Duncan, >> > >> > Here are files for the logos. I also posted a screenshot of what > this looks >> > like in Freevo. >> > >> > Let me know what you think. >> >> They are poor quality and very small 25x25 so I'm not surprised they >> look bad. >> >> Duncan >> >> >> - >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to > share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> ___ >> Freevo-users mailing list >> Freevo-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] [freevo-users]Lots of questions
Hi, First, I really like this program! I have been playing with some different configurations, and think I am ready to move this out by the TV for use, but I would like to fix some problems first. I won't (can't) use the TV portion and have the pluggin removed, however I would love to have the TV guide portion out on the main menu, is that possible? My Cable co. keeps messing with the VBI signal, so I do have an on-screen guide that works. When I play a DVD (with Xine because I want Menus), it drops out of fullscreen Freevo and opens xine. How do I transition it to just do it? Meaning start Fullscreen? My version works great, but doesn't look professional. It drops Freevo dwon to the menu bar in Ubuntu, and starts my movie. Can I edit the webserver web pages, and is there an easy way? I don't need the record server at this time, but I would like to view the TV guide and Multimedia over the web. Finally there is an Amazon pluggin for finding CD covers, but is there any one that will do it automatically Like rhythmbox? P.S. sorry one more, How does the RIP pluggin work? I can't find any documentation on it. Thanks again Dan Man - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] "Lesson Learned" form debugging
Hello, I just wanted to pass along a lesson I learned form trying to debug a problem I had with freevo. You all probably already know this, but maybe it could be captured in the example conf file. I had used a script that generated my channel list to put into my local_conf.py. I downloaded it from somewhere on the net, but I don't remember where. Anyway, I was having a problem that any channel that had a channel number less then 10 I could not tune to. If I tried to 'play' that channel it would bring up the tv view and play what ever the last channel it was tuned to. After trying many things, I remembered that I read somewhere that mplayer (and maybe xine too) have trouble with channel numbers that are padded with zeros. In other words channel '2' should not be listed in the TV_CHANNELS section as '02'. I changed that and my tuner worked without problem. Next I noticed that I was having the same problem again, but this time it was with recording a program. I could not even think of what to try. Finally after trying some different things I realized that the record server needed to be stopped, and 'freevo tv_grab' needed to be re-ran before I re-started the server. I don't understand why this was the case, but this fixed my problem. I think that it would make sense to include this in the comments section near the TV_CHANNELS section. Maybe something like this: If any changes are made to this section, stop all Freevo processes (record server, et al) and re-run 'freevo tv_grab' before restarting. Maybe someone who understands why this needed to be done can word smith this a bit to make it more accurate. Hope this helps someone from spending hours like I did trying to figure this one out. Tom Weichmann- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Error with makelogos
Duncan, Yeah, that is what I thought too. I used the 'freevo makelogos' command to get these logos. Is there anyway that I can use it differently to get better logos or should I just do it manually? Anyone out there have a script that will do this for me? Tom Weichmann Duncan Webb wrote: > Tom Weichmann wrote: > > Duncan, > > > > Here are files for the logos. I also posted a screenshot of what this looks > > like in Freevo. > > > > Let me know what you think. > > They are poor quality and very small 25x25 so I'm not surprised they > look bad. > > Duncan > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Video DVD and kaa.metadata
thanks for the hint :)) Fixed now. Duncan Webb wrote: > Damian Minkov wrote: > >> Hi, >> >> I have problems playing DVD-s. As I figured it out the problem is >> somewhere in kaa.metadata and detecting dvd-s. >> So its not detected as dvd/video or whatever is the type. I printed it >> in rom_drives.py the detected type is "unknown/unknown". >> >> Here is the log in DEBUG >> rom_drives.py (538): Undetected DVD, checking again >> rom_drives.py (536): Double check without success >> rom_drives.py (550): identifymedia: mplayer = "[]" >> >> Any ideas? I'm running freevo on debian sid with latest update. >> > > The most common problem with DVDs is that libdvdread has not been > installed before kaa.metadata. You can confirm this by running: > mminfo -d2 /dev/dvd. > > If there is a problem it should show up in the output. > > Duncan > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Error with makelogos
Tom Weichmann wrote: > Duncan, > > Here are files for the logos. I also posted a screenshot of what this looks > like in Freevo. > > Let me know what you think. They are poor quality and very small 25x25 so I'm not surprised they look bad. Duncan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Video DVD and kaa.metadata
Damian Minkov wrote: > Hi, > > I have problems playing DVD-s. As I figured it out the problem is > somewhere in kaa.metadata and detecting dvd-s. > So its not detected as dvd/video or whatever is the type. I printed it > in rom_drives.py the detected type is "unknown/unknown". > > Here is the log in DEBUG > rom_drives.py (538): Undetected DVD, checking again > rom_drives.py (536): Double check without success > rom_drives.py (550): identifymedia: mplayer = "[]" > > Any ideas? I'm running freevo on debian sid with latest update. The most common problem with DVDs is that libdvdread has not been installed before kaa.metadata. You can confirm this by running: mminfo -d2 /dev/dvd. If there is a problem it should show up in the output. Duncan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Video DVD and kaa.metadata
Hi, I have problems playing DVD-s. As I figured it out the problem is somewhere in kaa.metadata and detecting dvd-s. So its not detected as dvd/video or whatever is the type. I printed it in rom_drives.py the detected type is "unknown/unknown". Here is the log in DEBUG rom_drives.py (538): Undetected DVD, checking again rom_drives.py (536): Double check without success rom_drives.py (550): identifymedia: mplayer = "[]" Any ideas? I'm running freevo on debian sid with latest update. damencho - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users