Coder Social home page Coder Social logo

spinalcodes_gnuradio_video's Introduction

In these codes, we show how to port the original spinal codes into GNURadio and USRP board. Meanwhile, we show how to modify the original APIs of spinal codes to make them be suitable to transmit H.264 video data. The codes of this project are based on the following links:

http://www.yonch.com/wireless
https://github.com/qinchenchong/spinal_usrp

Before using the codes in this project, please make sure that you have installed the Spinal codes. How to install the spinal codes, please refer to:
http://www.yonch.com/wireless

In our demo, we realtime capture the video data from the camera and compress the video data into H.264 bitstream. Then we realtime transmit the H.264 bitstream over wireless network by using GNURadio and USRP board. At the receiving side, we realtie decode the received H.264 bitsteam and show them on the screen by using ffplay.

Note: Please run the commands at the receiving side first, then run the commands at the sender side.

Receiver side:
1) ffplay -f mpegts udp://127.0.0.1:12346

2) python packet_transceiver.py --receiveport 12345 --sendport 12346

packet_transceiver.py can be found under GNURadio installing directory gnuradio/gr-digital/examples/narrowband

3) python wyq_spinal_video_rx.py --tx-freq=922M --rx-freq=908020000 --rx-gain=30 --tx-gain=30 --tx-amplitude=1



Sender Side:
1) ffmpeg -f video4linux2 -b:v 32k -s 320*240 -r 64 -i /dev/video0 -vcodec libx264 -tune zerolatency -y -f mpegts udp://127.0.0.1:12347

2) python wyq_spinal_video_tx.py --tx-freq=908M --rx-freq=921975000 --rx-gain=30 --tx-gain=30 --tx-amplitude=1

The meaning of each command line options, please refer to GNURadio official guideline document.

spinalcodes_gnuradio_video's People

Contributors

ywu40 avatar

Stargazers

Timothy avatar  avatar

Watchers

James Cloos avatar  avatar

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.