Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Lines on displayed image (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Wed, 27 Dec 2017 16:53:20 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Lines on displayed image Message-ID: <CACHTdwSuwb=4cjC=3ouehb6+rhxsdqfc9bky+rpe6fq5eqw...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Sorry, Alessandro, that was question for Timothy and the issue with "Lines on displayed image" Your issue is being tracked in the other mail thread On Wed, Dec 27, 2017 at 4:45 PM, Alessandro Parmiani < ale.parmian...@gmail.com> wrote: > Ok, > > The first command output is: > > pi@raspberrypi:/ $ v4l2-ctl -d /dev/video0 --list-formats-ex > Failed to open /dev/video0: No such file or directory > > In the log i don't see any URB packet error. > > For the small video i use i googledrive link because the are problems of > mail size. > Check if you can download it. > ? > 13-54-11.mp4 > <https://drive.google.com/file/d/1gJLGfMKWOuXlV6lEBRkgNh0tnZEjFhbu/view?usp=drive_web> > ? > > Thanks > Alessandro > > 2017-12-27 14:46 GMT+01:00 tosiara <tosi...@gmail.com>: > >> Timothy, >> >> can you collect the following info: >> >> output of "v4l2-ctl -d /dev/video0 --list-formats-ex" >> a short sample video 2-3 seconds? >> during motion run do you see any USB related messages in syslog (like URB >> packet error)? >> >> Those lines look like a wrong bytes being written into buffer of there >> could be incomplete or truncated frames coming. If you don't see those >> lines in VLC that could mean you are using different resolution/pixel >> format with the player >> >> On Wed, Dec 27, 2017 at 1:57 AM, MrDave <motionmrd...@gmail.com> wrote: >> >>> I'll add a issue to the project to address the abort. (There is already >>> a bug filed upstream in ffmpeg on it). >>> >>> It is surprising this option does not function. There are only two >>> options that are specified in Motion for this method. The >>> dimensions(height/width) and the framerate. If you try a `ffprobe` of the >>> device, it should report the device defaults on these and you can try those >>> as the configuration options in Motion. >>> >>> MrDave >>> >>> On 12/26/2017 10:14 AM, Timothy Buchanan wrote: >>> >>> I upgraded to 4.1.1. Using netcam_url v4l2:///dev/video1 and each >>> palette 0 through 17 and 21, I get ?unable to open video device,? except >>> with palette 8, which causes a program abort. Running ffplay ?f /dev/video1 >>> produces a good image, though I get repeated warnings that the dequeued >>> vl42 buff contains corrupted data (691200 bytes). Suggestions? Thanks. >>> >>> >>> >>> Timothy >>> >>> >>> >>> *From: *MrDave <motionmrd...@gmail.com> <motionmrd...@gmail.com> >>> *Reply-To: *Motion discussion list <motion-user@lists.sourceforge.net> >>> <motion-user@lists.sourceforge.net> >>> *Date: *Sunday, December 24, 2017 at 2:12 PM >>> *To: *<motion-user@lists.sourceforge.net> >>> <motion-user@lists.sourceforge.net> >>> *Subject: *Re: [Motion-user] Lines on displayed image >>> >>> >>> >>> Yes, the v4l2 via the netcam_url option functionality was added starting >>> in version 4.1 so it will not work with 4.0. >>> >>> Regarding the "unhelpful" message on the standard being set. 45056 >>> means it set it to V4L2_STD_NTSC. Other video standards Motion may report >>> are 16711680 for V4L2_STD_SECAM and 255 for V4L2_STD_PAL. (This is legacy >>> code to print the number rather than a readable message). >>> >>> This is the first that I've heard of a usb device reporting options to >>> use different video standards so changing that parameter may assist. >>> >>> MrDave >>> >>> >>> >>> On 12/24/2017 11:46 AM, Timothy Buchanan wrote: >>> >>> I decided to start again from scratch by installing stretch (had been >>> using Jessie). The included add/remove GUI installed motion 4.0, not 4.1. >>> That version?s motion.conf offers the netcam option, but using netcam_url >>> v4l2:///dev/video0 returns a gray image with the error ?could not open.? Is >>> it only 4.1 that works with netcam? Curiously, vlc media player will open >>> the camera and display v4l2:///dev/video0 when doing so. >>> >>> >>> >>> As to the usb-to-analog device, it is the UCEC adapter sold on amazon >>> and has the UTV007 chipset. I have not installed any drivers. Where would I >>> find the driver Linux is using? >>> >>> >>> >>> Thanks again for help. >>> >>> >>> >>> Timothy >>> >>> >>> >>> *From: *tosiara <tosi...@gmail.com> <tosi...@gmail.com> >>> *Reply-To: *Motion discussion list <motion-user@lists.sourceforge.net> >>> <motion-user@lists.sourceforge.net> >>> *Date: *Thursday, December 21, 2017 at 9:59 AM >>> *To: *Motion discussion list <motion-user@lists.sourceforge.net> >>> <motion-user@lists.sourceforge.net> >>> *Subject: *Re: [Motion-user] Lines on displayed image >>> >>> >>> >>> I have had some issues with usb-to-analog devices, like Easycap and >>> similar. At that time indeed only motion had those issues, but after some >>> changes in the driver the issues were resolved. So it could be some >>> compatibility with the hardware's driver. Can you provide more details what >>> kind of capture card you are using? >>> >>> As a workaround you can use the way MrDave mentioned - capture through >>> the netcam. Specify this url: >>> netcam_url v4l2:///dev/video0 >>> >>> Please report back if you still get corrupted image using netcam >>> >>> >>> >>> On Thu, Dec 21, 2017 at 6:43 PM, Timothy Buchanan < >>> timothyebucha...@gmail.com> wrote: >>> >>> MrDave and tosiara, thanks for help. I?ve attached the motion log and >>> output of one of the cameras (there are three, but all the same) to the >>> command v4l2-ctl -d /dev/video0 ?all. >>> >>> Palette YUYV seems to be the only one supported, and that is chosen. I >>> set the config to use NTSC, but it always chooses ?standard method 45056.? >>> I don?t find any info on that. >>> >>> Do you see problems in the output files I?ve attached? Thanks again. >>> >>> timothy >>> >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Motion-user mailing list >>> Motion-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most engaging >>> tech sites, Slashdot.org! http://sdm.link/slashdot______ >>> _________________________________________ Motion-user mailing list >>> Motion-user@lists.sourceforge.net https://lists.sourceforge.net/ >>> lists/listinfo/motion-user https://motion-project.github.io/ >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Check out the vibrant tech community on one of the world's most >>> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> >>> >>> >>> >>> _______________________________________________ >>> >>> Motion-user mailing list >>> >>> Motion-user@lists.sourceforge.net >>> >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> >>> https://motion-project.github.io/ >>> >>> >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most engaging >>> tech sites, Slashdot.org! http://sdm.link/slashdot______ >>> _________________________________________ Motion-user mailing list >>> Motion-user@lists.sourceforge.net https://lists.sourceforge.net/ >>> lists/listinfo/motion-user https://motion-project.github.io/ >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> >>> >>> >>> _______________________________________________ >>> Motion-user mailing >>> listMotion-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Motion-user mailing list >>> Motion-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >>> >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 138, Issue 19 ********************************************