I've been playing with the timeshift package for a couple of days. It's
much better than mplayer with audio pass-thru, from the A/V sync
standpoint. Many thanks to Thomas for his contribution. Here are a
couple of notes:
Good to know somebody really needs this. :-) I was kinda
lazy in the last days ... Or weeks. Well it's more that
other stuff took most of my attention. However I still
hope we will get forward with this.
- buffer file: I found that a straightforward timeshift buffer in my
normal filesystems was hitting the disk too much. Maybe it's just
because the seeking on my "set-top" box's hard drive is especially
loud/annoying. Maybe it's because my filesystems are all journalling.
In any case, I got much better results putting the timeshift buffer on
a tmpfs file system. The one issue I worry about with that solution is
how big I can make the buffer, though.
I write realatively small chunks to the disk. So perhaps
changing the buffersize of the timeshifter will do the
magic. If you like to play around increase the buffersize
in the main-loop and try if things get better then. The
stuff I send was in no way optimized so it just may be
a simple issue like that.
- channel changing: I compiled Aubin's "chchan" app and was hoping that
calling it from Python would work. Unfortunately, it didn't seem to
work when /dev/video0 was in use. It works fine to initially set the
channel, but changing the tuned channel in mid-timeshift is not working.
As Aubin already stated you will need v4l2 for that. Otherwise
best would be to stop the timeshift before switching and
restart it afterwards.
Rather than trying to extend mp1e to do channel-changing, does anybody
know how to run mencoder instead of mp1e for the encoding half? I had
initially tried encoding with mencoder, using the default recording
setup, but the player was unable to figure out what format the stream
was in. Futhermore, even if mencoder could write an MPEG stream to the
timeshift buffer, could it also run the slave interface and support
channel changing?
IMHO mencoder is not very good when it comes to streaming. By
default it outputs AVI files which are not completely usable
until they are fixed up and closed. Word is on the street that
mencoder can also output mpeg-files so further investigation
may actually make it useable.
Anyway I am quite happy with mp1e so that won't be top on my
todo-list.
My Plan was to integrate channel switching into the timeshift
app. I already created a command in there to change channels
but got "distracted" before I could work on it further.
l8r...
Thomas
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel