Re: lavplay does not work

"Janos G. Komaromi" <[email protected]>
Newsgroups gmane.comp.video.mjpeg.user
Message-ID <[email protected]>
On 12/05/2016 01:02 PM, Bernhard Praschinger wrote:
> You can use the -U/--use-write Option and see if that helps.
Does not help, all I hear is a pop in the beginning, then nothing. See 
my command and output below:
[apu@andraslinux ~]$ glav -p S -U +n -v 2 record.avi
++:    INFO: [lavplay] Norm set to NTSC
++:    INFO: [lavplay] Initialising SDL
++:    INFO: [lavplay] SDL YUV overlay: hardware
++:    INFO: [lavplay] Using read(2)/write(2) system call for 
capture/playpack
++:    INFO: [lavplay] Output norm: NTSC
++:    INFO: [lavplay] Output dimensions: 320x240
++: lavtools version 1.9.0
++: ++ WARN: [lavplay] Unable to set negative priority for audio thread.
++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio thread 
could not be enabled.
++:

> Did you check the mixer settings when you play back the file ?
cat anytextfile.txt > /dev/dsp produces loud noise in speakers

> It could be that environment Variable  LAV_AUDIO_DEV is set wrong.
>
> Can you run lavinfo filename.avi and post at least the audio related 
> info, it should look like that:
> has_audio=1
> audio_bps=4
> audio_chans=2
> audio_bits=16
> audio_rate=44100
> ---ENDE---
See below::
[apu@andraslinux ~]$ lavinfo record.avi
video_frames=554
video_width=320
video_height=240
video_inter=p
video_norm=NTSC
video_fps=29.970629
video_sar_width=1
video_sar_height=1
max_frame_size=19220
chroma=422
has_audio=1
audio_bps=1
audio_chans=1
audio_bits=8
audio_rate=44100
num_video_files=1

also:
My modules, excerpted from lsmod:
...
snd_intel8x0           19052  0
snd_ac97_codec         76031  1 snd_intel8x0
ac97_bus                 618  1 snd_ac97_codec
snd_pcm_oss            27105  0
snd_mixer_oss           9866  1 snd_pcm_oss
snd_pcm                40209  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              11572  1 snd_pcm
snd                    29851  6 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               3105  1 snd
snd_page_alloc          4565  2 snd_intel8x0,snd_pcm
...

Thanks for your answer; I did receive the email correctly and responding 
here to it.
Hope we can get to the bottom of this.

Janos


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.