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