Problem VLC can not decode Audio stream of AXIS 241QA

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
kittivud
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Mar 2006 11:25
Location: Bangkok, Thailand
Contact:

Problem VLC can not decode Audio stream of AXIS 241QA

Postby kittivud » 14 Mar 2006 08:46

Can somebody guide me how to decode Audio stream of AXIS 241QA MP4 stream (Video is ok)?

VLC command is "vlc rtsp://10.0.3.201/mpeg4/2/media.amp"

The debug mess is below

... demux `' path `10.0.3.201/mpeg4/2/media.amp'
main debug: creating demux: access='rtsp' demux='' path='10.0.3.201/mpeg4/2/media.amp'
main debug: looking for access_demux module: 1 candidate
livedotcom debug: sdp=v=0
....
livedotcom debug: RTP subsession 'video/MP4V-ES'
livedotcom warning: RTP subsession 'audio/G726-24' failed (RTP payload format unknown or not supported)
main debug: selecting program id=0
main debug: using access_demux module "livedotcom"
....
main debug: looking for decoder module: 26 candidates
ffmpeg debug: libavcodec initialized (interface 3276801 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: thread 3636 (decoder) created at priority 0 (src/input/decoder.c:159)
main debug: `rtsp://10.0.3.201/mpeg4/2/media.amp' successfully opened

// Thankyou in advance.
Kittivud E.
Digitalcom Thailand

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 14 Mar 2006 23:18

http://www.iana.org/assignments/rtp-parameters

It appears that the format for audio is not recognized or supported, it could also be a syntax problem.

:lol:

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 15 Mar 2006 01:40

ffmpeg does have a G726 decoder, so it could be supported i guess. I'll file a ticket about it.
Don't use PMs for support questions.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 15 Mar 2006 02:08

https://trac.videolan.org/vlc/ticket/601

I just committed some code that might make this audio stream work, but it's completely untested and I seriously don't have a clue wether it's gonna work or not.
Don't use PMs for support questions.

kittivud
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Mar 2006 11:25
Location: Bangkok, Thailand
Contact:

Postby kittivud » 16 Mar 2006 04:46

Hello DJ,

Many thanks for your ticket. If you can build execute file for this problem workaround, it is highly appreciated.

Thanks,
Kittivud E.
Digitalcom Thailand

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 16 Mar 2006 11:35

http://nightlies.videolan.org

As The DJ said, he already included it in the developement version. He just couldn't test it.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

kittivud
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Mar 2006 11:25
Location: Bangkok, Thailand
Contact:

Postby kittivud » 16 Mar 2006 14:29

Hello developers,

I do test version 0.8.5-test1-20060316-0000-win32. It is working fine with Video MPEG4 & Audio G.711 (audio/PCMU).

But the audio does not work with G.721 (audio/G726-32) and G.723 (audio/G726-24). I understood that it does not support by ffmpeg decoder. Please see detail in the below message. // Thanks

livedotcom debug: RTP subsession 'video/MP4V-ES'
livedotcom debug: RTP subsession 'audio/G726-24'
main debug: selecting program id=0
main debug: using access_demux module "livedotcom"
main debug: looking for a subtitle file in D:\Files Library\VLC 8\VLC\
main debug: looking for decoder module: 26 candidates
ffmpeg debug: libavcodec initialized (interface 3344128 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: thread 3952 (decoder) created at priority 0 (input/decoder.c:159)
main debug: looking for decoder module: 26 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg warning: G726: unsupported audio format
(g726@09AAAA70)
ffmpeg error: cannot open codec (G.726 ADPCM Audio)
main error: no suitable decoder module for fourcc `g726'.
VLC probably does not support this sound or video format.
main debug: killing decoder fourcc `g726', 0 PES in FIFO
main debug: `rtsp://10.0.3.201/mpeg4/2/media.amp' successfully opened
main debug: no usable vout present, spawning one
main debug: window size: 384x288
Kittivud E.
Digitalcom Thailand

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 16 Mar 2006 23:45

I made some new changes that will hopefully allow ffmpeg to detect the right format of G726 now.
You can try with the next nightly build (in about 3 hours)
Don't use PMs for support questions.

cianc
New Cone
New Cone
Posts: 3
Joined: 09 Jan 2006 16:07

Postby cianc » 08 Apr 2006 19:18

Been looking at getting an axis camera with MPEG-4 output, is this audio issue now resolved? Is it possible to transcode the camera's MPEG-4 stream with VLC?

Cian

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 10 Apr 2006 15:49

transcode should be possible.
About the audio issue, i do not know. I tried to PM and email the user, but he does not respond to my requests for confirmation on the issue.
Don't use PMs for support questions.

ekim
New Cone
New Cone
Posts: 3
Joined: 19 Apr 2006 11:15

Postby ekim » 19 Apr 2006 11:27

I have the same problems with the AXIS cam.

Saving the stream with audio does not work.
I am using the latest nightly (Win 20060419 and MacIntel 20060415) and get the error message ...

[00000333] ffmpeg encoder error: MPEG audio doesn't support frequency=8000
[00000279] stream_out_transcode private error: cannot find encoder
[00000279] stream_out_transcode private error: cannot create audio chain
[00000309] main packetizer error: cannot create packetizer output (g726)

This is my MRL (but I have tried other configs too): :sout=#transcode{vcodec=mp1v,vb=1024,acodec=mp3,ab=192}:standard{mux=raw,dst=test.raw,access=file}

I have tried G723, G721 and G711 (ulaw).
All have similar error messages.

Is there any solution available?

TIA,
Mike

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 19 Apr 2006 13:58

But does the audio PLAY normally?
Saving is something completely different. Please follow the "let's do one step at a time in a difficult proces"-method.
Don't use PMs for support questions.

ekim
New Cone
New Cone
Posts: 3
Joined: 19 Apr 2006 11:15

Postby ekim » 19 Apr 2006 14:10

But does the audio PLAY normally?
Saving is something completely different. Please follow the "let's do one step at a time in a difficult proces"-method.
;-)

Yes, audio (all codecs) and video play fine in VLC.

If you like I can configure the Cam so that you can access it from outside. Just send me a PM if you like to have access.

Thanks for your help!
Mike

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 19 Apr 2006 20:20

I have the same problems with the AXIS cam.

Saving the stream with audio does not work.
I am using the latest nightly (Win 20060419 and MacIntel 20060415) and get the error message ...

[00000333] ffmpeg encoder error: MPEG audio doesn't support frequency=8000
[00000279] stream_out_transcode private error: cannot find encoder
[00000279] stream_out_transcode private error: cannot create audio chain
[00000309] main packetizer error: cannot create packetizer output (g726)

This is my MRL (but I have tried other configs too): :sout=#transcode{vcodec=mp1v,vb=1024,acodec=mp3,ab=192}:standard{mux=raw,dst=test.raw,access=file}

I have tried G723, G721 and G711 (ulaw).
All have similar error messages.

Is there any solution available?

TIA,
Mike
Try adding samplerate=44100 to your command line. I believe 48000 and 22050 are also valid sample frequencies on the command line. I'm not sure if this will solve all of the issues.

ekim
New Cone
New Cone
Posts: 3
Joined: 19 Apr 2006 11:15

Postby ekim » 20 Apr 2006 11:48

Try adding samplerate=44100 to your command line. I believe 48000 and 22050 are also valid sample frequencies on the command line. I'm not sure if this will solve all of the issues.
Thanks for the hint!
When I add samplerate=44100 to the command line ...

VLC.app/Contents/MacOS/VLC rtsp://10.0.2.200:554/mpeg4/media.amp --sout '#transcode{vcodec=mp1v,vb=1024,acodec=mpga,ab=192, samplerate=44100}:standard{mux=raw,dst=test.raw,access=file}'

... I get the audio but no video in the file.

Changin the transcode format to mp4v/mp4a ...

VLC.app/Contents/MacOS/VLC rtsp://10.0.2.200:554/mpeg4/media.amp --sout '#transcode{vcodec=mp4v,vb=1024,acodec=mp4a,ab=192,samplerate=48000}:standard{mux=mp4,dst=test.mp4,access=file}'

... I get no audio and the video changes to white after a few seconds.

TIA,
Mike

rramsey
New Cone
New Cone
Posts: 6
Joined: 28 Apr 2006 16:29

Postby rramsey » 28 Apr 2006 20:20

We are having the exact same problem(viewtopic.php?p=62896#62896) with an AXIS PZT 214 and the builds from the 20th aren't working for us either.

We'll keep trying updated builds, but we have to return our demo camera on May 17th. Hopefully it can get resolved before then so we can confirm that any patches work.

Thanks,

Raydude

Has anyone verified this fix?

Postby Raydude » 06 May 2006 21:25

I have a Panasonic camera. MJPEG works perfectly but the 8KHz audio is not recognized by VLC, ffmpeg, or mplayer.

I was wondering if anyoen got it to work.

Raydude

Raydude
New Cone
New Cone
Posts: 7
Joined: 06 May 2006 21:26

Re: Has anyone verified this fix?

Postby Raydude » 06 May 2006 21:27

I have a Panasonic camera. MJPEG works perfectly but the 8KHz audio is not recognized by VLC, ffmpeg, or mplayer.

I was wondering if anyoen got it to work.

Raydude
I have tried the 0504 developer build. It simply will not play the video stream (which contains both mjpeg and the h??? audio.)

TIA,

Raydude

Raydude
New Cone
New Cone
Posts: 7
Joined: 06 May 2006 21:26

Postby Raydude » 08 May 2006 08:24

The audio I'm receiving is: audio/g726

And here's the log:

Code: Select all

vlc -vvv 'http://[valid_url]:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' VLC media player 0.8.5-test4 Janus [00000001] main vlc debug: opening config file /home/brian/.vlc/vlcrc [00000001] main vlc warning: config file /home/brian/.vlc/vlcrc does not exist yet [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /home/brian/.vlc/cache/plugins-04041e.dat [00000001] main vlc warning: This doesn't look like a valid plugins cache [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/lib/vlc' [00000001] main vlc warning: cannot load module `/usr/lib/vlc/codec/libquicktime_plugin.so' (/usr/lib/vlc/codec/libquicktime_plugin.so: undefined symbol: NewHandleClear) [00000001] main vlc warning: cannot load module `/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so' (/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so: undefined symbol: avcodec_init) [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 204 modules [00000001] main vlc debug: opening config file /home/brian/.vlc/vlcrc [00000001] main vlc warning: config file /home/brian/.vlc/vlcrc does not exist yet [00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main vlc debug: looking for memcpy module: 3 candidates [00000001] main vlc debug: using memcpy module "memcpymmxext" [00000260] main playlist debug: waiting for thread completion [00000260] main playlist debug: thread 3059018672 (playlist) created at priority 0 (playlist/playlist.c:184) [00000261] main private debug: waiting for thread completion [00000261] main private debug: thread 3050625968 (preparser) created at priority 0 (playlist/playlist.c:210) [00000262] main interface debug: looking for interface module: 1 candidate [00000262] main interface debug: using interface module "hotkeys" [00000262] main interface debug: thread 3042233264 (interface) created at priority 0 (interface/interface.c:231) [00000263] main interface debug: looking for interface module: 1 candidate [00000263] main interface debug: using interface module "screensaver" [00000263] main interface debug: thread 3033840560 (interface) created at priority 0 (interface/interface.c:231) [00000260] main playlist debug: adding playlist item `http://valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' ( http://valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard ) [00000264] main interface debug: looking for interface module: 2 candidates Remote control interface initialized. Type `help' for help. [00000264] main interface debug: using interface module "rc" [00000264] main interface debug: thread 3025447856 (manager) created at priority 0 (interface/interface.c:216) [00000260] main playlist debug: creating new input thread [00000265] main input debug: waiting for thread completion [00000265] main input debug: thread 3017055152 (input) created at priority 0 (input/input.c:261) [00000265] main input debug: creating statistics handler [00000265] main input debug: `http://valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' gives access `http' demux `' path `valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' [00000265] main input debug: creating demux: access='http' demux='' path='valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' [00000267] main demuxer debug: looking for access_demux module: 0 candidates [00000267] main demuxer warning: no access_demux module matched "http" [00000265] main input debug: creating access 'http' path='valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' [00000268] main access debug: looking for access2 module: 5 candidates [00000268] access_http access debug: http: server='valid_url' port=5251 file='/nphVideo?Mode=0&Resolution=320x240&Quality=Standard [00000268] access_http access debug: user='user', pwd='password' [00000268] main access debug: net: connecting to valid_url port 5251 status change: ( new input: http://valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000268] main access debug: connection in progress [00000268] access_http access debug: protocol 'HTTP' answer code 200 [00000268] access_http access debug: Content-Type: multipart/x-mixed-replace;boundary=--myboundary [00000268] main access debug: using access2 module "access_http" [00000269] main private debug: pre-buffering... [00000269] main private debug: received first data for our buffer [00000269] main private debug: pre-buffering done 4353 bytes in 0s - 16 kbytes/s [00000265] main input debug: creating demux: access='http' demux='' path='valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' [00000270] main demuxer debug: looking for demux2 module: 39 candidates [00000270] mjpeg demuxer debug: Multipart MIME detected, using separator: myboundary [00000270] mjpeg demuxer warning: Content-type: audio/g726, image/jpeg is expected [00000270] mjpeg demuxer debug: discard MIME header: Content-length: 2048 [00000270] ffmpeg demuxer debug: couldn't guess format [00000270] ps demuxer warning: this does not look like an MPEG PS stream, continuing anyway [00000270] main demuxer debug: using demux2 module "ps" [00000265] main input debug: `http://valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' successfully opened [00000270] ps demuxer warning: garbage at input, trying to resync... signal 2 received, terminating vlc - do it again in case it gets stuck status change: ( stop state: 0 ) status change: ( quit ) [00000001] main vlc debug: removing all interfaces [00000264] main interface debug: thread 3025447856 joined (interface/interface.c:258) [00000264] main interface debug: removing module "rc" [00000263] main interface debug: thread 3033840560 joined (interface/interface.c:258) [00000263] main interface debug: removing module "screensaver" [00000262] main interface debug: thread 3042233264 joined (interface/interface.c:258) [00000262] main interface debug: removing module "hotkeys" [00000001] main vlc debug: removing playlist handler [00000261] main private debug: thread 3050625968 joined (playlist/playlist.c:247) [00000265] main input debug: control type=0 [00000265] main input debug: control: stopping input [00000265] main input debug: closing input [00000270] main demuxer debug: removing module "ps" [00000268] main access debug: removing module "access_http" [00000265] main input debug: thread 3017055152 joined (input/input.c:399) [00000260] main playlist debug: thread 3059018672 joined (playlist/playlist.c:248) [00000260] main playlist: stopping playback [00000260] main playlist debug: deleting playlist item `http://valid_url:5251/nphVideo?Mode=0&Resolution=320x240&Quality=Standard' [00000001] main vlc debug: removing all video outputs [00000001] main vlc debug: removing all audio outputs [00000001] main vlc debug: removing module "memcpymmxext" [00000001] main vlc debug: saving plugins cache file /home/brian/.vlc/cache/plugins-04041e.dat

Raydude
New Cone
New Cone
Posts: 7
Joined: 06 May 2006 21:26

Postby Raydude » 10 May 2006 08:41

*bump*

Guest

Postby Guest » 25 May 2006 23:26

Was this issue ever resolved? I cannot get VLC 0.8.5 to play the G.726 encoded audio received from an Axis 211A network camera via RTSP MPEG-4. The video plays OK. What codec does VLC 0.8.5 need to deal with g726 encoded audio?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 26 May 2006 16:03

As i stated before, if i don't have access to such a server i cannot fix it.
Don't use PMs for support questions.

jason_meyer
New Cone
New Cone
Posts: 3
Joined: 20 Mar 2006 21:25
Location: San Jose CA

Access to the 241sa

Postby jason_meyer » 01 Jun 2006 23:26

If you can help me with this I can give you access to one. Just let me know what you would like playing on it and I will set it up. Could I just have a DVD playing on it. Where can I email you the IP so it is not posted?

rkrawl
New Cone
New Cone
Posts: 4
Joined: 25 May 2006 21:21

Postby rkrawl » 05 Jun 2006 21:05

Derk-Jan Hartman,

In a few minutes, I will email to you the public IP address of an Axis 211A camera. Use rtsp://xxx.xx.xx.xx/mpeg4/media.amp to access the camera. You will see an analog clock in the camera view and hear a radio playing (if you can successfully decode the g726 encoded audio).
You did not respond to previously sent email. If you are interested in fixing this G.726 audio problem and are not receiving my emails then contact me at rkrawl@cox.net for the IP address of camera.

Thanks,
rkrawl

skydog
New Cone
New Cone
Posts: 4
Joined: 06 Sep 2006 01:09

Did this ever get resolved?

Postby skydog » 06 Sep 2006 01:12

Just wondering if anyone ever did figure out how to save the video and audio stream from an Axis camera using VLC.

I can view and hear the stream just fine, however when I try to save the stream I lose the audio.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 66 guests