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

Mailing List Archive: MythTV: Users

Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2

 

 

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


cm at internalscripts

Jul 11, 2008, 1:20 PM

Post #1 of 11 (604 views)
Permalink
Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2

Hello,

I want to record to an SVCD-ready stream with my Hauppauge PVR USB2. I
think the device is capable of doing so because a
'cat /sys/class/pvrusb2/sn-9009731/ctl_stream_type/enum_val' gives me
the following results:

MPEG-2 Program Stream
MPEG-1 System Stream
MPEG-2 DVD-compatible Stream
MPEG-1 VCD-compatible Stream
MPEG-2 SVCD-compatible Stream

Unfortunatly the last option is not accessible in the recording-profiles
in MythTV.

The reason for doing so is to avoid a transcoding-step that lowers the
quality. I already have recordings in SVCD-resolution with an average
bit-rate of 1800 and a max. bit-rate of 2400 but after running mplex
on them it told me of an peak bit-rate of 7000 kpbs. That's to high for
an SVCD.

Is it possible to create a recording-profile that records with the
"MPEG-2 SVCD-compatible Stream"-stream-type and uses an
audio-sampling-rate of 44,1kHz?

Thanks in advance.
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


peter at vanderwal

Jul 11, 2008, 8:44 AM

Post #2 of 11 (582 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

I'm a little confused. You say you want to record a recording that you
already have?
I would think that transcoding it would be better than converting it to
analog and then recording the analog, at least I think that's what you are
suggesting.

> I want to record to an SVCD-ready stream with my Hauppauge PVR USB2. I
> think the device is capable of doing so because a
> 'cat /sys/class/pvrusb2/sn-9009731/ctl_stream_type/enum_val' gives me
> the following results:
>
> MPEG-2 Program Stream
> MPEG-1 System Stream
> MPEG-2 DVD-compatible Stream
> MPEG-1 VCD-compatible Stream
> MPEG-2 SVCD-compatible Stream
>
> Unfortunatly the last option is not accessible in the recording-profiles
> in MythTV.
>
> The reason for doing so is to avoid a transcoding-step that lowers the
> quality. I already have recordings in SVCD-resolution with an average
> bit-rate of 1800 and a max. bit-rate of 2400 but after running mplex
> on them it told me of an peak bit-rate of 7000 kpbs. That's to high for
> an SVCD.
>
> Is it possible to create a recording-profile that records with the
> "MPEG-2 SVCD-compatible Stream"-stream-type and uses an
> audio-sampling-rate of 44,1kHz?
>
> Thanks in advance.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


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


cm at internalscripts

Jul 12, 2008, 4:51 AM

Post #3 of 11 (574 views)
Permalink
Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

No, sorry that I described it a little bit unclear. For the recordings
already made, there is no other way than transcoding it. But I wanna
have a recording-profile that makes it possible to burn future
recordings to SVCD without transcoding. There are already
DVD-stream-types selectable, but no one for SVCD.

So here comes my actual question:
Is it possible to create a recording-profile that records with the
"MPEG-2 SVCD-compatible Stream"-stream-type of the PVRUSB2 and uses an
audio-sampling-rate of 44,1kHz?


> I'm a little confused. You say you want to record a recording that
> you already have?
> I would think that transcoding it would be better than converting it
> to analog and then recording the analog, at least I think that's what
> you are suggesting.
>
> > I want to record to an SVCD-ready stream with my Hauppauge PVR
> > USB2. I think the device is capable of doing so because a
> > 'cat /sys/class/pvrusb2/sn-9009731/ctl_stream_type/enum_val' gives
> > me the following results:
> >
> > MPEG-2 Program Stream
> > MPEG-1 System Stream
> > MPEG-2 DVD-compatible Stream
> > MPEG-1 VCD-compatible Stream
> > MPEG-2 SVCD-compatible Stream
> >
> > Unfortunatly the last option is not accessible in the
> > recording-profiles in MythTV.
> >
> > The reason for doing so is to avoid a transcoding-step that lowers
> > the quality. I already have recordings in SVCD-resolution with an
> > average bit-rate of 1800 and a max. bit-rate of 2400 but after
> > running mplex on them it told me of an peak bit-rate of 7000 kpbs.
> > That's to high for an SVCD.
> >
> > Is it possible to create a recording-profile that records with the
> > "MPEG-2 SVCD-compatible Stream"-stream-type and uses an
> > audio-sampling-rate of 44,1kHz?
> >
> > Thanks in advance.
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jra at baylink

Jul 14, 2008, 7:25 AM

Post #4 of 11 (548 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

On Fri, Jul 11, 2008 at 03:44:40PM -0000, Peter VanDerWal wrote:
> I'm a little confused. You say you want to record a recording that you
> already have?
> I would think that transcoding it would be better than converting it to
> analog and then recording the analog, at least I think that's what you are
> suggesting.

No, his question is actually, so far as I can determine, "how do I
configure my recording parameters for the Hauppauge card so as to get
SVCD compliant MPEG files out of it".

I don't know the answer, that just seems to me to be the question. :-)

MPEG1 seems required, though, if I remember my SVCD...

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra[at]baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Josef Stalin)
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Jul 14, 2008, 3:00 PM

Post #5 of 11 (538 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

On Tue, Jul 15, 2008 at 2:25 AM, Jay R. Ashworth <jra[at]baylink.com> wrote:
> On Fri, Jul 11, 2008 at 03:44:40PM -0000, Peter VanDerWal wrote:
>> I'm a little confused. You say you want to record a recording that you
>> already have?
>> I would think that transcoding it would be better than converting it to
>> analog and then recording the analog, at least I think that's what you are
>> suggesting.
>
> No, his question is actually, so far as I can determine, "how do I
> configure my recording parameters for the Hauppauge card so as to get
> SVCD compliant MPEG files out of it".
>
> I don't know the answer, that just seems to me to be the question. :-)
>
> MPEG1 seems required, though, if I remember my SVCD...
>

I think you are thinking of VCD, not SVCD. According to wikipedia:

Video

* Codec: MPEG-2
* Resolution: 2/3 D1
o NTSC: 480x480
o PAL/SECAM: 480x576
* Aspect Ratio: 4:3 / 16:9
* Framerate:
o NTSC: 29.97 frames per second
o PAL/SECAM: 25 frames per second
* Bit rate: Up to 2,600 kilobits per second
o Rate Control: Constant or variable bit rate

I think the question is: "The card tells me it can do SVCD compatible
streams, but there is no such option in MythTV. How do I make it give
me SVCD streams"

Perhaps the answer is: "no one thought you'd be using SVCD's in the
age in which DVD burners and blank disks are chap as chips"
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


cm at internalscripts

Jul 15, 2008, 7:55 AM

Post #6 of 11 (522 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

> On Tue, Jul 15, 2008 at 2:25 AM, Jay R. Ashworth <jra at baylink.com>
> wrote:
> I think the question is: "The card tells me it can do SVCD compatible
> streams, but there is no such option in MythTV. How do I make it give
> me SVCD streams"

Yes, that's right. Where in the DB are the config-data for those
V4L-profiles?

>
> Perhaps the answer is: "no one thought you'd be using SVCD's in the
> age in which DVD burners and blank disks are chap as chips"

That's also right but not very helpful ;) I have 50 blank CD-Rs lieing
around here and a 45min-episode of a serial would fit perfectly.
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jra at baylink

Jul 15, 2008, 7:59 AM

Post #7 of 11 (524 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

On Tue, Jul 15, 2008 at 10:00:28AM +1200, Nick Rout wrote:
> On Tue, Jul 15, 2008 at 2:25 AM, Jay R. Ashworth <jra[at]baylink.com> wrote:
> > No, his question is actually, so far as I can determine, "how do I
> > configure my recording parameters for the Hauppauge card so as to get
> > SVCD compliant MPEG files out of it".
> >
> > I don't know the answer, that just seems to me to be the question. :-)
> >
> > MPEG1 seems required, though, if I remember my SVCD...
>
> I think you are thinking of VCD, not SVCD. According to wikipedia:
>
> Video
>
> * Codec: MPEG-2

Yeah, you're right; I went back and re-read his posting after I hit
send and saw what the card said.

*I* think the answer is just "create a recording profile for the card
that has the parameters you just copied from Wikipedia, and see if it
works." :-)

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra[at]baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Josef Stalin)
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


cm at internalscripts

Jul 15, 2008, 8:13 AM

Post #8 of 11 (522 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

> On Tue, Jul 15, 2008 at 10:00:28AM +1200, Nick Rout wrote:
> > On Tue, Jul 15, 2008 at 2:25 AM, Jay R. Ashworth <jra at
> > baylink.com> wrote:
> > > No, his question is actually, so far as I can determine, "how do I
> > > configure my recording parameters for the Hauppauge card so as to
> > > get SVCD compliant MPEG files out of it".
> > >
> > > I don't know the answer, that just seems to me to be the
> > > question. :-)
> > >
> > > MPEG1 seems required, though, if I remember my SVCD...
> >
> > I think you are thinking of VCD, not SVCD. According to wikipedia:
> >
> > Video
> >
> > * Codec: MPEG-2
>
> Yeah, you're right; I went back and re-read his posting after I hit
> send and saw what the card said.
>
> *I* think the answer is just "create a recording profile for the card
> that has the parameters you just copied from Wikipedia, and see if it
> works." :-)
>
No, that won't work, as the SVCD-MPEG-2-stream requires scan-offsets
(SOF) that aren't part of a "normal" stream.
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jra at baylink

Jul 15, 2008, 8:22 AM

Post #9 of 11 (522 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

On Tue, Jul 15, 2008 at 05:13:09PM +0200, Carsten Meier wrote:
> > *I* think the answer is just "create a recording profile for the card
> > that has the parameters you just copied from Wikipedia, and see if it
> > works." :-)
> >
> No, that won't work, as the SVCD-MPEG-2-stream requires scan-offsets
> (SOF) that aren't part of a "normal" stream.

Aha. Then I don't know enough, and I'm going to shut up now.

Cheers,
-- jr 'someone is *wrong* on the Internet!' a
--
Jay R. Ashworth Baylink jra[at]baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Josef Stalin)
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


knowledgejunkie at gmail

Jul 15, 2008, 1:17 PM

Post #10 of 11 (508 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

2008/7/11 Carsten Meier <cm[at]internalscripts.de>:
> Hello,
>
> I want to record to an SVCD-ready stream with my Hauppauge PVR USB2. I
> think the device is capable of doing so because a
> 'cat /sys/class/pvrusb2/sn-9009731/ctl_stream_type/enum_val' gives me
> the following results:
>
> MPEG-2 Program Stream
> MPEG-1 System Stream
> MPEG-2 DVD-compatible Stream
> MPEG-1 VCD-compatible Stream
> MPEG-2 SVCD-compatible Stream

These are specified in the v4l2_mpeg_stream_type enumeration in
mythtv/libs/libmythtv/videodev2_myth.h, so MythTV is certainly aware
of them, even if they are not enabled:

/* MPEG streams */
#define V4L2_CID_MPEG_STREAM_TYPE (V4L2_CID_MPEG_BASE+0)
enum v4l2_mpeg_stream_type {
V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
};


--
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


danielk at cuymedia

Jul 16, 2008, 7:34 AM

Post #11 of 11 (480 views)
Permalink
Re: Record to "MPEG-2 SVCD-compatible Stream" with Hauppauge PVR USB2 [In reply to]

On Fri, 2008-07-11 at 22:20 +0200, Carsten Meier wrote:
> Hello,
>
> I want to record to an SVCD-ready stream with my Hauppauge PVR USB2. I
> think the device is capable of doing so because a
> 'cat /sys/class/pvrusb2/sn-9009731/ctl_stream_type/enum_val' gives me
> the following results:
>
> MPEG-2 Program Stream
> MPEG-1 System Stream
> MPEG-2 DVD-compatible Stream
> MPEG-1 VCD-compatible Stream
> MPEG-2 SVCD-compatible Stream
>
> Unfortunatly the last option is not accessible in the recording-profiles
> in MythTV.

The ivtv driver also lists MPEG-2 SVCD, but doesn't actually support it.

<snip>
> Is it possible to create a recording-profile that records with the
> "MPEG-2 SVCD-compatible Stream"-stream-type and uses an
> audio-sampling-rate of 44,1kHz?

You could try just setting up a MPEG-2 PS recording with the resolution
and audio sampling rate required by SVCD.

-- Daniel

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

MythTV users 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.