VLC doesn't work with g726 codec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VLC media player |
Fix Released
|
Unknown
|
|||
vlc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have camera D-Link DCS-2103. When I connect vlc to it via rtsp:
vlc -vvv rtsp://
I got window with message: "No suitable decoder module:
VLC does not support the audio or video format "g726". Unfortunately there is no way for you to fix this."
I terminal I see:
"[g726 @ 0x7fbfb80983c0] Invalid number of bits 0
[0x7fbfb8030a88] avcodec decoder error: cannot open codec (G.726 ADPCM Audio)
[0x7fbfb8030a88] main decoder error: no suitable decoder module for fourcc `g726'. VLC probably does not support this sound or video format.
"
I see video, but not listen audio.
But avplay works fine:
$ avplay rtsp://
avplay version 0.8.1-4:
built on Mar 22 2012 05:09:06 with gcc 4.6.3
[rtsp @ 0x7fb1bc0008c0] max_analyze_
[rtsp @ 0x7fb1bc0008c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp:/
Metadata:
title : RTSP/RTP stream 1 from DCS-2103
comment : live1.sdp
Duration: N/A, start: 0.000000, bitrate: 32 kb/s
Stream #0.0: Video: h264 (High), yuvj420p, 1024x768 [PAR 1:1 DAR 4:3], 75 fps, 9k tbr, 90k tbn, 150 tbc
Stream #0.1: Audio: g726, 8000 Hz, 1 channels, s16, 32 kb/s
Stream #0.2: Data: [0][0][0][0] / 0x0000
[avsink @ 0x7fb1a8001020] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x7fb1a8001700] w:1024 h:768 fmt:yuvj420p -> w:1024 h:768 fmt:yuv420p flags:0x4
2.05 A-V: -0.036 s:0.0 aq= 22KB vq= 637KB sq= 0B f=0/0 f=0/0
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: vlc 2.0.1-4
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sat May 5 11:58:36 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
LANGUAGE=ru:en
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: vlc
UpgradeStatus: Upgraded to precise on 2012-04-17 (17 days ago)
Changed in vlc (Ubuntu): | |
status: | Incomplete → New |
Changed in vlc (Ubuntu): | |
status: | New → Confirmed |
Changed in vlc (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in vlc (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in vlc: | |
status: | Unknown → Fix Released |
We need a sample to investigate your issue. A private RTSP URL is not usable.