Re: [Mjpeg-users] glav error opening .avi file

2022-10-08 Thread Bernhard Praschinger

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.




On Sat, 8 Oct 2022 06:29:22 +0200
Bernhard Praschinger  wrote:


Hallo,

It seems that your version of mplayer was not complied with the
That is the important line: Error opening/initializing the selected
video_out (-vo) device.

Please do a test: > mplayer -vo help
You should find a line like:
yuv4mpegyuv4mpeg output for mjpegtools

If not, it would mean to me that mplayer was compiled without
yuv4mpeg support. My version of mplayer: MPlayer 1.4-7

If you did compile it on you own please check when running t
configure that you find in the enabled driver yuv4mpeg.
   Enabled optional drivers:
  Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking
  Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2
mpg123 speex
  Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb)
  Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb)
fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga
---END---

If you use the precompiled version from your distribution I would
recommend that you download the source and compile it on your own.



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


Re: [Mjpeg-users] glav error opening .avi file

2022-10-08 Thread Janos G Komaromi
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

On Sat, 8 Oct 2022 06:29:22 +0200
Bernhard Praschinger  wrote:

> Hallo,
> 
> It seems that your version of mplayer was not complied with the
> That is the important line: Error opening/initializing the selected 
> video_out (-vo) device.
> 
> Please do a test: > mplayer -vo help
> You should find a line like:
>   yuv4mpegyuv4mpeg output for mjpegtools
> 
> If not, it would mean to me that mplayer was compiled without
> yuv4mpeg support. My version of mplayer: MPlayer 1.4-7
> 
> If you did compile it on you own please check when running t
> configure that you find in the enabled driver yuv4mpeg.
>   Enabled optional drivers:
>  Input: ftp pvr tv-v4l2 tv cddb cdda dvdread vcd dvb networking
>  Codecs: libvpx xvid ffmpeg(internal) real xanim faac libmpeg2 
> mpg123 speex
>  Audio output: alsa pulse oss v4l2 sdl mpegpes(dvb)
>  Video output: v4l2 matrixview opengl sdl pnm jpeg mpegpes(dvb) 
> fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga
> ---END---
> 
> If you use the precompiled version from your distribution I would 
> recommend that you download the source and compile it on your own.
> 
> 
> Janos G Komaromi wrote:
> > Hello Bernie, thanks. Here is what happened:
> > 
> > janos@andraslinux ~/tmp $ cat stream.yuv | yuvscaler -O SVCD |
> > mpeg2enc -f 4 -o video_svcd.m2v & mplayer -nosound -noframedrop -vo
> > yuv4mpeg ezcap0001.avi
> > 
> > [1] 21535 INFO: [yuvscaler] yuvscaler 2.2.1 11-Dec-2007
> > INFO: [yuvscaler] (C) 2001-2004 Xavier Biquard
> > , yuvscaler -h for help, or man yuvscaler INFO:
> > [mpeg2enc] SETTING EXTENDED MMX for MOTION! INFO: [mpeg2enc]
> > SETTING SSE and MMX for TRANSFORM! INFO: [mpeg2enc] SETTING
> > EXTENDED MMX for PREDICTION! MPlayer 1.4-11.3.0 (C) 2000-2019
> > MPlayer Team
> > 
> > Playing ezcap0001.avi.
> > libavformat version 58.76.100 (external)
> > AVI file format detected.
> > [aviheader] Video stream found, -vid 0
> > [aviheader] Audio stream found, -aid 1
> > VIDEO:  [XVID]  800x592  24bpp  30.000 fps  896.5 kbps (109.4
> > kbyte/s) Error opening/initializing the selected video_out (-vo)
> > device. No stream found.
> > 
> > 
> > Exiting... (End of file)
> > janos@andraslinux ~/tmp $ ls
> > ezcap0001.avi  stream.yuv
> > 
> > I don't understand. if I issue command
> > 
> > janos@andraslinux ~/tmp $ mplayer ezcap0001.avi
> > 
> > MPlayer 1.4-11.3.0 (C) 2000-2019 MPlayer Team
> > 
> > Playing ezcap0001.avi.
> > libavformat version 58.76.100 (external)
> > AVI file format detected.
> > [aviheader] Video stream found, -vid 0
> > [aviheader] Audio stream found, -aid 1
> > VIDEO:  [XVID]  800x592  24bpp  30.000 fps  896.5 kbps (109.4
> > kbyte/s)
> > ==
> > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> > libavcodec version 58.134.100 (external) [mpeg4 @
> > 0x7ff6ba3a8f60]Requested frame threading with a custom
> > get_buffer2() implementation which is not marked as thread safe.
> > This is not supported anymore, make your callback thread-safe.
> > Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> > ==
> > Load subtitles in ./
> > ==
> > Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
> > AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
> > Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers
> > I, II, III)
> > ==
> > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting
> > playback... Movie-Aspect is undefined - no prescaling applied.
> > VO: [xv] 800x592 => 800x592 Planar YV12
> > Movie-Aspect is 1.35:1 - prescaling to correct movie aspect.
> > VO: [xv] 800x592 => 800x592 Planar YV12
> > A:  16.2 V:  16.2 A-V: -0.001 ct:  0.012 486/486 27%  0%  0.9% 17 0
> > 
> > Exiting... (Quit)
> > janos@andraslinux ~/tmp $
> > 
> > the file starts to play almost imediately in a new window, perfectly
> > with sound and picture. So the video-out (-vo) device works
> > automatically with mplayer.
> > 
> > Janos
> > P.S. I'm sending this message from my other email address, a
> > mailserver on my fitlet machine where I try glav, etc.
> > 
> > On Thu, 06 Oct 2022 08:06:19 -0400
> > "Janos G. Komaromi"  wrote:
> >   
> >>  Forwarded Message 
> >> From: Bernhard Praschinger 
> >> To: Janos G. Komaromi , MJPEG-tools user list
> >> 
> >> Subject: Re: [Mjpeg-users] glav error opening .avi file
> >> Date: Thu, 6 Oct 2022 06:27:00 +0200
> >> Mailer: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20