Hi Bernie, I did a little research and math.
(1) The original video was recorded with a "Canovision 8" camcorder purchased in the mid-80s. The spec says the CCD is 1/3 inch with 320k pixels. This particular camera was made for the US (American) market, and it has a simple RCA one vido and one RCA mono outputs. Connecting it to an old TV set (NTSC) it provided a decent video play. My digitazing device (ION Video 2 SD) has one RCA video input and two RCA stereo inputs (I used an RCA "Y" connector to provide fake stereo input to the device). The ezcap0001.avi file created by the device does indeed have the strange 800x592 resolution. OK, but it is almost 4:3 or 800:600. (2) One of the standard Aspect Ratios of Digital Videos is 4/3. If the Canovision camera has 320k pixels then for a 4/3 AR of the mid 80s TV sets the video output of the camera must have 692.82x461.88 pixel output. Apparently the ION device converted it to 800x592. I don't know how and why, but that's OK The discrepancy between 600 and 592 must be to the zooming algorithm designed into the ION software. As far as the compression methods (various audio and video mp???, etc.) are concerned - again, it is designed into the resulting digital file format of ezcapnnnn.avi. (3) I decided to use ffmpeg to transcode the ezcap... file: ffmpeg -i ezcap0001.avi -vcodec mjpeg -acodec pcm_s16le x.avi and then use glav for editing (had to use -a 0 because of the dsp issue -later), and IT WORKED! The video looks good, good aspect ratio (not squeezed horizontally or vertically). I think, I'm all set for now. This was a good learning experience. Thanks again, Janos On Sat, 22 Oct 2022 11:36:03 +0200 Bernhard Praschinger <bernh...@griesbach.at> wrote: > Hallo, > > I digged it up from a older mail: > Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / > 0x44495658), > yuv420p, 800x592 [SAR 1:1 DAR 50:37], 896 kb/s, 30 fps, 30 tbr, 30 > tbn, > > I'm not sure what kind source you have: because the size is with > 800x592 a little bit strange. That is neither PAL not NTSC or SECAM > > If you want to encode the result for video please try a command like > that assuming you have a 4:3 source: > > cat stream.yuv │ yuvscaler -O DVD | yuv2lav -I 0 -q 90 -f q -o > video_without_sound.qt & > > Depending on the source video you might need to add the -n p/s/n > p=pal,s=secam,n=ntsc switch to yuvscaler. > > If it lookes strange please add the output from the commands to the > mail. Add to yuvscaler and yuv2lav: -v 2 so the output is more > verbose. > > > > Janos G Komaromi wrote: > > Sorry to bother this community again with a follow up question: > > > > Now that glav works I have visually noticed a difference between the > > original (compressed) file and the glav-compatible (huge) file. In > > order to confirm my suspicion I issued the command: > > ffprobe -v error -show_format -show_streams <both versions> > > and compared the outputs - see attached diff.txt file. > > > > It is obvious that > > (a) width and height ratio is changed (lines 12-13 vs 19-20); > > (b) yuv420p vs yuvj422p (lines 26 vs 33) - maybe not relevant for > > visual appearance; > > (c) time base (lines 42 vs 44) - this explains the bloated size, do > > we need this, and if not, how to leave it as original? > > > > Obviously, only item (a) is important, the rest is mainly for my > > curiosity and better understanding of the digital video concepts. > > > > Janos > > > > > > On Wed, 19 Oct 2022 14:36:58 -0400 > > "Janos G. Komaromi" <ja...@jankom.net> wrote: > > > >> Thanks. Yes, glav works with -a 0. > >> > >> As far as /dev/dsp is concerned I may have to recompile kernel to > >> include oss drivers. I'll keep on working the sound part, but for > >> my most immediate editing tasks sound output is not that important. > >> > >> Thanks again for all you support and also for Stephen's idea of > >> ffmpeg method of simmply cutting out a section of the original > >> (compressed) .avi file. > >> > >> Best to all, > >> > >> Janos > >> PS - please add my other email address > >> ja...@andraslinux.jgklinux.jankom.net > >> to members of your mailing list. > >> > -- sent from Janos' Hillary server and NOT from iPhone nor Google facebook, instagram, viber, snapchat, twitter, tik-tok, etc. - neither of like those. https://andraslinux.jgklinux.jankom.net/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users