Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

gmyth livetv transcode support

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


melunko at gmail

May 17, 2007, 6:35 AM

Post #1 of 9 (1572 views)
Permalink
gmyth livetv transcode support

Hello there,

I am part of the team that is developing gmyth library. We have had
interesting results to access several mythtv backend content remotely and
one relevant contribution was the livetv transcode solution we had made
based on gmyth, gmyth-stream and two different transcode engines: mencoder
and gstreamer. This set of SW allow us to play mythtv channels remotely in
any format we would like. This is particularly relevant for small linux
based devices with wlan capability that could consume Mythtv content
straightforward.

We have tested this solution in our analog TV environment and it would be
very valuable to us if someone could try this solution in another
environment and contribute to gmyth. So, please, if anyone is interested in
this topic, be our guest.


BR,
Hallyson Melo


devel at mrwire

May 17, 2007, 6:46 AM

Post #2 of 9 (1526 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Any chance of some links/more info?

Matt

Hello there,

I am part of the team that is developing gmyth library. We have had interesting results to access several mythtv backend content remotely and one relevant contribution was the livetv transcode solution we had made based on gmyth, gmyth-stream and two different transcode engines: mencoder and gstreamer. This set of SW allow us to play mythtv channels remotely in any format we would like. This is particularly relevant for small linux based devices with wlan capability that could consume Mythtv content straightforward.

We have tested this solution in our analog TV environment and it would be very valuable to us if someone could try this solution in another environment and contribute to gmyth. So, please, if anyone is interested in this topic, be our guest.


BR,
Hallyson Melo


melunko at gmail

May 17, 2007, 7:21 AM

Post #3 of 9 (1513 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Hi Matt, sure.

gmyth svn: https://svn.sourceforge.net/svnroot/gmyth/trunk

To play livetv with gmyth is very simple:

- Compile and install gmyth (dpkg-buildpackage works)
- Run:
$ gmyth-cat -h hostname -p 6543 -c chan_num | mplayer -nocache -

where hostname is the mythtv backend address. If it freezes, try -cache
1000.

- You can list the channels available:
$ gmyth-ls -h hostname -p 6543 -u mythtv -w mythtv -c

We are writing a tutorial about how to use gmyth-stream, but if gmyth-cat
works fine, livetv transcode will be fine as well.

BR,
Melunko


On 5/17/07, devel[at]mrwire.co.uk <devel[at]mrwire.co.uk> wrote:
>
> Any chance of some links/more info?
>
> Matt
>
> Hello there,
>
> I am part of the team that is developing gmyth library. We have had
> interesting results to access several mythtv backend content remotely and
> one relevant contribution was the livetv transcode solution we had made
> based on gmyth, gmyth-stream and two different transcode engines: mencoder
> and gstreamer. This set of SW allow us to play mythtv channels remotely in
> any format we would like. This is particularly relevant for small linux
> based devices with wlan capability that could consume Mythtv content
> straightforward.
>
> We have tested this solution in our analog TV environment and it would be
> very valuable to us if someone could try this solution in another
> environment and contribute to gmyth. So, please, if anyone is interested in
> this topic, be our guest.
>
>
> BR,
> Hallyson Melo
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>


ille at ludd

May 17, 2007, 10:04 AM

Post #4 of 9 (1519 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Melunko wrote:
> Hi Matt, sure.
>
> gmyth svn: https://svn.sourceforge.net/svnroot/gmyth/trunk
>
> To play livetv with gmyth is very simple:
>
> - Compile and install gmyth (dpkg-buildpackage works)
> - Run:
> $ gmyth-cat -h hostname -p 6543 -c chan_num | mplayer -nocache -
>
> where hostname is the mythtv backend address. If it freezes, try
> -cache 1000.
>
> - You can list the channels available:
> $ gmyth-ls -h hostname -p 6543 -u mythtv -w mythtv -c
>
> We are writing a tutorial about how to use gmyth-stream, but if
> gmyth-cat works fine, livetv transcode will be fine as well.
>
> BR,
> Melunko
>
>
> On 5/17/07, * devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>*
> <devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>> wrote:
>
> Any chance of some links/more info?
>
> Matt
>
>
> Hello there,
>
> I am part of the team that is developing gmyth library. We have
> had interesting results to access several mythtv backend content
> remotely and one relevant contribution was the livetv transcode
> solution we had made based on gmyth, gmyth-stream and two
> different transcode engines: mencoder and gstreamer. This set of
> SW allow us to play mythtv channels remotely in any format we
> would like. This is particularly relevant for small linux based
> devices with wlan capability that could consume Mythtv content
> straightforward.
>
> We have tested this solution in our analog TV environment and it
> would be very valuable to us if someone could try this solution in
> another environment and contribute to gmyth. So, please, if anyone
> is interested in this topic, be our guest.
>
>
> BR,
> Hallyson Melo
>
>
Nice work!

gmyth-cat works well for me with DVB-C (PAL) on my Ubuntu 6.10 laptop.
My backend version is 0.20-fixes

/Christian



_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


melunko at gmail

May 17, 2007, 10:10 AM

Post #5 of 9 (1513 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Hi Christian, thanks. This is good news, since I never tried with DVB-C. If
you have any other results, please tell me.

[]s,
Melunko

On 5/17/07, Christian Fredriksson <ille[at]ludd.ltu.se> wrote:
>
> Melunko wrote:
> > Hi Matt, sure.
> >
> > gmyth svn: https://svn.sourceforge.net/svnroot/gmyth/trunk
> >
> > To play livetv with gmyth is very simple:
> >
> > - Compile and install gmyth (dpkg-buildpackage works)
> > - Run:
> > $ gmyth-cat -h hostname -p 6543 -c chan_num | mplayer -nocache -
> >
> > where hostname is the mythtv backend address. If it freezes, try
> > -cache 1000.
> >
> > - You can list the channels available:
> > $ gmyth-ls -h hostname -p 6543 -u mythtv -w mythtv -c
> >
> > We are writing a tutorial about how to use gmyth-stream, but if
> > gmyth-cat works fine, livetv transcode will be fine as well.
> >
> > BR,
> > Melunko
> >
> >
> > On 5/17/07, * devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>*
> > <devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>> wrote:
> >
> > Any chance of some links/more info?
> >
> > Matt
> >
> >
> > Hello there,
> >
> > I am part of the team that is developing gmyth library. We have
> > had interesting results to access several mythtv backend content
> > remotely and one relevant contribution was the livetv transcode
> > solution we had made based on gmyth, gmyth-stream and two
> > different transcode engines: mencoder and gstreamer. This set of
> > SW allow us to play mythtv channels remotely in any format we
> > would like. This is particularly relevant for small linux based
> > devices with wlan capability that could consume Mythtv content
> > straightforward.
> >
> > We have tested this solution in our analog TV environment and it
> > would be very valuable to us if someone could try this solution in
> > another environment and contribute to gmyth. So, please, if anyone
> > is interested in this topic, be our guest.
> >
> >
> > BR,
> > Hallyson Melo
> >
> >
> Nice work!
>
> gmyth-cat works well for me with DVB-C (PAL) on my Ubuntu 6.10 laptop.
> My backend version is 0.20-fixes
>
> /Christian
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>


micke at smeddan

May 17, 2007, 12:22 PM

Post #6 of 9 (1503 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Melunko skrev:
> Hi Matt, sure.
>
> gmyth svn: https://svn.sourceforge.net/svnroot/gmyth/trunk
>
> To play livetv with gmyth is very simple:
>
> - Compile and install gmyth (dpkg-buildpackage works)
> - Run:
> $ gmyth-cat -h hostname -p 6543 -c chan_num | mplayer -nocache -
>
> where hostname is the mythtv backend address. If it freezes, try
> -cache 1000.
>
> - You can list the channels available:
> $ gmyth-ls -h hostname -p 6543 -u mythtv -w mythtv -c
>
> We are writing a tutorial about how to use gmyth-stream, but if
> gmyth-cat works fine, livetv transcode will be fine as well.
>
> BR,
> Melunko
>
>
> On 5/17/07, * devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>*
> <devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>> wrote:
>
> Any chance of some links/more info?
>
> Matt
>
>
> Hello there,
>
> I am part of the team that is developing gmyth library. We have
> had interesting results to access several mythtv backend content
> remotely and one relevant contribution was the livetv transcode
> solution we had made based on gmyth, gmyth-stream and two
> different transcode engines: mencoder and gstreamer. This set of
> SW allow us to play mythtv channels remotely in any format we
> would like. This is particularly relevant for small linux based
> devices with wlan capability that could consume Mythtv content
> straightforward.
>
> We have tested this solution in our analog TV environment and it
> would be very valuable to us if someone could try this solution in
> another environment and contribute to gmyth. So, please, if anyone
> is interested in this topic, be our guest.
>
>
> BR,
> Hallyson Melo
>
Quick test. Works excelent on MFE FC6 with MBE 0.20-fixes (patched for
SC) DVB-T PAL.

Great work.
/Micke


_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stuart at xnet

May 17, 2007, 12:34 PM

Post #7 of 9 (1504 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Hi...

Melunko wrote:
> Hello there,
>
> I am part of the team that is developing gmyth library. We have had
> interesting results to access several mythtv backend content remotely
> and one relevant contribution was the livetv transcode solution we had
> made based on gmyth, gmyth-stream and two different transcode engines:
> mencoder and gstreamer. This set of SW allow us to play mythtv channels
> remotely in any format we would like. This is particularly relevant for
> small linux based devices with wlan capability that could consume Mythtv
> content straightforward.
>
> We have tested this solution in our analog TV environment and it would
> be very valuable to us if someone could try this solution in another
> environment and contribute to gmyth. So, please, if anyone is interested
> in this topic, be our guest.
>
>
> BR,
> Hallyson Melo

Interesting - let me ask so I can paste the pieces together in my mind.
Are you saying this new feature drops in place between the mythtv back
end and a client to transcode the video? So, for example, an mvpmc.org
capable MediaMVP box (which can not handle the high BW of HD TV) can be
detected and supported by offering it programs that have been transcoded
to NTSC like BW?

I have this set up several times over and have been wondering how to go
about creating the Mythtv code to detect and support such clients!

Tell me how to test your code and I'll set up a test.




_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


melunko at gmail

May 17, 2007, 1:18 PM

Post #8 of 9 (1519 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Hello stuart,

We use gmyth-cat to read livetv content (or recorded programs) from backend
and forward to standard output. Them we "inject" this data to mencoder to be
transcoded to a suitable format and muxer. Afterward we stream the data via
http.

The piece of SW that join all together is the gmyth-stream written in
python. The advantages of this solution is that gmyth-stream can be launched
in any machine. It does not need to run on mythtv backend machine nor video
player machine. I will try to describe my setup:


*** Install svn version of mencoder
$ svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
$ cd mplayer
$ ./configure
$ make
$ sudo make install

-> This is needed because in the svn version they fixed some problem to
write data to stdout. Older versions do not do that.

*** Install gmyth and gmyth-utils packages.
$ svn co https://svn.sourceforge.net/svnroot/gmyth/trunk/gmyth gmyth
$ cd gmyth
$ ./autogen.sh
$ dpkg-buildpackage -rfakeroot -uc -us -b
$ sudo dpkg -i ../gmyth_0.3_i386.deb ../gmyth-utils_0.3_i386.dev

-> This should play livetv:
$ gmyth-cat --hostname=backend_ip --port=6543 --channel=13 | mplayer -cache
500 -


*** Check-out and run gmyth-stream
$ svn co https://svn.sourceforge.net/svnroot/gmyth/trunk/gmyth-streamgmyth-stream
$ cd gmyth-stream/server/0.2
$ python gms.py

Now we can test if the gmyth-stream is working
$ mplayer "http://transcoder_ip:40000/stream.do?transcoder=mencoder&type=myth&uri=backend_ip:6543/livetv/?channel=13<http://127.0.0.1:40000/stream.do?transcoder=mencoder&type=myth&uri=192.168.3.110:6543/livetv/?channel=13>"
-nocache

change transcoder_ip, backend_ip and channel num (13 in the example)

- By default the transcoder sets are: output_width=320,output_height=240,
but you can pass different values in the URL.

So, please, let me know if it works. We have a big problem right now, when
mythtv backend changes the recording file after about 30minutes of playback,
it sends a BACKEND_MESSAGE. We are handling these messages, but it is not
working 100%, maybe one of you could help.

BR,
Melunko

On 5/17/07, stuart <stuart[at]xnet.com> wrote:
>
> Hi...
>
> Melunko wrote:
> > Hello there,
> >
> > I am part of the team that is developing gmyth library. We have had
> > interesting results to access several mythtv backend content remotely
> > and one relevant contribution was the livetv transcode solution we had
> > made based on gmyth, gmyth-stream and two different transcode engines:
> > mencoder and gstreamer. This set of SW allow us to play mythtv channels
> > remotely in any format we would like. This is particularly relevant for
> > small linux based devices with wlan capability that could consume Mythtv
> > content straightforward.
> >
> > We have tested this solution in our analog TV environment and it would
> > be very valuable to us if someone could try this solution in another
> > environment and contribute to gmyth. So, please, if anyone is interested
> > in this topic, be our guest.
> >
> >
> > BR,
> > Hallyson Melo
>
> Interesting - let me ask so I can paste the pieces together in my mind.
> Are you saying this new feature drops in place between the mythtv back
> end and a client to transcode the video? So, for example, an mvpmc.org
> capable MediaMVP box (which can not handle the high BW of HD TV) can be
> detected and supported by offering it programs that have been transcoded
> to NTSC like BW?
>
> I have this set up several times over and have been wondering how to go
> about creating the Mythtv code to detect and support such clients!
>
> Tell me how to test your code and I'll set up a test.
>
>
>
>
>


melunko at gmail

May 17, 2007, 1:21 PM

Post #9 of 9 (1516 views)
Permalink
Re: gmyth livetv transcode support [In reply to]

Hi Micke, thanks.

gmyth-cat usually stops after about 30minutes when the mythbackend changes
the recording file to another. It sends a BACKEND_MESSAGE that we are not
handling very well at the moment. I am still working to fix this. I believe
you could see this error after some playback time.

Melunko

On 5/17/07, Micke Smedeus <micke[at]smeddan.mine.nu> wrote:
>
> Melunko skrev:
> > Hi Matt, sure.
> >
> > gmyth svn: https://svn.sourceforge.net/svnroot/gmyth/trunk
> >
> > To play livetv with gmyth is very simple:
> >
> > - Compile and install gmyth (dpkg-buildpackage works)
> > - Run:
> > $ gmyth-cat -h hostname -p 6543 -c chan_num | mplayer -nocache -
> >
> > where hostname is the mythtv backend address. If it freezes, try
> > -cache 1000.
> >
> > - You can list the channels available:
> > $ gmyth-ls -h hostname -p 6543 -u mythtv -w mythtv -c
> >
> > We are writing a tutorial about how to use gmyth-stream, but if
> > gmyth-cat works fine, livetv transcode will be fine as well.
> >
> > BR,
> > Melunko
> >
> >
> > On 5/17/07, * devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>*
> > <devel[at]mrwire.co.uk <mailto:devel[at]mrwire.co.uk>> wrote:
> >
> > Any chance of some links/more info?
> >
> > Matt
> >
> >
> > Hello there,
> >
> > I am part of the team that is developing gmyth library. We have
> > had interesting results to access several mythtv backend content
> > remotely and one relevant contribution was the livetv transcode
> > solution we had made based on gmyth, gmyth-stream and two
> > different transcode engines: mencoder and gstreamer. This set of
> > SW allow us to play mythtv channels remotely in any format we
> > would like. This is particularly relevant for small linux based
> > devices with wlan capability that could consume Mythtv content
> > straightforward.
> >
> > We have tested this solution in our analog TV environment and it
> > would be very valuable to us if someone could try this solution in
> > another environment and contribute to gmyth. So, please, if anyone
> > is interested in this topic, be our guest.
> >
> >
> > BR,
> > Hallyson Melo
> >
> Quick test. Works excelent on MFE FC6 with MBE 0.20-fixes (patched for
> SC) DVB-T PAL.
>
> Great work.
> /Micke
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.