Giter VIP home page Giter VIP logo

ffmpeg4ios's People

Contributors

ciphor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg4ios's Issues

Duplicate ff_inverse symbols in xcode

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

how to use ffmpeg4ios in xcode?

hi ciphor,

  i want to use ffmpeg in my project . while surff in net i got ur code .i need following help from you
  1. how you built for ios ?
  2. how can i use ffmpeg4ios in my xcode project ?

connecting to my RTSP stream

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.

XCode 4.5

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?

unable to build libs for ios5.0 please help me(file was built for archive which is not the architecture being linked (armv7))

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.