Go to advanced search

by TheWaterbug
Fri Sep 20, 2019 6:26 pm
Forum: General discussion
Topic: RTSP > 1920 x 1080 --> HDMI?
Replies: 5
Views: 911

Re: RTSP > 1920 x 1080 --> HDMI?

The hardware h264 acceleration has a hard limit on the width of 2048 pixels. Sorry, there is no getting around that one. Real-time software decoding or encoding of hd h264 is unlikely to be practical even on a 3b+ - it generally requires too much processing for the Arm processing power available. I...
by TheWaterbug
Thu Jan 10, 2019 9:33 pm
Forum: General discussion
Topic: RTSP > 1920 x 1080 --> HDMI?
Replies: 5
Views: 911

Re: RTSP > 1920 x 1080 --> HDMI?

^^
Ah, thank you for replying, and on Christmas, too!

I didn't realize there was a HW limitation for ffmpeg as well.

Is there a height limitation?

This makes me even grumpier that my brand-new RLC-410 doesn't support 2048x1536. Reolink removed that in favor of 2304x1296 "since that's also 3 MP."
by TheWaterbug
Tue Dec 25, 2018 6:11 am
Forum: General discussion
Topic: RTSP > 1920 x 1080 --> HDMI?
Replies: 5
Views: 911

Re: RTSP > 1920 x 1080 --> HDMI?

I had a typo/copy-o in my previous post. I'm now trying (mkfifo /tmp/blah; ffmpeg -re -thread_queue_size 512 -rtsp_transport tcp -i "rtsp://anonymous:password@192.168.1.9:554" -f concat -safe 0 -i playlist.txt -vcodec copy -acodec copy -t 01:47:02 -f flv /tmp/blah)& omxplayer /tmp/blah This results ...
by TheWaterbug
Fri Dec 21, 2018 5:20 pm
Forum: General discussion
Topic: RTSP > 1920 x 1080 --> HDMI?
Replies: 5
Views: 911

RTSP > 1920 x 1080 --> HDMI?

I want to render the video from my BeeCam onto my HDTV via my Pi. The BeeCam outputs rtsp. The problem is that my BeeCam is a Reolink RLC-423S with a _minimum_ output resolution of 2304 x 1296, which is larger than the maximum size of 1920 x 1080 that omxplayer can handle. I do have ffmpeg running o...
by TheWaterbug
Wed Apr 25, 2018 2:55 am
Forum: Camera board
Topic: RTSP Streaming H264
Replies: 16
Views: 33645

Re: RTSP Streaming H264

What am I trying to achieve: - I have a Dahua ip-cam system with a nvr; this server produces rtsp video streams (h.264), e.g. rtsp://user:password@192.168.1.XXX:554/cam/realmonitor?channel=1&subtype=0 - I want a small, cheap solution to view these streams on another tv (than the one attached to the...
by TheWaterbug
Wed Apr 25, 2018 1:39 am
Forum: Graphics, sound and multimedia
Topic: Any way to add alsa support to ffmpeg without recompiling?
Replies: 30
Views: 8908

Re: Any way to add alsa support to ffmpeg without recompiling?

2. If ffmpeg is not compiled with alsa support there is no way to stream audio, so it would be a silent video. If you don't want or need audio, there is a way to substitute a "dummy" audio device, since YouTube will reject live stream feeds without sound. I had this same problem. Another solution i...
by TheWaterbug
Wed Apr 25, 2018 1:34 am
Forum: Graphics, sound and multimedia
Topic: Any way to add alsa support to ffmpeg without recompiling?
Replies: 30
Views: 8908

Re: Any way to add alsa support to ffmpeg without recompiling?

tropho wrote:
Tue Feb 27, 2018 12:35 am
No, unfortunately not. You must recompile ffmpeg to add enable additional libraries. Below is the script I build to compile ffmpeg with alsa, fdk-aac, and libx264 support.
Thanks! I don't know why I didn't see this earlier. I'll try this when I get back from my trip.
by TheWaterbug
Fri Mar 09, 2018 5:18 pm
Forum: Camera board
Topic: RTSP Streaming H264
Replies: 16
Views: 33645

Re: RTSP Streaming H264

Well, the bad news is that it still goes down from time to time. The good news is that I have 2 watchdog timers going--one on the ffmpeg relay station (on another Pi, because I can't get ffmpeg compiled on this one, due to a /tmp that's too small, and my lack of knowledge on how to resize that), and...
by TheWaterbug
Sun Mar 04, 2018 12:08 am
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

More questions! Is there a way to enable audio in the RSTP feed? I see that the RTSP server included in this project has support for an ALSA audio device: ./v4l2rtspserver [-v[v]] [-Q queueSize] [-O file] \ [-I interface] [-P RTSP port] [-p RTSP/HTTP port] [-m multicast url] [-u unicast url] [-M mul...
by TheWaterbug
Mon Feb 26, 2018 11:11 pm
Forum: Camera board
Topic: RTSP Streaming H264
Replies: 16
Views: 33645

Re: RTSP Streaming H264

Hi! I'm running the PHP/Bootstrap Web Interface for the Pi Camera project, which uses this RTSP server project, to run my Swarm Trap Camera . For some reason the h.264 stream dies from time to time. Sometimes it will run for (literally) days, and sometimes it will die after an hour or less. I've mad...
by TheWaterbug
Wed Feb 14, 2018 7:47 pm
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

^^ Also, is there a way (or could there be a way) to get a single JPG from a different URL? I want to save a frame every 30 or 60 seconds to an SMB share, and then compress those into a time lapse at the end of each day. I can do this with my Reolink camera, which has a built-in option to FTP a stil...
by TheWaterbug
Wed Feb 14, 2018 4:17 am
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

Is there any way (now, or in the future) to configure the stack to output both MJPEG and h.264, on two different ports, with two different resolution settings? Outputting multiple streams is common on many commercially-available IP, for low-res or low-bandwidth previewing and for full-res viewing. F...
by TheWaterbug
Mon Feb 12, 2018 10:39 pm
Forum: Camera board
Topic: STICKY: Volunteers to assist with project: Honey Bee Counter
Replies: 56
Views: 42881

Re: STICKY: Volunteers to assist with project: Honey Bee Counter

This looks like a great project! I have zero technical expertise to contribute, but I do have bees :D I have a live BeeCam here: https://www.youtube.com/user/IAmTheWaterbug/live There's nothing Pi about that feed except that it's passing through a Pi working as an ffmpeg relay. My second camera is b...
by TheWaterbug
Sun Feb 11, 2018 6:56 pm
Forum: Graphics, sound and multimedia
Topic: Any way to add alsa support to ffmpeg without recompiling?
Replies: 30
Views: 8908

Any way to add alsa support to ffmpeg without recompiling?

Hi! I have ffmpeg compiled and running based on these instructions . My USB mini mic is known-working, because: arecord -D plughw:1,0 -d 3.0 test.wav && aplay test.wav results in sound coming out of my earphones, as expected. But when I attempt to feed in sound from a USB mini mic via: sudo ffmpeg -...
by TheWaterbug
Sat Feb 10, 2018 12:19 am
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

Ok! After a year of asking questions, I finally have something to contribute! I have real-time date/time/weather updating on my live video. I have 2 services running. UpdateWeather updates once/minute and does: #!/bin/bash while [[ 1 == 1 ]]; do curl -s 'api.openweathermap.org/data/2.5/weather?id=53...
by TheWaterbug
Fri Feb 09, 2018 3:42 am
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

The author of that script suggests I specify a file in the ramdisk at /tmp , but the problem there is that /tmp is empty at startup, which causes the uv4l driver to fail the text overlay due to a missing file, even if that file gets created a few seconds later. Ideally I'd start my UpdateDateTime.s...
by TheWaterbug
Fri Feb 09, 2018 1:22 am
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

I'd also like to figure out how to get a near-real-time time/date stamp on the video. I'm halfway towards a solution, here. I found this handy shell script to sed the formatted date/time into the file that's specified in /etc/uv4l/uv4l-raspicam.conf . It took me a long time to figure that I also ne...
by TheWaterbug
Thu Feb 08, 2018 9:15 pm
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

^^ I still haven't resolved the issue with compiling ffmpeg on top of the camera project, so my workaround is to just use another Pi as an ffmpeg relay station. It was doing this already for my Reolink camera, so now I just have two instances of ffmpeg running instead of one. They're not doing any t...
by TheWaterbug
Tue Feb 06, 2018 10:37 pm
Forum: Camera board
Topic: UV4L Text Overlay info needed
Replies: 7
Views: 3334

Re: UV4L Text Overlay info needed

add this: -std=c++11 and then it should compile. I tried this, and I'm still getting errors: pi@SwarmTrapCam:~ $ g++ -o uv4l-time-overlay uv4l-time-overlay.cpp -std=c++11 /usr/bin/ld: final link failed: No space left on device collect2: error: ld returned 1 exit status pi@SwarmTrapCam:~ $ sudo moun...
by TheWaterbug
Mon Jan 29, 2018 6:26 pm
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

TheWaterbug wrote:
Mon Jan 29, 2018 5:01 am
And now I'm compiling ffmpeg again . . . .
. . . and it's failing with "no space left on device."
by TheWaterbug
Mon Jan 29, 2018 6:22 pm
Forum: General discussion
Topic: No Space Left on Device for ffmpeg
Replies: 0
Views: 755

No Space Left on Device for ffmpeg

¡Hola! I'm trying to compile ffmpeg on top of an "installation from image" of a this PHP/Bootstrap Web Interface for the Pi Camera project. I've successfully compiled ffmpeg on a fresh Stretch image, and also on top of the older version of the above-linked project, but I'm having trouble compiling o...
by TheWaterbug
Mon Jan 29, 2018 5:01 am
Forum: Camera board
Topic: PHP/Bootstrap Web Interface for the Pi Camera
Replies: 180
Views: 54513

Re: PHP/Bootstrap Web Interface for the Pi Camera

^^ More on this. I installed from the latest image (as of 28 Jan 18) from: https://drive.google.com/open?id=0BzcZ1Ce8u9-GMGVCcjF3cHhKVGc It installed just fine, and appeared to work on first boot, but any change in any of the camera configuration would cause the camera to shut off, the preview to fa...
by TheWaterbug
Sat Jan 27, 2018 10:30 pm
Forum: General discussion
Topic: (How) Can I copy a compiled binary from Pi 2B to Pi 3?
Replies: 2
Views: 374

(How) Can I copy a compiled binary from Pi 2B to Pi 3?

Linux n00b here. I am following these instructions to compile the hw accelerated version of ffmpeg on my Pi 2B. It's taking a long time. Once it's finished, can I copy the compiled binary over to my Pi 3? Is it as simple as copying the binary file "ffmpeg"? Or do I need to copy other stuff over as w...
by TheWaterbug
Fri Jan 26, 2018 6:12 pm
Forum: Media centres
Topic: omxplayer - GPU enabled video player
Replies: 171
Views: 182573

Re: omxplayer - GPU enabled video player

The image size of your video stream is too large for the H264 decoder built into the VC4 GPU. It is specified for "up to 1920p30" (and also works for 1920p60 with an accelerated GPU). Thanks! Ah, too bad. Is that a hardware limitation? My Reolink camera's output resolution only goes down to 2304 x ...
by TheWaterbug
Fri Jan 26, 2018 6:39 am
Forum: Media centres
Topic: omxplayer - GPU enabled video player
Replies: 171
Views: 182573

Re: omxplayer - GPU enabled video player

I was able to download and install omxplayer, but from http://omxplayer.sconde.net/builds/omxplayer_0.3.7~git20170130~62fb580_armhf.deb instead of the links above (those have ellipses in the URLs and no longer work). The player works. From an ssh session: omxplayer -o hdmi LeticiaShootsPeacock.mp4 r...

Go to advanced search