[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-users
Subject:    Re: [Mjpeg-users] glav error opening .avi file
From:       Janos G Komaromi <janos () andraslinux ! jgklinux ! jankom ! net>
Date:       2022-11-26 21:59:31
Message-ID: 20221126165931.41e9c15f () andraslinux
[Download RAW message or body]

I'm closing this thread for now. Thank you, Bernie and Stephen, for your
ideas and guidance. In summary:

The OS on my Fitlet2 computer is Gentoo, Desktop stable. It has Alsa
for sound.

After trying to resolve the Alsa / OSS issue with help from Gentoo Forum
community I found a solution to the simple video editing task: avidemux.

Best regards to you all,

Janos


On Sat, 19 Nov 2022 06:57:03 +0100
Bernhard Praschinger <bernhard@griesbach.at> wrote:

> cd dowHallo,
> 
> Janos G. Komaromi wrote:
> > Sorry, I'm back again. I still would like to do my video editing
> > with glav and sound. Consequently I did a lot of research and
> > Gentoo Forum message exchanges about alsa and OSS. I tried to
> > resolve the issue without turning to this mailing list community.
> > Here is the latest situation, and now I'm asking for comments,
> > suggestions.
> > 
> > After enabling /dev/dsp and making sure that alsa oss emulation is
> > configured correctly - quote:
> > 
> > janos@andraslinux ~/save/tmp/videoDigitizing $ glav xcoded.avi
> > ++: **ERROR: [lavplay] Error initializing Audio: Audio task died.
> > Reason: Error: Soundcard fragment size unexpected
> > ++: lavtools version 2.2.1  
> I get that error too.
> 
> > janos@andraslinux ~/save/tmp/videoDigitizing $ aoss glav xcoded.avi
> > ++: **ERROR: [lavplay] Error initializing Audio: Audio task died.
> > Reason: Error: Invalid argument - mapping audio buffer (consider
> > using read/write instead of mmap)
> > ++: lavtools version 2.2.1
> > Unquote.  
> With the same options the same error message. It get's more
> descriptive if you add -v 2
> Did you add -U so it uses the the Read/write mode instead of the mmap 
> mode ? This helps me here to lavplay/glav does not crash.
> 
> Does your distribution use still ALSA ? My opensuse uses PulseAudio, 
> using the padsp - PulseAudio OSS Wrapper instead of aoss, made
> lavplay play back the videos audio and sound. The command looked like
> this: padsp lavplay file.avi -U
> 
> > Apparently something is wrong either with "fragment size". I could
> > probably configure fragment size if I knew what lavplay expects; the
> > loaded modules are:
> > 
> > snd_pcm_oss
> > snd_mixer_oss
> > or something is wrong with in the code of lavplay.  
> Could be, but I just enjoy a old Music Video from Marusha :-)
> 
> auf hoffentlich bald,
> 
> Berni the Chaos of Woodquarter
> 
> Email: bernhard@griesbach.at
> www: http://www.lysator.liu.se/~gz/bernhard



-- 
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic