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: Multiple Threads (Harlan Daneker)
   2. Re: Multiple Threads (tosiara)
   3. Re: Multiple Threads (Harlan Daneker)


----------------------------------------------------------------------

Message: 1
Date: Tue, 2 Apr 2019 10:40:52 -0400
From: Harlan Daneker <hdane...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Multiple Threads
Message-ID:
        <CAC1WkiSPmTkW75Eag4p2=CLf+T1nBM_T4ijwRXTGd=r24db...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

motion 4.1.1+git20180626-43b9c2b
use_extpipe on
extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h -framerate
%fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4

*Motion records, but when I try to view the mp4 it starts to play and locks
up.*
"Video can't be played because the file is corrupt"

I don't know enough about ffmpeg to know what to try.



On Mon, Apr 1, 2019 at 8:08 AM tosiara <tosi...@gmail.com> wrote:

> Some examples are available in the documentation:
> https://motion-project.github.io/motion_config.html#movie_extpipe
>
> On Mon, Apr 1, 2019 at 2:47 PM Harlan Daneker <hdane...@gmail.com> wrote:
> >
> > Right now I'm using:
> > ffmpeg_video_codec mp4
> > Could you give me an example of what to put after extpipe to use the
> same codec?
> >
> >
> > On Mon, Apr 1, 2019 at 4:41 AM tosiara <tosi...@gmail.com> wrote:
> >>
> >> When I last tested, motion performed encoding on a single thread.
> >> Don't know if anything has changed
> >> What is the problem with extpipe?
> >>
> >> On Fri, Mar 29, 2019 at 9:57 PM Harlan Daneker <hdane...@gmail.com>
> wrote:
> >> >
> >> > I have a mix of analog and rtsp cameras, 7 total. I'm using motion
> 4.1.1 compiled on Fedora 29. Will the newer versions of motion use multiple
> threads by default? I've tried to set up external pipe in the past, but
> I've never been able to get it to work. I'm not sure how to tell if it is
> using multiple threads.
> >> >
> >> > Thanks,
> >> > Harlan
> >> > _______________________________________________
> >> > 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
> >>
> >>
> >> _______________________________________________
> >> 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
> >
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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...

------------------------------

Message: 2
Date: Tue, 2 Apr 2019 17:51:39 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Multiple Threads
Message-ID:
        <CACHTdwSmG5xz2OGrt8VQuB_Qygj2knCGP==ftn_waorvcxa...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Please upload a test file somewhere and provide the full corresponding
motion log file with -d 7 switch

On Tue, Apr 2, 2019 at 5:41 PM Harlan Daneker <hdane...@gmail.com> wrote:
>
> motion 4.1.1+git20180626-43b9c2b
> use_extpipe on
> extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h -framerate 
> %fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4
>
> Motion records, but when I try to view the mp4 it starts to play and locks up.
> "Video can't be played because the file is corrupt"
>
> I don't know enough about ffmpeg to know what to try.
>
>
>
> On Mon, Apr 1, 2019 at 8:08 AM tosiara <tosi...@gmail.com> wrote:
>>
>> Some examples are available in the documentation:
>> https://motion-project.github.io/motion_config.html#movie_extpipe
>>
>> On Mon, Apr 1, 2019 at 2:47 PM Harlan Daneker <hdane...@gmail.com> wrote:
>> >
>> > Right now I'm using:
>> > ffmpeg_video_codec mp4
>> > Could you give me an example of what to put after extpipe to use the same 
>> > codec?
>> >
>> >
>> > On Mon, Apr 1, 2019 at 4:41 AM tosiara <tosi...@gmail.com> wrote:
>> >>
>> >> When I last tested, motion performed encoding on a single thread.
>> >> Don't know if anything has changed
>> >> What is the problem with extpipe?
>> >>
>> >> On Fri, Mar 29, 2019 at 9:57 PM Harlan Daneker <hdane...@gmail.com> wrote:
>> >> >
>> >> > I have a mix of analog and rtsp cameras, 7 total. I'm using motion 
>> >> > 4.1.1 compiled on Fedora 29. Will the newer versions of motion use 
>> >> > multiple threads by default? I've tried to set up external pipe in the 
>> >> > past, but I've never been able to get it to work. I'm not sure how to 
>> >> > tell if it is using multiple threads.
>> >> >
>> >> > Thanks,
>> >> > Harlan
>> >> > _______________________________________________
>> >> > 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
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>> > _______________________________________________
>> > 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
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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



------------------------------

Message: 3
Date: Tue, 2 Apr 2019 10:52:32 -0400
From: Harlan Daneker <hdane...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Multiple Threads
Message-ID:
        <CAC1WkiStizEF=p12e0sj8eg-qmzvwgtw6gn8pbnu5r3-ao_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I was using an analog camera to test. I changed yuv420p to yuv420 and it
seems to work.

Thanks

On Tue, Apr 2, 2019 at 10:40 AM Harlan Daneker <hdane...@gmail.com> wrote:

> motion 4.1.1+git20180626-43b9c2b
> use_extpipe on
> extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h
> -framerate %fps -i pipe:0 -vcodec libx264 -preset ultrafast -f mp4 %f.mp4
>
> *Motion records, but when I try to view the mp4 it starts to play and
> locks up.*
> "Video can't be played because the file is corrupt"
>
> I don't know enough about ffmpeg to know what to try.
>
>
>
> On Mon, Apr 1, 2019 at 8:08 AM tosiara <tosi...@gmail.com> wrote:
>
>> Some examples are available in the documentation:
>> https://motion-project.github.io/motion_config.html#movie_extpipe
>>
>> On Mon, Apr 1, 2019 at 2:47 PM Harlan Daneker <hdane...@gmail.com> wrote:
>> >
>> > Right now I'm using:
>> > ffmpeg_video_codec mp4
>> > Could you give me an example of what to put after extpipe to use the
>> same codec?
>> >
>> >
>> > On Mon, Apr 1, 2019 at 4:41 AM tosiara <tosi...@gmail.com> wrote:
>> >>
>> >> When I last tested, motion performed encoding on a single thread.
>> >> Don't know if anything has changed
>> >> What is the problem with extpipe?
>> >>
>> >> On Fri, Mar 29, 2019 at 9:57 PM Harlan Daneker <hdane...@gmail.com>
>> wrote:
>> >> >
>> >> > I have a mix of analog and rtsp cameras, 7 total. I'm using motion
>> 4.1.1 compiled on Fedora 29. Will the newer versions of motion use multiple
>> threads by default? I've tried to set up external pipe in the past, but
>> I've never been able to get it to work. I'm not sure how to tell if it is
>> using multiple threads.
>> >> >
>> >> > Thanks,
>> >> > Harlan
>> >> > _______________________________________________
>> >> > 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
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>> > _______________________________________________
>> > 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
>>
>>
>> _______________________________________________
>> 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...

------------------------------



------------------------------

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 154, Issue 5
*******************************************

Reply via email to