luukes wrote:
> Am Mittwoch, 14. Juni 2006 00:07 schrieb Phil Ehrens:
> > luukes wrote:
> > > hello!
> > >
> > > i have a haupauge pvr 150 which has an mpeg2-encoder and i want
> > > to process the incoming mpeg2 stream.
> > >
> > > if i do
> > > # cat /dev/video0 > test.mpg
> > > # transcode -x mpeg2,null -i test.mpg -k -g 720x576 -f 25,3 -y
> > > yuv4mpeg,null ...
> > > everything works.
> > >
> > > but i don't want to write a huge file to disk, i want
> > > to read from the device (or from a pipe).
> > > # transcode -x mpeg2,null -i /dev/video0 -k -g 720x576 -f 25,3 -y
> > > yuv4mpeg,null ...
> > > then many parts of the picture are destroyed (mainly on the right side)
> > > but some parts are ok.
> > >
> > > so, what do i need to do, that i can read from the device (or a pipe)
> > > directly?
> >
> > Did you read this:
> >
> > http://www.transcoding.org/cgi-bin/transcode?Video4linux_Examples
> 
> yes, i did. but in this examples raw yuv-streams from tv-input are processed
> but i want to use the mpeg2 stream from the card (from the composite-IN).
> the card does mpeg2-encoding, so 'cat /dev/video0 > test.mpg' creates a
> valid mpeg2 PS video file. if i use -x v4l2 it does not work so i think
> (but i'm not sure) that the v4l-import cannot handle mpeg2-streams.
> 
> the question is - where is the difference? i mean it's exactly the same
> data in the file as the one coming from the device, but the resulting
> picture is different.

Sorry, I don't know. I was just hoping that page might be helpful.
Good luck.

Reply via email to