Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: RTSP - how does it work? (John Baker)
2. mpg streams (John Baker)
3. Re: mpg streams (tosiara)
4. Re: core dump (John Baker)
5. Re: mpg streams (Colin Law)
6. Re: mpg streams (John Baker)
7. Re: mpg streams (Colin Law)
----------------------------------------------------------------------
Message: 1
Date: Fri, 04 Mar 2016 22:43:28 +0000
From: John Baker <[email protected]>
Subject: Re: [Motion-user] RTSP - how does it work?
To: [email protected]
Message-ID:
<1457131408.3126277.540053602.2f96e...@webmail.messagingengine.com>
Content-Type: text/plain
Mr Dave's fork is excellent. I wish it was in Python, so I could
contribute :)
On Fri, Mar 4, 2016, at 10:41 PM, Mike Wilson wrote:
> You can see the current fork here:
>
> https://github.com/Mr-Dave/motion/blob/master/netcam_rtsp.c#L441-L461
>
> It shows how the options are set and things. This has changed a good deal
> since the initial implementation, but it's still basically doing the same
> thing. I'm happy to see that this project hasn't stagnated.
>
> On Fri, Mar 4, 2016 at 3:55 PM John Baker <[email protected]> wrote:
>
> > Err, suddenly ffmpeg has started working:
> >
> > ffmpeg -i rtsp://user:[email protected]:554/videoMain -r 30 -an -t 900
> > out.mp4
> >
> > But I see a lot of:
> >
> > Invalid UE golomb code
> >
> > These Foscam C1 cameras are a bit weird..
> >
> > I don't think they use TCP/UDP:
> >
> > [libx264 @ 0x55c85c10] using cpu capabilities: none!
> > [libx264 @ 0x55c85c10] profile High, level 3.1
> > [libx264 @ 0x55c85c10] 264 - core 148 r2579 73ae2d1 - H.264/MPEG-4 AVC
> > codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html -
> > options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
> > psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
> > 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
> > lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
> > bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> > b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
> > keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
> > mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
> > aq=1:1.00
> > Output #0, mp4, to out.mp4
> > Metadata:
> > title : videoMain
> > encoder : Lavf56.40.101
> > Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021),
> > yuv420p, 1280x720, q=-1--1, 30 fps, 15360 tbn, 30 tbc
> > Metadata:
> > encoder : Lavc56.60.100 libx264
> > Stream mapping:
> > Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
> > Press [q] to stop, [?] for help
> >
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Motion-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
------------------------------
Message: 2
Date: Sun, 06 Mar 2016 20:22:57 +0000
From: John Baker <[email protected]>
Subject: [Motion-user] mpg streams
To: [email protected]
Message-ID:
<1457295777.3637338.541180082.6df5b...@webmail.messagingengine.com>
Content-Type: text/plain
Hello
Can motion consume an mpg stream over http, ie streamed from ffserver:
<Stream drive.mpg>
Feed drive.ffm
Format mpeg
VideoCodec libx264
VideoSize 1280x720
VideoFrameRate 15
VideoBufferSize 10000
VideoBitRate 2048
VideoGopSize 12
</Stream>
Thanks
------------------------------
Message: 3
Date: Mon, 7 Mar 2016 07:01:16 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] mpg streams
To: Motion discussion list <[email protected]>
Message-ID:
<cachtdwtwvdplpw0tydpz4ejkz_7vcknxletnc8ofqmykode...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
No
On Sun, Mar 6, 2016 at 10:22 PM, John Baker <[email protected]> wrote:
> Hello
>
> Can motion consume an mpg stream over http, ie streamed from ffserver:
>
> <Stream drive.mpg>
> Feed drive.ffm
> Format mpeg
> VideoCodec libx264
> VideoSize 1280x720
> VideoFrameRate 15
> VideoBufferSize 10000
> VideoBitRate 2048
> VideoGopSize 12
> </Stream>
>
> Thanks
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Mon, 07 Mar 2016 07:53:01 +0000
From: John Baker <[email protected]>
Subject: Re: [Motion-user] core dump
To: [email protected]
Message-ID:
<1457337181.3783935.541540610.68881...@webmail.messagingengine.com>
Content-Type: text/plain
The core dump is happening when timelapse is enabled and there is any
kind of network related problem. Switch timelapse off, and it goes away.
------------------------------
Message: 5
Date: Mon, 7 Mar 2016 08:48:15 +0000
From: Colin Law <[email protected]>
Subject: Re: [Motion-user] mpg streams
To: Motion discussion list <[email protected]>
Message-ID:
<CAL=0glsdep-uup3ycfidqao-akehm5guwydpero3wtpzz8k...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On 6 March 2016 at 20:22, John Baker <[email protected]> wrote:
> Hello
>
> Can motion consume an mpg stream over http, ie streamed from ffserver:
I believe you can if you tell ffserver to make an mpjpeg stream.
Colin
>
> <Stream drive.mpg>
> Feed drive.ffm
> Format mpeg
> VideoCodec libx264
> VideoSize 1280x720
> VideoFrameRate 15
> VideoBufferSize 10000
> VideoBitRate 2048
> VideoGopSize 12
> </Stream>
>
> Thanks
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
------------------------------
Message: 6
Date: Mon, 07 Mar 2016 09:03:26 +0000
From: John Baker <[email protected]>
Subject: Re: [Motion-user] mpg streams
To: [email protected]
Message-ID:
<1457341406.3796828.541581218.7c074...@webmail.messagingengine.com>
Content-Type: text/plain
Yes, I've done that and it sort of works. But ffserver produces an
mpjpeg stream of a lower quality and with a lower fps. I can't see to
get a reliable rtsp -> mpjpeg stream conversion from ffserver.
The issue I've got is the cameras don't like two clients on the rtsp
stream, so I was trying to use ffserver to read the rtsp and generate
mpjpeg for motion and other tools.
On Mon, Mar 7, 2016, at 08:48 AM, Colin Law wrote:
> On 6 March 2016 at 20:22, John Baker <[email protected]> wrote:
> > Hello
> >
> > Can motion consume an mpg stream over http, ie streamed from ffserver:
>
> I believe you can if you tell ffserver to make an mpjpeg stream.
>
> Colin
>
> >
> > <Stream drive.mpg>
> > Feed drive.ffm
> > Format mpeg
> > VideoCodec libx264
> > VideoSize 1280x720
> > VideoFrameRate 15
> > VideoBufferSize 10000
> > VideoBitRate 2048
> > VideoGopSize 12
> > </Stream>
> >
> > Thanks
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Motion-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://makebettercode.com/inteldaal-eval
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
------------------------------
Message: 7
Date: Mon, 7 Mar 2016 09:14:58 +0000
From: Colin Law <[email protected]>
Subject: Re: [Motion-user] mpg streams
To: Motion discussion list <[email protected]>
Message-ID:
<CAL=0glufohrdxhaccxbvv3htd3t13vwxytlvsnz5r29xujv...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On 7 March 2016 at 09:03, John Baker <[email protected]> wrote:
> Yes, I've done that and it sort of works. But ffserver produces an
> mpjpeg stream of a lower quality and with a lower fps. I can't see to
> get a reliable rtsp -> mpjpeg stream conversion from ffserver.
>
> The issue I've got is the cameras don't like two clients on the rtsp
> stream, so I was trying to use ffserver to read the rtsp and generate
> mpjpeg for motion and other tools.
I have found vlc is better for such things.
Colin
>
> On Mon, Mar 7, 2016, at 08:48 AM, Colin Law wrote:
>> On 6 March 2016 at 20:22, John Baker <[email protected]> wrote:
>> > Hello
>> >
>> > Can motion consume an mpg stream over http, ie streamed from ffserver:
>>
>> I believe you can if you tell ffserver to make an mpjpeg stream.
>>
>> Colin
>>
>> >
>> > <Stream drive.mpg>
>> > Feed drive.ffm
>> > Format mpeg
>> > VideoCodec libx264
>> > VideoSize 1280x720
>> > VideoFrameRate 15
>> > VideoBufferSize 10000
>> > VideoBitRate 2048
>> > VideoGopSize 12
>> > </Stream>
>> >
>> > Thanks
>> >
>> > ------------------------------------------------------------------------------
>> > _______________________________________________
>> > Motion-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/motion-user
>> > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://makebettercode.com/inteldaal-eval
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://makebettercode.com/inteldaal-eval
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
------------------------------
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 118, Issue 3
*******************************************