On Sun, 8 Jan 2006, J.O. Aho wrote:
> On Sun, 8 Jan 2006, Herbert Meier wrote: > > > cat /dev/video0 > file.mpg > > > > As I don't know how to do different, I send a SIGINT > > (CTRL+C) in order to stop recording. > > > > For me it seems to be that the driver doesn't close the mpeg > > stream properly when sending CTRL+C. > > cat don't know anything about mpeg, it just displays the data it read (in > this case to a file instead of stdout). > > > > Does somebody know a tool for checking mpeg files for proper > > structure? So I would be able to investigate the situation a little > > bit closer. > > You could process the mpeg stream and split it into two strams > (audio/video) with transcode and then reboot into microsoft to do the > rest, if you don't want transcode to do the job for you. I would like to have a proper mpeg from the PVR because the other one that is working with me together is a Windows user and therefore needs a proper mpg. He has just informed me about problems arising when splitting into video and audio streams. My dream would be a program that creates MPG slices of desired chunk size, all slices being proper, standalone mpegs. e.g. cat /dev/video0 | mpegslice -s 100M -o outfile creating outfile001.mpg outfile002.mpg outfile003.mpg ... all files having a size about 100M, as given by the command line parameter. Do you have any idea for that? > I have used streams made with help of cat in avidemux2 too without any > problems. I would think it's more a bug in that software you use in > microsoft. Isn't it possible to create proper mpg files with the linux PVR? That is all what I want: proper MPG files, not broken things needing special tools that catch all errors. Is there any command line alternative for the "cat /dev/video0 > file.mpg" ?? One preferred that creates proper mpegs. regards, Herbert. _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
