question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using Raspberry Pi Stream with h264-live-player server-tcp

See original GitHub issue

Hi there, Thanks for this amazing repository, it save my time to understand how to decode h264 stream on browser. The serve-rpi.js worked good on raspberry Pi, so I try to run use server-tcp.js with standalone raspivid stream service. Somehow, I got problem on doing this, would you like to help me?

Raspberry Pi(stream video on :3030):

$raspivid -n -w 200 -h 200 -t 0 -l -o tcp://0.0.0.0:3030 -pf baseline -fps 12 -b 950000

Server TCP:

const feed    = new RemoteTCPFeedRelay(server, {
  feed_ip   : "172.16.10.37",
  feed_port : 3030,
  width: 200,
  height: 200
});

I can receive the data on browser, but the video looked terrible.

Picture: screen shot 2019-02-14 at 11 14 36 am

Thanks!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
adfghzhangcommented, Feb 15, 2019

I am also meet the same problem,my vedio is record from Android device. Only when vedio size in 720x1280 is ok. Others vedio size like 616x1280, 1080x1920 all wrong. How could I change the width:height for decoder?

0reactions
YellowQCcommented, Mar 9, 2020

I am also meet the same problem,my vedio is record from Android device. Only when vedio size in 720x1280 is ok. Others vedio size like 616x1280, 1080x1920 all wrong. How could I change the width:height for decoder?

Have you solved this problem on Android devices? i alse meet the same problem,720x1280 is ok, other size failed。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Video Streaming Raspberry Pi Camera
In this post we're going to show you how you can do video streaming with a Raspberry Pi and a Raspberry Pi Camera...
Read more >
Camera live streaming using H264 format
This post guides to use PiCamera to capture and make H264 video stream by sending H264 NAL units over the internet via a...
Read more >
How to Make Raspberry Pi Webcam Server and Stream ...
1. In this project, you will need the following: Raspberry Pi 3 Model B (Any version will work, but in PI 3 we have...
Read more >
How to Set Up a Raspberry Pi Media Server: 7 Ways
Here are several ways you can start using your Raspberry Pi as a media ... this is the option to choose if you...
Read more >
How to make an RTMP Streaming Server and Player with a ...
In this tutorial we'll use a Raspberry Pi to build an RTMP server that plays out any video stream it receives over the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found