Hallo,
I have not been doing video stuff for a few years, but now as a retiree
I wanted to digitize my old videos from magnetic tapes. I have a neat
gizmo that creates an .avi file from VHS video and stereo inputs on a
micro sd card. The created .avi file plays well with vlc.
That kind of device is what I would use this day's too.
Here is my issue and request for help.
I try to make some very basic editing of the digitized .avi file, but
ran into a problem. I studied my older posts, notes, but am still
stuck. It looks like the.avi file created with the digitizing gizmo is
too sophisticated for lavplay or glav - see below. Do I need to trans-
code the .avi file, and how? Thank you for your attention - Janos
As a side note: could you please add another email address to this
mailing list. It is the address on the mail server running on my Fitlet
machine - ja...@andraslinux.jgklinux.jankom.net
DETAILS:
janos@andraslinux ~/tmp $ lavplay -p S -v 2 ezcap0001.avi
lavplay2.2.1
lavtools version 2.2.1
--DEBUG: [lavplay] Opening video file ezcap0001.avi ...
**ERROR: [lavplay] Error opening ezcap0001.avi
janos@andraslinux ~/tmp $ file ezcap0001.avi
ezcap0001.avi: RIFF (little-endian) data, AVI, 800 x 592, 30.00 fps,
video: XviD, audio: MPEG-1 Layer 3 (stereo, 44100 Hz)
janos@andraslinux ~/tmp $ ffprobe ezcap0001.avi
ffprobe version 4.4.2 Copyright (c) 2007-2021 the FFmpeg developers
built with gcc 11.3.0 (Gentoo 11.3.0 p4)
...
Input #0, avi, from 'ezcap0001.avi':
Duration: 01:48:51.67, start: 0.000000, bitrate: 967 kb/s
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, 30 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055),
44100 Hz, stereo, fltp, 64 kb/sThe mjpegtools can only handle a few AVI Codecs. For example: dvvideo
and mjpeg it can't decode the encoded MPEG4
I don't know if ffmpeg can decode it in a format the mjpegtools
understand. But mplayer can (should) do it, here is are example commands
for video:
>mkfifo stream.yuv
>cat stream.yuv │ yuvdenoise │ yuvscaler -O SVCD │ mpeg2enc -f 4 -o
video_svcd.m2v
>mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg
For Audio:
>mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg
> cat anyfile.wav │ mp2enc -v 2 -V -o sound.mp2
You find a section in the: mjpegtools manpage called: Decoding streams
with mplayer that should explain it in more detail. I hope the program
I did a quick check it should work. Please test it and let us know if it
worked.
auf hoffentlich bald,
Berni the Chaos of Woodquarter
Email: bernh...@griesbach.at
www: http://www.lysator.liu.se/~gz/bernhard
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users