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: Variable Bit Rate and importing into video editting apps
      (Dougie Nisbet)
   2. Re: Variable Bit Rate and importing into video editting apps
      (Harlan Daneker)
   3. Re: Variable Bit Rate and importing into video editting apps
      (Harlan Daneker)
   4. Re: Variable Bit Rate and importing into video editting apps
      (Dougie Nisbet)


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

Message: 1
Date: Mon, 08 Jan 2024 13:32:01 +0000
From: Dougie Nisbet <dou...@katsura.uk>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Variable Bit Rate and importing into video
        editting apps
Message-ID:
        <317d51ee5c7580fd15238e2e394d61b406686034.ca...@katsura.uk>
Content-Type: text/plain; charset="UTF-8"

On Sun, 2024-01-07 at 18:00 -0500, Harlan Daneker wrote:
> I'm certainly not an expert on this subject, but ffmpeg from the
> command line can do a lot depending on what you want to do.
> 

ffmpeg was my preference as it's a command line tool and good for
scripting, but I didn't have a lot of success. Initially I tried using
it to concatenate a day's worth of clips, but there were problems
there. And after a lot of web searches I haven't managed to find any
recipes for converting vbr to cbr.

I've gone back to vbr for the moment as the file sizes are a lot
smaller! My latest experiment has been to read a day's worth of clips
into shotcut, ignore its warnings about vbr, then re-export as a single
mp4 file. That can then be re-imported into shotcut and looks quite
promising.

Dougie



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

Message: 2
Date: Mon, 8 Jan 2024 09:33:30 -0500
From: Harlan Daneker <hdane...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Variable Bit Rate and importing into video
        editting apps
Message-ID:
        <cac1wkis_8yg3k6georg2jnewc9fr0dk29mf1tutxrns20_o...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

https://trac.ffmpeg.org/wiki/Concatenate
I just did this and it worked. The mp4's must be in a file with the full
path. Script examples are shown.

ffmpeg -f concat -safe 0 -i list.txt -c:v copy -c:a copy new_video.mp4



list.txt
file '../04:53.mp4'
file '../05:02.mp4'
file '../05:48.mp4'
file '../05:49.mp4'
file '../05:52.mp4'
file '../06:05.mp4'
file '../06:27.mp4'


On Mon, Jan 8, 2024 at 8:33?AM Dougie Nisbet <dou...@katsura.uk> wrote:

> On Sun, 2024-01-07 at 18:00 -0500, Harlan Daneker wrote:
> > I'm certainly not an expert on this subject, but ffmpeg from the
> > command line can do a lot depending on what you want to do.
> >
>
> ffmpeg was my preference as it's a command line tool and good for
> scripting, but I didn't have a lot of success. Initially I tried using
> it to concatenate a day's worth of clips, but there were problems
> there. And after a lot of web searches I haven't managed to find any
> recipes for converting vbr to cbr.
>
> I've gone back to vbr for the moment as the file sizes are a lot
> smaller! My latest experiment has been to read a day's worth of clips
> into shotcut, ignore its warnings about vbr, then re-export as a single
> mp4 file. That can then be re-imported into shotcut and looks quite
> promising.
>
> Dougie
>
>
> _______________________________________________
> 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: 3
Date: Mon, 8 Jan 2024 10:04:10 -0500
From: Harlan Daneker <hdane...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Variable Bit Rate and importing into video
        editting apps
Message-ID:
        <cac1wkiq+zcgtqxrxoijw-rp_kj7xjfxjx9betnzgd_ztt-2...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

mplayer *   will play all the videos in a directory in order if they use
timestamps for their names.

On Mon, Jan 8, 2024 at 9:33?AM Harlan Daneker <hdane...@gmail.com> wrote:

> https://trac.ffmpeg.org/wiki/Concatenate
> I just did this and it worked. The mp4's must be in a file with the full
> path. Script examples are shown.
>
> ffmpeg -f concat -safe 0 -i list.txt -c:v copy -c:a copy new_video.mp4
>
>
>
> list.txt
> file '../04:53.mp4'
> file '../05:02.mp4'
> file '../05:48.mp4'
> file '../05:49.mp4'
> file '../05:52.mp4'
> file '../06:05.mp4'
> file '../06:27.mp4'
>
>
> On Mon, Jan 8, 2024 at 8:33?AM Dougie Nisbet <dou...@katsura.uk> wrote:
>
>> On Sun, 2024-01-07 at 18:00 -0500, Harlan Daneker wrote:
>> > I'm certainly not an expert on this subject, but ffmpeg from the
>> > command line can do a lot depending on what you want to do.
>> >
>>
>> ffmpeg was my preference as it's a command line tool and good for
>> scripting, but I didn't have a lot of success. Initially I tried using
>> it to concatenate a day's worth of clips, but there were problems
>> there. And after a lot of web searches I haven't managed to find any
>> recipes for converting vbr to cbr.
>>
>> I've gone back to vbr for the moment as the file sizes are a lot
>> smaller! My latest experiment has been to read a day's worth of clips
>> into shotcut, ignore its warnings about vbr, then re-export as a single
>> mp4 file. That can then be re-imported into shotcut and looks quite
>> promising.
>>
>> Dougie
>>
>>
>> _______________________________________________
>> 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: 4
Date: Mon, 08 Jan 2024 16:36:04 +0000
From: Dougie Nisbet <dou...@katsura.uk>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Variable Bit Rate and importing into video
        editting apps
Message-ID:
        <c775e023cf38a823a4dbe1f29713d85b95234818.ca...@katsura.uk>
Content-Type: text/plain; charset="UTF-8"

On Mon, 2024-01-08 at 09:33 -0500, Harlan Daneker wrote:
> https://trac.ffmpeg.org/wiki/Concatenate
> I just did this and it worked. The mp4's must be in a file with the
> full path. Script examples are shown.
> 
> ffmpeg -f concat -safe 0 -i list.txt -c:v copy -c:a copy
> new_video.mp4
> 
> 
> 
> list.txt
> file '../04:53.mp4'
> file '../05:02.mp4'
> file '../05:48.mp4'
> file '../05:49.mp4'
> file '../05:52.mp4'
> file '../06:05.mp4'
> file '../06:27.mp4'
> 

I've tried something similar and initially it looks like it's worked
but then when I play the concatenated video and skip forward I soon hit
problems. Usually frozen screen that sometimes restarts.

Here's what should be a 30 second extract from a 40 minute file,
starting around 16 minutes from the beginning.


https://www.dropbox.com/scl/fi/9pwrdfx2aoutrrudcwbmh/pi2_30sec_extract.mp4?rlkey=ws2v5oo1s1er6n03bha12r05x&dl=0

I think what I need to do is re-encode the files but all the ffmpeg
examples I've found are either for simple concatenation or re-encoding
specific files on the command line. I haven't seen a way that allows a
list of files to be read from a file. I've tried using mencoder too and
that doesn't work well either.

The shotcut method is ok but it requires firing up the GUI. It'd be
interesting to have a command line method that could be left to run.
Not too worried about it taking a long time.

Dougie





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



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

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

Reply via email to