Git Product home page Git Product logo

rtsplayer's Introduction

ATENTION

I not maintining this anymore! I do not work with iOS/Android development anymore. Use at your own risk! Feel free to fork and update :)

rtsplayer

a very, very, very, very simple rtsp player using FFMpeg and ImageView.

Install

cordova plugin add https://github.com/felipew/rtsplayer.git

Execute the compile.sh inside the Plugins folder

Now you are ready to go

Using

cordova.plugins.rtsplayer.watchVideo("rtsp://10.0.0.100:554/video", callbackSucces, callbackError);
cordova.plugins.rtsplayer.watch("rtsp://10.0.0.100/video", "user", "password" callbackSucces, callbackError);

Contribute

  • General improvments
  • Audio support on iOS

About

This plugin was origanly created to be used with h.264 rtsp streams.

More info about ffmpeg/ios etc etc: ffmpeg ios

rtsplayer's People

Contributors

flpwgr avatar semirturgay avatar

Stargazers

 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

rtsplayer's Issues

Error decoding next frame.

[h264 @ 0x7fe367191c00] error while decoding MB 79 12, bytestream -23
[h264 @ 0x7fe367191c00] concealing 2610 DC, 2610 AC, 2610 MV errors in I frame
[rtsp @ 0x7fe3680a7e00] Unhandled type (29) (See RFC for implementation details)
[rtsp @ 0x7fe3680a7e00] Unhandled type (26) (See RFC for implementation details)
[rtsp @ 0x7fe3680a7e00] Unhandled type (27) (See RFC for implementation details)
[h264 @ 0x7fe367191c00] Cannot use next picture in error concealment
[h264 @ 0x7fe367191c00] concealing 2938 DC, 2938 AC, 2938 MV errors in P frame

Error decoding next frame.
Error decoding next frame.
Error decoding next frame.
Error decoding next frame.
Error decoding next frame.

FFFrameExtractor stopping
Cleanup FFFrameExtractor

no sound

plugin compiles well but doesnt get audio from streams
and it doesn't decode some of the live rtsp h.264 video streams.

Analyzeduration and Probesize Values

Hi,

I compiled ffmpeg and compiled my iOS project which I'm trying to stream an IP camera. If I try to stream a file (rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov) it works well but in case of trying to stream my IP camera I got the warning below and the player stops.

Consider increasing the value for the 'analyzeduration' and 'probesize'.

How can I incerase these values? Do I have any chance to pass these parameters?

Thanks in advice.

Tela preta Android

Ao usar o plugin no Android 5.0 abre o player porém a tela e fica somente preta.

Can't install in ios project

Error: Failed to fetch plugin https://github.com/felipew/rtsplayer.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 235 Error output:
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data

npm ERR! addLocal Could not install /var/folders/6f/7yj6qcr155j8h67m7h2011qh0000gn/T/npm-653-1c5f4f8e/git-cache-7880df23072f/ff6c48cc3c7584ef85e563a55e97729dcb831810
npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/felipew/rtsplayer.git" "--save"
npm ERR! node v4.3.0
npm ERR! npm v2.14.12
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/ssndrs/ndrs-shn/Other/camera/node_modules/npm-debug.log

Using with capacitor?

Hi!

Is it possible to use with capacitor?

How do I call cordova.plugins using capacitor?

Thanks

Error inside `cleanup` of `FFFrameExtractor`

First of all, thank you very much for great plugin!
I have small trouble.
When I press Voltar button, got this:

[h264 @ 0x1030b7000] concealing 705 DC, 705 AC, 705 MV errors in I frame
[h264 @ 0x10400ea00] RTP: missed 2 packets
[h264 @ 0x10400ea00] RTP: missed 1 packets
[h264 @ 0x1030f2a00] Cannot use next picture in error concealment
[h264 @ 0x1030f2a00] concealing 257 DC, 257 AC, 257 MV errors in P frame
[h264 @ 0x10400ea00] RTP: missed 3 packets
2017-08-18 19:16:34.077957+0300 AppName[567:185809] FFFrameExtractor stopping
2017-08-18 19:16:34.078110+0300 AppName[567:185809] Cleanup FFFrameExtractor
AppName(567,0x16e28f000) malloc: *** error for object 0x100008000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug`

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.