Hi Stephen, Thank you for your very useful comments. Yes, it is clear for me how to use ffmpeg for "topping and tailing" and will try that, and add it to my toolbox. Presenty I'm proceeding along Bernie's instructions so that I can master glav. For now I'm looking for simple, not fancy methods, but will eventually look at pitivi as well.
Regards, Janos P.S. sending this from my machine where I do the video stuff. On Sun, 16 Oct 2022 11:28:59 -0400 "Janos G. Komaromi" <ja...@jankom.net> wrote: > -------- Forwarded Message -------- > From: Stephen Mollett <molle...@yahoo.com> > To: mjpeg-users@lists.sourceforge.net, ja...@jankom.net > Subject: Re: [Mjpeg-users] glav error opening .avi file > Date: Sun, 16 Oct 2022 10:46:14 +0100 > Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 > Thunderbird/102.3.1 > > Hi Janos, > > I know I'm coming into this discussion a bit late but what kind of > editing do you need to do on the files? If it's just "topping and > tailing" - extracting specific timed sections out of the capture > files and encoding them to another file - then the way I do it is > with ffmpeg using something like: > > $ ffmpeg -accurate_seek -ss $START_TIME_SECS -t $DURATION_SECS \ > -i $SOURCE_FILE -c:v $VIDEO_CODEC $VIDEO_CODEC_OPTIONS -vtag $FOURCC \ > -c:a $AUDIO_CODEC $AUDIO_CODEC_OPTIONS $OUTPUT_FILE > > Hopefully, the shell variables are self-explanatory. I can get the > times > by simply playing the video with vlc or similar and using the fine > adjustment controls and/or reduced play speed. You can add in filters > as > necessary to sharpen/denoise/crop. > > I used to do this quite regularly and had a script to automate it, > which > I dumped onto github a few years ago at: > https://github.com/molletts/handy-scripts/tree/master/cut-video > in case someone somewhere found it useful. It's some years since I > last used it so I don't know whether it still works. Both components > (the main script and the helper which it calls) need to be in $PATH. > > I've never tried Kdenlive or Pitivi so I don't know what they're like > but I've seen them both mentioned as good-enough video editors for > basic > work. They've both got ebuilds in the main Gentoo repo so it may be > worth giving one or both a try. (Kdenlive is likely to pull in a ton > of KDE dependencies, of course.) > > Hope this helps, > Stephen > > On 15/10/2022 16:14, Janos G Komaromi wrote: > > Progress report after reading the FM. > > > > Executed the followig commands: > > mplayer -ao pcm:fast:file=audio.wav -v null ezcap0001.avi > > cat audio.wav | mp2enc -o audio.mp2 > > mplex audio.mp2 video_svcd.m2v -o test.mpg > > mplex -V -r 1740 audio.mp2 video_svcd.m2v -o test.mpg > > mplayer test.mpg > > glav test.mpg > > > > Results: > > (1) mplex in either forms complains about too many frames dropped > > and then quits. > > (2) mplayer plays the file, but it is a long video, so I stopped B4 > > completion. > > (3) glav has the same error as in my initial post. > > > > So I'm still asking for help. There is no video editor available for > > Gentoo. I like glav and would like to use it for my video files > > transferred from old video recorder tapes. > > > > Thx - Janos > > > > > > On Mon, 10 Oct 2022 14:51:11 -0400 > > Janos G Komaromi <ja...@andraslinux.jgklinux.jankom.net> wrote: > > > > > Hi, > > > > > > Thanks, Bernie. One step closer. > > > I recompiled mplayer, and now the command works. I now have a > > > "video_svcd.m2v" file. It plays with mplayer but there is no > > > sound. So the next step: how do I make a complete file, video and > > > sound, that > > > glav will be able to process for editing? > > > > > > Regards, > > > > > > Janos > > > > > > On Sat, 8 Oct 2022 19:15:04 +0200 > > > Bernhard Praschinger <bernh...@griesbach.at> wrote: > > > > > > > Hallo > > > > > > > > Janos G Komaromi wrote: > > > > > Yes Bernie, that's it. My distro is Gentoo, which means it i > > > > > compiled from a Gentoo source. I believe I can recompile it > > > > > with > > > > > the yuv4mpeg use flag. I'll post another message once I > > > > > succeed with the original command set just to close this > > > > > thread. Thank you > > > > > for your help - Janos > > > > One thing comes into my mind, it might be that the configure > > > > script > > > > checks if the mjpegtools libraries are available and only > > > > activates > > > > it automatic if it finds them the Option that force yuv4mpeg is: > > > > --enable-yuv4mpeg. > > > > > > -- 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