howto write terminal messages to a file?

View: New views
11 Messages — Rating Filter:   Alert me  

howto write terminal messages to a file?

by Carlos Lopez Perez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Im wondering how to make kaffeine write the messages that it shows in
the terminal to a file...

I tried to do:

/usr/bin/kaffeine > /var/tmp/kaffeine.log

Without luck

Is there any easy way to do it?

Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Kaffeine-devel mailing list
Kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: howto write terminal messages to a file?

by Bugzilla from christophpfister@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

2008/3/21, Carlos Lopez Perez <carloslp@...>:
> Hello,
>
>  Im wondering how to make kaffeine write the messages that it shows in
>  the terminal to a file...
>
>  I tried to do:
>
>  /usr/bin/kaffeine > /var/tmp/kaffeine.log

kaffeine 2>path_to_file

>  Without luck
>
>  Is there any easy way to do it?
>
>  Thanks

Christoph

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Kaffeine-devel mailing list
Kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Kaffeine & DVB-S2 / HD streams ?

by Eldon Tyrell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

lo,

i'm shooting blind here as i haven't searched a lot for this topic yet
so please point me in the good direction even if the answer seems
obvious, thx.

So i was wondering if there's any work in progress concerning HD Streams
support in kaffeine and in the DVB part especially.
I don't even know if xine supports h264 HD decoding although it probably
simply works as well (or bad) as ffmpeg does..

And on the driver part, can anyone tell me the current status of DVB-S2
cards drivers, i've read that multiprotocol is supposed to be a linuxtv
driver branch with dvb-s/s2 cards support..

Reading quickly through multiprotocol wiki i saw that dvb applications
require some patching to handle the driver/tunning schem, anyone working
on that ?

I was just thinking of putting my DVB-S2 pci card (technotrend budget
dvb-s2) back in my ubuntu and try to get something working in kaffeine..

thx for your comments,

Marc

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Kaffeine-devel mailing list
Kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Parent Message unknown Re: Kaffeine & DVB-S2 / HD streams ?

by Eldon Tyrell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i don't recall if i mentionned it but i am using an 64bit system..

>
> actually xine uses ffmpeg for mpg2/h264, but be warned that the free
> implementation is still declared "alpha" ;)

no sure what you mean by "free" implementation.

Other ffmpeg powered media libs (mplayer, vlc) seem to support h264
quite well. Of course all the trouble comes from the way ffh264 works
without multithreading and then limits decoding to a single core, which
has to be pretty powerfull if you want to watch 1080p or 1080i with
deinterlacing..
>
> You need a fresh ffmpeg svn & xine-lib svn and build xine with the
> use-external-ffmpeg command line option. hftom wrote quite a few times
> about this in the kaffeine forum. [1]

okay so that's true for both 32bit and 64bit systems ?
i do have a svn ffmpeg on my ubuntu but i didn't compile xine svn on top
of it, i was using it for mplayer and vlc svn (qt4)

>
> there is also a commercial windows avc codec called "coreavc" which
> can be used by xine. the needed patch [2] for latest 1.2 hg of
> xine-lib works for 32bit, for 64 bit look at [3]
>
> give it a try. i had much better results with that setup. even on a
> quite slow CPU (Sempron 3000) i could watch hdtv flawlessly.

well yes i use coreavc in my 32bit chrooted patched mplayer but i don't
know if it's because of the chroot or something else but that mplayer
seems to be quite unstable and produces a lot of video/audio synch problem.
Of course with coreavc i have no problem decoding 1080p..

Should i try to move my kaffeine & xine w/ coreavc patch to the chroot
and see how it behaves when running from there ?

> The free implementation (xine & ffmpeg) also works good as far as i
> could tell, but i ran out of cpu after some seconds. With xine &
> coreavc the stream was stable and used just about 80 - 90 % CPU So if
> you have enough CPU power go with the free implementation ;)

well that's what i've been testing for a few weeks now, and so far i
can't really get anything really stable out of my X2 AMD, even when
overclocked at 3.1GHz which is quite its limit and with very high
voltages that would probably seriously shorten its lifespan..

Then i tested the cheap version of an intel core2 Duo and got much
better results than with my AMD..
It seems that a cheap (60e) e2180 (Core2 Duo with only 1MB cache)
overclocked at 3GHz with stock voltages can easily handle 1080p on a
single core with ffmpeg.. i'm around 80% CPU load for a quite heavy
1080p stream.
I guess that it will still strugle with 1080i and deinterlacing from a
sat broadcast but i couldn't test it yet..

You can also get much better results when tweaking libavcodec option in
mplayer and removing some h264 specific post processing. When the HD
source is clean you can hardly see the difference and it can reduce the
CPU load to a nice 50/60%..

So for the moment i plan on moving to that tiny Intel monster and use a
ffmpeg powered h264 decoding..

>
> Unfortunately there is now no HDTV channel in QPSK Modulation
> available on Astra & Hotbird.  so no more hdtv with the my budget
> DVB-S card :(
>
>> I was just thinking of putting my DVB-S2 pci card (technotrend budget
>> dvb-s2) back in my ubuntu and try to get something working in kaffeine..
>
> I know for sure that you can already use the DVB-S part of the S2-3200
> and other cards, but it really depends on the hardware you have if the
> DVB-S2 part will work or not. What card do you have precisely?
I currently have a Technotrend S2-3200, it's a budget card which is
supposed to be "well" supported by the multiproto API branch of the v4l
dvb drivers..

Do you know if the DVB-S part of those DVB-S2 cards also works with CAM
emulation like kaffeine-sc plugin ?
>
> cheers,
> mtron
>
> [1] http://hftom.free.fr/phpBB2/
> [2] http://www.linuxtv.org/pipermail/vdr/2008-February/015744.html
> [3] http://dvbn.happysat.org/viewtopic.php?t=45574
thx for the links but it seems that [3] finally shows that coreavc thru
directshowserver does not work with xine and so not on  64bit systems
but i didn't really follow that dshowserver thing and don't quite
understand what it does and with what software/ system version.. Is it a
64bit Mythtv only thing, as i believe it is ? As far as i know
dshowserver doesn't work with 64bit mplayer, that's why i installed my
32bit chroot with coreavc patched mplayer..

There's a somewhat thin tutorial on how to install the TT s2-3200 with
multiproto but that guy claims "it doesn't fully works" so i've emailed
him to ask for some details on his setup and results..

Thx for you comments, i'll try to keep you posted, although i'm not
quite sure i'll make some serious progress anytime soon..

If there's some "simple" patching to get done in kaffeine to get
multiproto to work i'll  try to do it..

Later,

Marc


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Kaffeine-devel mailing list
Kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Parent Message unknown Re: Kaffeine & DVB-S2 / HD streams ?

by michael hoertnagl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm sorry for not replying to the list with my first post, but the
sf.net rules didn't allow my mail providers settings...

Eldon Tyrell wrote:
 >> actually xine uses ffmpeg for mpg2/h264, but be warned that the free
 >> implementation is still declared "alpha" ;)
 >
 > no sure what you mean by "free" implementation.

free in sense of Open Source Software vs. the later discussed
proprietary coreavc codec.


 >
 > okay so that's true for both 32bit and 64bit systems ?
 > i do have a svn ffmpeg on my ubuntu but i didn't compile xine svn on top
 > of it, i was using it for mplayer and vlc svn (qt4)

check if xine was build with the external ffmpeg switch. If not, xine
uses an internal ffmpeg version which is not up to date.

But you will need the 1.2 hg version of xine-lib. I doubt that you have
a binary package of the hg version, so better get a fresh checkout of
xine-lib 1.2 & latest ffmpeg.

There are currently no patches to ffmpeg or xine needed to use the
Multiproto DVB Drivers branch. Some users reported good results with
720p , S2-3200 & vdr with dvb-s2 patch and xine. if you can read german,
there is much information about this issue at vdr-portal.de [1]

All of my observations are based on a 32 bit ubuntu 7.10 with a AMD
Sempron 3000 CPU (1 gig RAM) & nvidia geforce4 vga with latest binary
driver and a technotrend tt-budget Nova-s card.

I can't tell you anything more about 64 bit, sorry. But i think hftom
uses a 64bit System. He might tell you more about 64bit quirks.

[1] http://www.vdr-portal.de/board/thread.php?threadid=70957

--
lg
michael

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Kaffeine-devel mailing list
Kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: Kaffeine & DVB-S2 / HD streams ?

by Eldon Tyrell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> check if xine was build with the external ffmpeg switch. If not, xine
> uses an internal ffmpeg version which is not up to date.
>
> But you will need the 1.2 hg version of xine-lib. I doubt that you have
> a binary package of the hg version, so better get a fresh checkout of
> xine-lib 1.2 & latest ffmpeg.
>  

it seems i did install hg 1.1.9 xine so i'll remove it and install the
1.2 branch and make sure it's configured with external ffmpeg svn..

>
> I can't tell you anything more about 64 bit, sorry. But i think hftom
> uses a 64bit System. He might tell you more about 64bit quirks.
>
> [1] http://www.vdr-portal.de/board/thread.php?threadid=70957
>  
well unfortunately i don't read german but i ended up on that vdr forum
many times during my googeling sessions..

But putting the 64bit problem aside, which is actually not a problem
when you stick to ffmpeg and so don't focus on coreavc support, i was
wondering if in its current state kaffeine was actually ready to support
HD in its DVB part..

I guess that would mean at least parsing HD channels meta data properly,
then using those streams with the xine part..

If it can't parse h264 channels meta data then it would have to be
updated for that and obviously it would have to be also modified to
support the multiproto API in order to tune DVB-S2 channels..

Maybe hftom can comment that subject..

Anyways for the time being i'll stick to ffmpeg and forget about
coreavc/64bit problems.
With my overclocked intel cpu i should be able to handle 1080i h264
decoding without deinterlacing..

I was also wondering if it's possible to pass specific libavcodec
options with xine as i did with mplayer to improve h264 decoding speed.
The mplayer command would look like this : #mplayer -lavdopts
fast=1:skiploopfilter=all

that would help h264 ffmpeg decoding on less powerfull systems..

thx for your comments,

Marc



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Kaffeine-devel mailing list
Kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: [Kaffeine-devel] Kaffeine & DVB-S2 / HD streams ?

by Bugzilla from christophpfister@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Am Samstag 29 März 2008 schrieb Eldon Tyrell:

> lo,
>
> i'm shooting blind here as i haven't searched a lot for this topic yet
> so please point me in the good direction even if the answer seems
> obvious, thx.
>
> So i was wondering if there's any work in progress concerning HD Streams
> support in kaffeine and in the DVB part especially.
> I don't even know if xine supports h264 HD decoding although it probably
> simply works as well (or bad) as ffmpeg does..

kaffeine "supports" h264 (there's one line of code recognising h264 as a valid
video stream). The rest depends on xine / ffmpeg ... I think they improved
quite a lot recently, but some parts (e.g. related to paff decoding) may be
still missing.

> And on the driver part, can anyone tell me the current status of DVB-S2
> cards drivers, i've read that multiprotocol is supposed to be a linuxtv
> driver branch with dvb-s/s2 cards support..
>
> Reading quickly through multiprotocol wiki i saw that dvb applications
> require some patching to handle the driver/tunning schem, anyone working
> on that ?

It's not supported by kaffeine (yet), and to be honest it doesn't have very
high priority.

> I was just thinking of putting my DVB-S2 pci card (technotrend budget
> dvb-s2) back in my ubuntu and try to get something working in kaffeine..

As far as I know every dvb-s2 channel (except Anixe) is scrambled nowadays ...
so there is only little benefit.

> thx for your comments,
>
> Marc

Christoph

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kaffeine-devel mailing list
kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: [Kaffeine-devel] Kaffeine & DVB-S2 / HD streams ?

by Bugzilla from hftom@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Monday 31 March 2008 13:46:49 Eldon Tyrell, vous avez écrit :

> But putting the 64bit problem aside, which is actually not a problem
> when you stick to ffmpeg and so don't focus on coreavc support, i was
> wondering if in its current state kaffeine was actually ready to support
> HD in its DVB part..

Yes, dvb-h264 works. Well, at least for the kaffeine part, the whole decoding
being done by xine+ffmpeg :)

> I guess that would mean at least parsing HD channels meta data properly,
> then using those streams with the xine part..
>
> If it can't parse h264 channels meta data then it would have to be
> updated for that and obviously it would have to be also modified to
> support the multiproto API in order to tune DVB-S2 channels..
>
> Maybe hftom can comment that subject..

dvb-s2 api is still not approved (and not finished).
we are waiting for it.

> Anyways for the time being i'll stick to ffmpeg and forget about
> coreavc/64bit problems.
> With my overclocked intel cpu i should be able to handle 1080i h264
> decoding without deinterlacing..
>
> I was also wondering if it's possible to pass specific libavcodec
> options with xine as i did with mplayer to improve h264 decoding speed.
> The mplayer command would look like this : #mplayer -lavdopts
> fast=1:skiploopfilter=all

> that would help h264 ffmpeg decoding on less powerfull systems..

yes: menu->settings->xine_settings->video->advanced_options-> *ffmpeg* options


--
Christophe Thommeret


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kaffeine-devel mailing list
kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: [Kaffeine-devel] Kaffeine & DVB-S2 / HD streams ?

by Eldon Tyrell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>
> Yes, dvb-h264 works. Well, at least for the kaffeine part, the whole decoding
> being done by xine+ffmpeg :)
>
> dvb-s2 api is still not approved (and not finished).
> we are waiting for it.
>
>  
without support for dvb-s2 api what kind of dvb-h264 tests where you
able to make so far ?

if i go down that road i'll plan on getting dvb-s2 support thru
multiproto api, dvb-s2 tunning seems to be the main problem so far and
requires the end user application to be "modified", although example
provided in multiproto wiki looks quite simple..

>> that would help h264 ffmpeg decoding on less powerfull systems..
>>    
>
> yes: menu->settings->xine_settings->video->advanced_options-> *ffmpeg* options
>  
Good to know, i'll give it a try, thx.


And to answer Christoph remark about FTA HD, i guess that you won't be
able to expect much on Sat, as usual, but here in France we should be
getting a "bunch" of FTA h264 HD channels over dvb-t, hopefully this
summer..

As for the sat channels, well you can always try to use subscription
cards with your dvb hardware right ?

I haven't read anything about kaffeine and dvb-t yet but i was under the
impression that current dvb-t mpeg2/4 channels
are working in kaffeine, right ?


I think i'll try to get my dvb-s2 hardware back together in a new box
with that overclocked intel cpu and see what happens in a 64bit ffmpeg
context.
It'll probably take a couple of weeks to get something "working" but
well maybe i'll be able to do some patching for kaffeine dvb-s2 support
then..

thx for your comments,

Marc

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kaffeine-devel mailing list
kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: Kaffeine & DVB-S2 / HD streams ?

by Bugzilla from christophpfister@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Montag 31 März 2008 schrieb Eldon Tyrell:
> > Yes, dvb-h264 works. Well, at least for the kaffeine part, the whole
> > decoding being done by xine+ffmpeg :)
> >
> > dvb-s2 api is still not approved (and not finished).
> > we are waiting for it.
>
> without support for dvb-s2 api what kind of dvb-h264 tests where you
> able to make so far ?

There are some unscrambled dvb-s h264 channels on 9.0°E (according to
lyngsat); I guess that there are also a few other sources.

> if i go down that road i'll plan on getting dvb-s2 support thru
> multiproto api, dvb-s2 tunning seems to be the main problem so far and
> requires the end user application to be "modified", although example
> provided in multiproto wiki looks quite simple..
>
> >> that would help h264 ffmpeg decoding on less powerfull systems..
> >
> > yes: menu->settings->xine_settings->video->advanced_options-> *ffmpeg*
> > options
>
> Good to know, i'll give it a try, thx.
>
>
> And to answer Christoph remark about FTA HD, i guess that you won't be
> able to expect much on Sat, as usual, but here in France we should be
> getting a "bunch" of FTA h264 HD channels over dvb-t, hopefully this
> summer..

My remark was about why dvb-s2 is only a little benefit at the moment.

> As for the sat channels, well you can always try to use subscription
> cards with your dvb hardware right ?

Some scrambling systems require you to use the provided set-top-box (because
there are no cams available for decryption, and you'd need such a cam for
using the subscription card with your pc ...).

> I haven't read anything about kaffeine and dvb-t yet but i was under the
> impression that current dvb-t mpeg2/4 channels
> are working in kaffeine, right ?

Yes (at least from the kaffeine side).

> I think i'll try to get my dvb-s2 hardware back together in a new box
> with that overclocked intel cpu and see what happens in a 64bit ffmpeg
> context.
> It'll probably take a couple of weeks to get something "working" but
> well maybe i'll be able to do some patching for kaffeine dvb-s2 support
> then..

Remember that the 0.8.x branch is closed ...

> thx for your comments,
>
> Marc

Christoph

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kaffeine-devel mailing list
kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel

Re: Kaffeine & DVB-S2 / HD streams ?

by Eldon Tyrell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Christoph Pfister wrote:
>> I haven't read anything about kaffeine and dvb-t yet but i was under the
>> impression that current dvb-t mpeg2/4 channels
>> are working in kaffeine, right ?
>>    
>
> Yes (at least from the kaffeine side).
>
>  
Okay, i still have to get a dvb-t card with working linux drivers.
>> It'll probably take a couple of weeks to get something "working" but
>> well maybe i'll be able to do some patching for kaffeine dvb-s2 support
>> then..
>>    
>
> Remember that the 0.8.x branch is closed ...
>  
I think i was given the link to the new branch but i can't find it back,
could you please point me to it.
Maybe the "devel" page on the web site should be updated to show the
current active branch.

thx again,

Marc

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kaffeine-devel mailing list
kaffeine-devel@...
https://lists.sourceforge.net/lists/listinfo/kaffeine-devel