ciphor / ffmpeg4ios Goto Github PK
View Code? Open in Web Editor NEWffmpeg library migrated onto iOS
License: Other
ffmpeg library migrated onto iOS
License: Other
Error rec'vd during xcode's build/linking phase:
ld: duplicate symbol _ff_inverse in /Users/PatsMac/Developer/Platforms/IPhoneUniversal.platform/libavcodec.a(inverse.o) and /Users/PatsMac/Developer/Platforms/IPhoneUniversal.platform/libavutil.a(inverse.o) for architecture armv7
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
I can't figure out away around this, any ideas?
Thanks
Pat
hi ciphor,
i want to use ffmpeg in my project . while surff in net i got ur code .i need following help from you
Hi
Am having trouble connecting to my RTSP stream from a digital camera I am working with, i call RtspParser::create, which makes all the right noises until it reaches SETUP, the server then returns RTSP/1.0 400 Bad Request, i would have liked to debug into RtspParser, but the iPlayer iOS app only supplies header & a library so i can't ? Any ideas ? Other rtsp seem to connect ok? and this rtsp feed connects ok using other iOS apps (like BUZZ Player) so i know feed is OK. Thanks
Connect to 192.168.42.1 on 554.
Connect Succeeded.
Set NonBlock.
OPTIONS rtsp://192.168.42.1/AmbaStreamTest RTSP/1.0
CSeq: 0
User-Agent: RTSP-Player v20110920
RTSP/1.0 200 OK
CSeq: 0
Date: Thu, Jan 01 1970 00:05:13 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
DESCRIBE rtsp://192.168.42.1/AmbaStreamTest RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: RTSP-Player v20110920
RTSP/1.0 200 OK
CSeq: 1
Date: Thu, Jan 01 1970 00:05:13 GMT
Content-Base: rtsp://192.168.42.1/AmbaStreamTest/
Content-Type: application/sdp
Content-Length: 509
v=0
o=- 63030000 1 IN IP4 192.168.42.1
s=Ambarella streaming
i=Ambarella streaming
t=0 0
a=tool:Ambarella streaming 2012.03.12
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Ambarella streaming
a=x-qt-text-inf:Ambarella streaming
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:600
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D4028;sprop-parameter-sets=AAAAASjuPIA=,AAAAASdNQCiaYoNj9gIgAAB9IAAdTByAAGmYAA0y9d5cZAADTMAAaZeu8uHcIhFBGAAAAA==
a=control:track1
RTSP/1.0 200 OK
CSeq: 1
Date: Thu, Jan 01 1970 00:05:13 GMT
Content-Base: rtsp://192.168.42.1/AmbaStreamTest/
Content-Type: application/sdp
Content-Length: 509
v=0
o=- 63030000 1 IN IP4 192.168.42.1
s=Ambarella streaming
i=Ambarella streaming
t=0 0
a=tool:Ambarella streaming 2012.03.12
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Ambarella streaming
a=x-qt-text-inf:Ambarella streaming
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:600
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D4028;sprop-parameter-sets=AAAAASjuPIA=,AAAAASdNQCiaYoNj9gIgAAB9IAAdTByAAGmYAA0y9d5cZAADTMAAaZeu8uHcIhFBGAAAAA==
a=control:track1
SETUP rtsp://192.168.42.1/AmbaStreamTest/ RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
RTSP/1.0 400 Bad Request
Date: Thu, Jan 01 1970 00:05:13 GMT
Allow: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
can not get session id or video ssrc.
Hello, I'm trying to compile with XCode 4.5 but I got lots of "Command not found".
Any planned update or a fix for this?
file was built for archive which is not the architecture being linked (armv7)
Ld /Users/arijasoftmac/Library/Developer/Xcode/DerivedData/iPlayer-bsiutkabquvufqbsyacpfddqlztf/Build/Products/Release-iphoneos/vMEye.app/vMEye normal armv7
cd /Volumes/arija2/ffmpeg4ios/samples/rtsp_player
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/arijasoftmac/Library/Developer/Xcode/DerivedData/iPlayer-bsiutkabquvufqbsyacpfddqlztf/Build/Products/Release-iphoneos -L/Volumes/arija2/ffmpeg4ios/samples/rtsp_player/Classes/rtsp -L/Volumes/arija2/ffmpeg4ios/samples/rtsp_player/../../armv7 -F/Users/arijasoftmac/Library/Developer/Xcode/DerivedData/iPlayer-bsiutkabquvufqbsyacpfddqlztf/Build/Products/Release-iphoneos -filelist /Users/arijasoftmac/Library/Developer/Xcode/DerivedData/iPlayer-bsiutkabquvufqbsyacpfddqlztf/Build/Intermediates/iPlayer.build/Release-iphoneos/Demo.build/Objects-normal/armv7/vMEye.LinkFileList -dead_strip -miphoneos-version-min=5.0 -lstdc++ -lz -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -lRtspParser -lavcodec -lavformat -lavdevice -lswscale -lavutil -o /Users/arijasoftmac/Library/Developer/Xcode/DerivedData/iPlayer-bsiutkabquvufqbsyacpfddqlztf/Build/Products/Release-iphoneos/vMEye.app/vMEye
ld: warning: ignoring file /Volumes/arija2/ffmpeg4ios/armv7/libavcodec.a, file was built for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file /Volumes/arija2/ffmpeg4ios/armv7/libavformat.a, file was built for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file /Volumes/arija2/ffmpeg4ios/armv7/libavdevice.a, file was built for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file /Volumes/arija2/ffmpeg4ios/armv7/libswscale.a, file was built for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file /Volumes/arija2/ffmpeg4ios/armv7/libavutil.a, file was built for archive which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
"_avcodec_alloc_context", referenced from:
_InitDecode in VideoDecode.o
"_avcodec_init", referenced from:
-[RtspTestViewController setupScaler] in RtspTestViewController.o
_InitDecode in VideoDecode.o
"_avcodec_open", referenced from:
_InitDecode in VideoDecode.o
"_avcodec_register_all", referenced from:
_InitDecode in VideoDecode.o
"_avpicture_free", referenced from:
-[RtspTestViewController setupScaler] in RtspTestViewController.o
"_avpicture_fill", referenced from:
_InitDecode in VideoDecode.o
"_sws_getContext", referenced from:
-[RtspTestViewController setupScaler] in RtspTestViewController.o
_AVDecode in VideoDecode.o
"_avpicture_alloc", referenced from:
-[RtspTestViewController setupScaler] in RtspTestViewController.o
"_av_free", referenced from:
__Z12UnInitDecodeP12CVideoDecodei in VideoDecode.o
"_avcodec_find_decoder", referenced from:
_InitDecode in VideoDecode.o
"_sws_scale", referenced from:
-[RtspTestViewController getFrames] in RtspTestViewController.o
_AVDecode in VideoDecode.o
"_sws_freeContext", referenced from:
-[RtspTestViewController setupScaler] in RtspTestViewController.o
__Z12UnInitDecodeP12CVideoDecodei in VideoDecode.o
"_avcodec_alloc_frame", referenced from:
_InitDecode in VideoDecode.o
"_avcodec_decode_video2", referenced from:
_AVDecode in VideoDecode.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.