From: Bernhard P. <ber...@gr...> - 2022-10-22 09:36:12
|
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...@ja...> 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...@an... >> to members of your mailing list. >> -- auf hoffentlich bald, Berni the Chaos of Woodquarter Email: ber...@gr... www: http://www.lysator.liu.se/~gz/bernhard |