We have H. The servers are deployed in outdoor, high traffic environments within air-conditioned enclosures. Use of h for video has several advantages:. In order to get this functioning properly, we set up these machines with the most recent revision of x and ffmpeg Nov 17, ZoneMinder is also from SVN in these installs though not always the same revision. On the more powerful of our machines we ran at 5 fps, the others lower.
Our cameras are in Modect mode and detect motion properly and consistently. Jump to: navigationsearch. Go back to the How To pages Use of h for video has several advantages: Low Delay.
Often the timestamps between camera and ZoneMinder can be fairly separated in other modes. ZMA processes appear to be more stable. ZMA processes have had stability issues on some machines in other modes.
Subscribe to RSS
Less Load. H streams put less load on the system, which is great for low power systems. Little change in image quality. Various settings allow optimizing images. Events are complete and without jumping in video. Some other notes: Be sure the rtsp server is enabled on the camera.
Be sure settings are optimized and consistent between the camera and ZoneMinder. Retrieved from "?The problem is that most IP cameras are not made for streaming live, full-motion, events to the web.
This is obviously not ideal from a bandwidth perspective at all. The cameras that our project uses are Axis and cameras. These cameras are capable of streaming MPEG-4 video, and when you look at the video in a web browser it looks pretty good. While it looks like a media player that can handle a lot of formats, under the surface lies a powerful, command-line based, transcoding and streaming program.
Now I just have to hook it up to the stream from the camera, right? With Wowza already running on the server, I typed that in to terminal, and it started to look good. Then PAF! I get this error:. VLC seems to think that a frame, or some piece of information has been delayed seconds. I highly doubt that, but VLC is convinced. Try as I might, I was not able to get VLC to realize that the frame, or whatever bit of infowas simply missing a timestamp or something.
So, I figured I would debug just the connection to the camera. I opened a VNC session, and ran this:. This worked also. It appears that the problem only occurs when I am trying to open, transcode, and send out the stream all at once. I realized, if I can transcode from a file and stream, and if I can capture a stream and save it to a file, I should be able to do both at the same time. It works! The steps are, make the pipe:. Because of these caveats, I am still looking for an alternate solution, and may stream MPEG-4 to browsers until Axis has its h.
Yesterday, I did find a second possible solution. Instead of using the first instance of VLC to capture the stream, it is sometimes possible to use Darwin Streaming Server to capture the stream, then use 1 instance of VLC to transcode it. Follow me johnbeales. Whew, I am tired just reading your process. We are trying to take a linksys camera and push it through to Mogulus. That could be rough. It would be great if that was possible. Is there a specific reason your outputs need to be flash video?
The reason we wanted flash was so we could use a custom player with some stats in it and some advertising overlays on the video. We had given some thought to using Darwin Streaming Server for a while and abandoning flash altogether but in the end we bought new cameras. I am trying to capture the steam from an Axis M camera and simply save it as a file. The codecs and encapsulation that I have been attempting work for a brief time, then the video starts to break up, then smear and be unviewable.
Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. When I decode a packet I emit a signal that is managed inside a slot of my widget with:.
The problem is that when I listen, my voice but a little bit metallic! I set these parameters for the QAudioOutput :. Now I'm trying to solve other problems and than I'll try to improve audio quality for example with Phonon. I think your problem is to do with your sample rate - 22KHz seems very low.
How much of a difference does upping it to Learn more. Asked 8 years, 5 months ago. Active 8 years, 5 months ago. Viewed times. When I decode a packet I emit a signal that is managed inside a slot of my widget with: ap. I set these parameters for the QAudioOutput : format. Thank you to all. As I said in a comment I'm able to obtain an enough clear playback with Hz and 2 channels.
Kev k 47 47 gold badges silver badges bronze badges. According to the docssetFrequency and setChannels are both obsolete and only included for legacy purposes. I'm not sure that its the source of your problem, but it would be best practice to use setSampleRate and setChannelCount instead. I set it with and 2 channels and now works really better.
I only would like to reduce low frequencies. Do you know how I can do that? Regarding your request above for how to reduce low frequencies.
The dark mode beta is finally here.DIY Restreaming Server
Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. My OpenCV version is 3. I follow this tutorial link. I have all libraries installed.
My following program can load mp4 video successfully. That means ffmpeg and necessary libraries are working fine. Learn more. Asked 3 years, 10 months ago. Active 3 years, 10 months ago. Viewed times. Have you used gst-launch to see the camera view? That should work first. The problem is at network configuration. Active Oldest Votes. I need to set static ip address as follow. Sign up or log in Sign up using Google. Sign up using Facebook.
The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. I need to make recordings at specific times. To achieve this, I use a PHP script which is executed every minute with cronchecks in the database whether a recording should be started or not.
Problem is, it works in most cases, but the recording fails every now and then. Have anyone ever tried to record AXIS streams in command line, and faced bugs while doing it?
EDIT: Network errors can be a good explanation on why the recordings sometimes suddenly interrupt; however, I still don't understand why the whole video file is corrupted after that. I have seen this issue before when the connection between the server and the camera is interrupted or degraded.
RTSP :: axis camera
We were pulling a feed from a camera over a wireless connection and the periodic latency was an issue. Check the health of the network and the server pulling the stream. Learn more. Asked 8 years, 9 months ago. Active 5 years, 1 month ago.
How to setup H.264 streaming with Ffmpeg monitor from an Axis P3343-VE-12mm camera
Viewed 3k times. Thank you in advance. Regards, Mathieu N. Mathieu Rodic Mathieu Rodic 5, 2 2 gold badges 33 33 silver badges 42 42 bronze badges. How does it fail? Active Oldest Votes. Thank you for your quick answer. There is nothing to worry about regarding the server; however, I already had some concerns about the health of the network.
What I don't understand about it is that when the recording fails, the resulting video file is completely unreadable, and the codecs are not even recognized by FFMPEG There was an issue with damaged headers that made the file unreadable. You should know pretty quickly if that is the issue. Late answer I had checked my scripts a thousand times, and tested them directly using command line with no results. Network trouble it was indeed.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. I'm trying to use this plug-in with my Axis P, and I based my config file off of this example in the Wiki. I also know my rtsp link works fine so that couldn't be the issue either. The single snapshot on the preview tile in the Home app works fine, but when I tap it to view the live feed it fails.
Did your camera appear as in the add accessory section? Been trying to get it to work. Skip to content. Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up. New issue. Jump to bottom. Copy link Quote reply. Hi guys, I'm trying to use this plug-in with my Axis P, and I based my config file off of this example in the Wiki.
So I'm wondering what I'm doing wrong. Here is the camera-FFmpeg section from my config. This comment has been minimized. Sign in to view. I see the same thing, here. Same here with q-see DVR. Sign up for free to join this conversation on GitHub. Already have an account?Just like ImageMagickFFmpeg is an extremely useful command-line program.
It has no interface, you simply type commands into a console. There are some options detailed in the ffmpeg documentation such as the maximum extent of movement and contrast threshold, but for my purposes the defaults are fine. Like I mentioned above, Blender has a relatively limited number of encoding controls, whereas FFmpeg has as many as you could possibly imagine, and probably a few more. There is a problem with vidstabdetect and vidstabtransform filter — if the video happens to zoom in — the image stabilization cause worse image stabilization.
Any support for opencl to do some of the computation? In a steady wind, the drone drifts steadily, and accelerometer thinks the drone is standing still — relative to the surrounding air column.
And ffmpeg, being an open source project, allows any manufacturer to compile ffmpeg for any drone, and they are not obligated to disclose any commercial secret.
We just need a project to disclose such information for the general public.
How to setup H.264 streaming with Ffmpeg monitor from an Axis P3343-VE-12mm camera
Also really cool is combining ffmpeg with Automator on Mac. You can then right click on a video directly in your finder and then pass it to a Quick Action. Hey presto: immediately stabilized video directly from the finder window. I have some great footage, shot at — from a boat with hand-held camera.
Obviously, it shakes.
DEL transforms. Samuel Nicholas. Even so video stabilisation software sucks compared to what it could be. How long is this process? For example a 5 min, 30fps, FullHD video. Greg Zaal. Works well, thank you! Sebastiaan Hols. How would I do that? Mic Mic. Ffmpeg supports 2-pass stabilization which is far better.