fagensden / vlc-shares

Automatically exported from code.google.com/p/vlc-shares
1 stars 1 forks source link

Video works, but audio doesn't #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Server configuration:
- Ubuntu 10.10 Server
- VLC-Shares 0.5.3b

Client configuration:
- Android 2.2
- RockPlayer Lite

Media info:
- video: 400x288, DivX 3
- audio: 128kbpx 48kHz mp3

When I start any stream, the video works fine however there is no audio.  
RockPlayer reports the stream as h264 320x180 but no audio stream.

h264 328*180

Original issue reported on code.google.com by ancientpc on 25 Feb 2011 at 5:58

GoogleCodeExporter commented 8 years ago
Sorry I didn't mean to report this as a defect, but I don't have the ability to 
change it.  Can someone please change it to "Other" please?

Original comment by ancientpc on 25 Feb 2011 at 5:59

GoogleCodeExporter commented 8 years ago
Does you have installed in Ubuntu an AAC encoder? Android HQ profile transcode 
video in H264/AAC, but vlc need an AAC encoder to do the job.

You can find this useful: http://ubuntuforums.org/showthread.php?t=1117283

A quote from the post: "The libavcodec-extra-52 package for Maverick, Lucid, 
and Karmic do not support AAC or AMR formats. I recommend using 
libavcodec-extra-52 from the Medibuntu repository. See option C. Medibuntu."

Original comment by ximarx@gmail.com on 25 Feb 2011 at 7:01

GoogleCodeExporter commented 8 years ago
You can use the command "ffmpeg -formats | grep aac" to get the list of 
supported encoded/decoder for AAC format. If you have aac encoder enabled, the 
output should be 
"DEA aac Advanced Audio Coding"

Original comment by ximarx@gmail.com on 25 Feb 2011 at 7:04

GoogleCodeExporter commented 8 years ago
I installed both ffmpeg and libavcodec-extra-52 from Mediabuntu repositories, 
but now I don't get video or sound.  If I reinstall them from Ubuntu core 
repositories, I get video back again.

ting@punk:~$ aptitude show ffmpeg
Package: ffmpeg
State: installed
Automatically installed: no
Version: 4:0.5.1-1ubuntu1
Priority: optional
Section: graphics
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 786k
Depends: libavcodec52 (>= 4:0.5.1-1ubuntu1) | libavcodec-extra-52 (>= 
4:0.5.1-1ubuntu1), libavcodec52 (< 4:0.5.1-99) |
         libavcodec-extra-52 (< 4:0.5.1-99), libavdevice52 (>= 4:0.5.1-1ubuntu1) | libavdevice-extra-52 (>=
         4:0.5.1-1ubuntu1), libavdevice52 (< 4:0.5.1-99) | libavdevice-extra-52 (< 4:0.5.1-99), libavfilter0 (>=
         4:0.5.1-1ubuntu1) | libavfilter-extra-0 (>= 4:0.5.1-1ubuntu1), libavfilter0 (< 4:0.5.1-99) | libavfilter-extra-0 (<
         4:0.5.1-99), libavformat52 (>= 4:0.5.1-1ubuntu1) | libavformat-extra-52 (>= 4:0.5.1-1ubuntu1), libavformat52 (<
         4:0.5.1-99) | libavformat-extra-52 (< 4:0.5.1-99), libavutil49 (>= 4:0.5.1-1ubuntu1) | libavutil-extra-49 (>=
         4:0.5.1-1ubuntu1), libavutil49 (< 4:0.5.1-99) | libavutil-extra-49 (< 4:0.5.1-99), libc6 (>= 2.7), libpostproc51 (>=
         4:0.5.1-1ubuntu1) | libpostproc-extra-51 (>= 4:0.5.1-1ubuntu1), libpostproc51 (< 4:0.5.1-99) | libpostproc-extra-51
         (< 4:0.5.1-99), libsdl1.2debian (>= 1.2.10-1), libswscale0 (>= 4:0.5.1-1ubuntu1) | libswscale-extra-0 (>=
         4:0.5.1-1ubuntu1), libswscale0 (< 4:0.5.1-99) | libswscale-extra-0 (< 4:0.5.1-99)
Description: multimedia player, server and encoder
 This package contains the ffplay multimedia player, the ffserver streaming server and the ffmpeg audio and video encoder.
 They support most existing file formats (AVI, MPEG, OGG, Matroska, ASF...) and encoding formats (MPEG, DivX, MPEG4, AC3,
 DV...).
Homepage: http://ffmpeg.org/

ting@punk:~$ aptitude show libavcodec-extra-52
Package: libavcodec-extra-52
New: yes
State: installed
Automatically installed: no
Version: 4:0.5.1-1ubuntu1+medibuntu1
Priority: optional
Section: non-free/libs
Maintainer: Medibuntu Packaging Team <medibuntu-maintainers@lists.launchpad.net>
Uncompressed Size: 11.2M
Depends: libavutil-extra-49 (>= 4:0.5.1), libavutil-extra-49 (< 4:0.5.1-99), 
libc6 (>= 2.7), libdirac-encoder0, libfaac0 (>=
         1.26), libfaad2, libgsm1 (>= 1.0.13), libmp3lame0, libopencore-amrnb0, libopencore-amrwb0, libopenjpeg2,
         libschroedinger-1.0-0 (>= 1.0.0), libspeex1 (>= 1.2~beta3-1), libtheora0 (>= 0.0.0.alpha7.dfsg), libvorbis0a (>=
         1.1.2), libvorbisenc2 (>= 1.1.2), libx264-85, libxvidcore4 (>= 1.2.2), zlib1g (>= 1:1.1.4)
Recommends: apport-hooks-medibuntu
Suggests: libfaad0
Conflicts: libavcodec-unstripped-52 (< 4:0.5.1-1ubuntu1+medibuntu1), 
libavcodec52
Replaces: ffmpeg (< 4:0.5.1-1), libavcodec-unstripped-52 (< 
4:0.5.1-1ubuntu1+medibuntu1), libavcodec52
Description: ffmpeg codec library
 This is the codec library from the ffmpeg project. It supports most existing encoding formats (MPEG, DivX, MPEG4, AC3,
 DV...). 

 This package contains a unrestricted version of the libavcodec shared object that should only be used by Debian packages.
Homepage: http://ffmpeg.org/

ting@punk:~$ ffmpeg -formats | grep aac
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice 
Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar  4 2010 12:35:30, gcc: 4.4.3
 D  aac             raw ADTS AAC
  E adts            ADTS AAC
 D A    aac             Advanced Audio Coding
  EA    libfaac         libfaac AAC (Advanced Audio Codec)
 D A    libfaad         libfaad AAC (Advanced Audio Codec)
ting@punk:~$ 

Original comment by ancientpc on 25 Feb 2011 at 6:09

GoogleCodeExporter commented 8 years ago
Tried switching to Android LQ profile?

Original comment by ximarx@gmail.com on 25 Feb 2011 at 6:12

GoogleCodeExporter commented 8 years ago
Trying Android LQ, still no video or audio.

Original comment by ancientpc on 25 Feb 2011 at 6:49

GoogleCodeExporter commented 8 years ago
Can i ask you your pc configuration?

Original comment by ximarx@gmail.com on 25 Feb 2011 at 6:50

GoogleCodeExporter commented 8 years ago
Dell Insprion 6000: http://www.notebookreview.com/default.asp?newsID=2376

Original comment by ancientpc on 25 Feb 2011 at 7:01

GoogleCodeExporter commented 8 years ago
Maybe you haven't enough power for transconding. Anyway, vlc-shares works if 
the stream start. Problem are related to vlc or transconding settings. You can 
archive better results changing vlc params in transcoding profiles. Give a look 
to this

Original comment by ximarx@gmail.com on 25 Feb 2011 at 7:32

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/vlc-shares/issues/detail?id=13

Original comment by ximarx@gmail.com on 25 Feb 2011 at 7:33