I got following error while using Xuggler to convert a video from mp4 to webm
3:02:27,344 ERROR [status_jsp:665] java.lang.RuntimeException: could not open stream com.xuggle.xuggler.IStream#1423372160[index:0;id:0;streamcoder:com.xuggle.xuggler.IStreamCoder#1423442272[codec=com.xuggle.xuggler.ICodec#1423293632[type=CODEC_TYPE_AUDIO;id=CODEC_ID_VORBIS;name=libvorbis;];time base=1/44100;frame rate=0/0;sample rate=44100;channels=2;];framerate:0/0;timebase:1/90000;direction:OUTBOUND;]: Operation not permitted
java.lang.RuntimeException: could not open stream com.xuggle.xuggler.IStream#1423372160[index:0;id:0;streamcoder:com.xuggle.xuggler.IStreamCoder#1423442272[codec=com.xuggle.xuggler.ICodec#1423293632[type=CODEC_TYPE_AUDIO;id=CODEC_ID_VORBIS;name=libvorbis;];time base=1/44100;frame rate=0/0;sample rate=44100;channels=2;];framerate:0/0;timebase:1/90000;direction:OUTBOUND;]: Operation not permitted
at com.xuggle.mediatool.MediaWriter.openStream(MediaWriter.java:1192)
at com.xuggle.mediatool.MediaWriter.getStream(MediaWriter.java:1052)
at com.xuggle.mediatool.MediaWriter.encodeAudio(MediaWriter.java:830)
at com.xuggle.mediatool.MediaWriter.onAudioSamples(MediaWriter.java:1441)
at com.xuggle.mediatool.AMediaToolMixin.onAudioSamples(AMediaToolMixin.java:89)
at com.xuggle.mediatool.MediaReader.dispatchAudioSamples(MediaReader.java:628)
at com.xuggle.mediatool.MediaReader.decodeAudio(MediaReader.java:555)
at com.xuggle.mediatool.MediaReader.readPacket(MediaReader.java:469)
at com.test.xuggler.Test.processAction(Test.java:26)
Related
ERROR: flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Minio Error: invalid size value: -1
How to solve the above error in flutter?
I'm getting the error only first time while I am uploading an image into MinIO, when I try to upload it 2nd time its getting uploaded
I see this error when I stage an object that I imported from 3ds max. The error I get is:
[Warning] CGF Upload failed : Directory stream 8 cannot be from 32-bit to 16-bit format because it contains directory 65535 [File=demo/3D/Sofa.cgf].
What resource method can I use to solve the problem?
When you transfer the object by separating it into certain groups, the problem disappears. I'm open to other suggestions.
OS: NXP in yocto(arm embedded)
ON_RECOGNIZING_SPEECH_FINISHED:
{u'text': u'who are you'}
ALSA lib ../../../alsa-lib-1.1.0/src/pcm/pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
[ERROR:audio_output_stream.cc(61)] Device could not be opened: default
ON_RESPONDING_STARTED:
{u'is_error_response': False}
[3950:3981:ERROR:audio_output_stream.cc(121)] An error occurred when playing audio output
ON_RESPONDING_FINISHED
ON_RESPONDING_STARTED:
{u'is_error_response': True}
ALSA lib ../../../alsa-lib-1.1.0/src/pcm/pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
[ERROR:audio_output_stream.cc(61)] Device could not be opened: default
[3950:3981:ERROR:audio_output_stream.cc(121)] An error occurred when playing audio output
ON_RESPONDING_FINISHED
ON_CONVERSATION_TURN_FINISHED:
{u'with_follow_on_turn': False}
i really don't know how to solve..
I would like to use the webcam of my old laptop (my laptop is a Packard Bell EasyNote MX37) in order to do streaming video.
I try to do this streaming video through VLC by following this tutorial from Ubuntu 14.04 LTS.
Unfortunately I'm stuck when I apply this command line :
cvlc v4l2:///dev/video0 :v4l2-standard= :input-slave=alsa://hw:0,0
:live-caching=300
:sout="#transcode{vcodec=WMV2,vb=800,acodec=wma2,ab=128,channels=2,samplerate=44100}:http{dst=:8080/stream.wmv}"
Indeed, I get this error message:
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x19....] dummy interface: using the dummy interface module...
[0x7f1................] main access out error: socket bind error (Permission denied)
[0x7f1................] main access out error: socket bind error (Permission denied)
[0x7f1................] main access out error: cannot create socket(s) for HTTP host
[0x7f1................] access_output_http access out error: cannot start HTTP server
[0x7f1................] stream_out_standard stream out error: no suitable sout access module for `http/asf://:8080/stream.wmv'
[0x7f1................] main stream output error: stream chain failed for `transcode{vcodec=WMV2,vb=800,acodec=wma2,ab=128,channels=2,samplerate=44100}:http{dst=:8080/stream.wmv}'
[0x7f1................] main input error: cannot start stream output instance, aborting
Thanks a lot for your help!
PS: The goal is to keep an eye on my parking space.
Just like the error message says, VLC is not allowed to open the port you specified. This might be because it is already in use by another app on your OS or because your user account simply does not have the rights needed to open a port. Consider using a different port like 32000, etc.
I am trying to record audio with the PS Eye on a raspberry pi model b plus (I have tried with older b models and the same issue occurs as below).
I am able to record, and playback the recording with arecord/aplay so the mic is working. However, I want to increase the mic volume as the recording is very low.
When I attempt this in alsamixer, it exits with the following error when I use F6 to change to the PS Eye soundcard:
cannot load mixer controls: Invalid argument
I also notice that the alsa-utils service will fail when the PS Eye is plugged in (fine otherwise):
sudo service alsa-utils restart
[FAIL] Shutting down ALSA...warning: 'alsactl store' failed with error message 'alsactl: get_control:259: Cannot read control '2,0,0,Mic Capture Volume,0': Invalid argument'...failed.
[....] Setting up ALSA...warning: 'alsactl restore' failed with error message 'No state is present for card CameraB409241
Found hardware: "USB-Audio" "USB Mixer" "USB1415:2000" "" ""
Hardware is initialized using a generic method
No state is present for card CameraB409241'...amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
amixer: Mixer hw:1 load error: Invalid argument
...
done.
The problem seems to be the controls definition of the PS Eye. I would like to know the following:
Where does alsamixer load the controls for a particular device from? Are they in the driver?
Is there a way to increase the mic volume another way?
I am not using Pulseaudio yet but will try it if I can't fix this in alsa.
thanks
Sytem logs:
Without pulseaudio installed, neither restarting alsa or trying to open the controls in alsamixer produce anything in the system log. If pulse audio is installed however, trying to open the controls in alsamixer gives:
Oct 30 10:21:26 signaler pulseaudio[19000]: [pulseaudio] alsa-util.c: Unable to load mixer: Invalid argument
Oct 30 10:21:27 signaler pulseaudio[19000]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Oct 30 10:21:27 signaler pulseaudio[19000]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11