Page 1 of 1
why the sound is noise when playing http url (ios5.1.1)?
Posted: 30 Aug 2012 18:46
by hanlei0901
when i play the following url with vlc(ios),
http://zb.v.qq.com:1863/?progid=2907109968
the picture is normal, but audio is noise?
Any suggestion will be welcome,
thank you!
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 30 Aug 2012 18:49
by hanlei0901
And audio of local files are ok!
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 31 Aug 2012 11:51
by fkuehne
Works correctly for me.
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 01 Sep 2012 03:31
by dongyafeiying
Works correctly for me.
How did you compile the MobileVLC ,when I compile I got some errors:
Code: Select all
[info] Building MobileVLC (MobileVLC)
Build settings from command line:
SDKROOT = iphoneos5.0
=== BUILD NATIVE TARGET MobileVLC OF PROJECT MobileVLC WITH CONFIGURATION Release ===
Check dependencies
Ld build/Release-iphoneos/VLC.app/VLC normal armv7
cd /Users/**/MobileVLC
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/Users/**/Documents/android-sdk-macosx/tools"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/**/MobileVLC/build/Release-iphoneos -L/Users/**/MobileVLC/External/MobileVLCKit -L/Users/**/MobileVLC/External/MediaLibraryKit -F/Users/**/MobileVLC/build/Release-iphoneos -filelist /Users/**/MobileVLC/build/MobileVLC.build/Release-iphoneos/MobileVLC.build/Objects-normal/armv7/VLC.LinkFileList -dead_strip -Wl,-no_pie -miphoneos-version-min=5.0 -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -framework AudioToolbox -framework QuartzCore -liconv -lz /Users/**/MobileVLC/ImportedSources/VLCKit/build/Release-iphoneos/libMobileVLCKit.a /Users/**/MobileVLC/ImportedSources/MediaLibraryKit/build/Release-iphoneos/libMobileMediaLibraryKit.a -lsqlite3 -lstdc++.6 -lbz2 -lxml2 -framework CoreData -framework CoreText -framework MediaPlayer -o /Users/**/MobileVLC/build/Release-iphoneos/VLC.app/VLC
ld: '_AmplifyFloat' in /Users/**/MobileVLC/ImportedSources/VLCKit/build/Release-iphoneos/libMobileVLCKit.a(libvolume_neon_plugin_la-volume.o) contains undefined reference for architecture armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
can you help me ?
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 01 Sep 2012 10:42
by hanlei0901
Works correctly for me.
To fkuehne:
The problem i encountered is almost the same as the below url:
viewtopic.php?f=12&t=102832
And I found that you as if fixed this problem in :
https://trac.videolan.org/vlc/ticket/7228
Could you please tell me how to resolve it?
Thank you very much!
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 01 Sep 2012 15:00
by fkuehne
Use libmad instead of libav for decoding.
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 31 May 2013 14:22
by some_birdie
Use libmad instead of libav for decoding.
How to do this? How to force using mad for mp3 audio decoding?
Re: why the sound is noise when playing http url (ios5.1.1)?
Posted: 31 May 2013 15:42
by some_birdie
How to do this? How to force using mad for mp3 audio decoding?
Found it. Just need to enable mad in build settings.
I see that #7228 is closed, so it should work with libav too, right? But I cannot find the commit that fixes that issue. Is it on vlc repo? or VLCKit? or...?