Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"You'll pay to know what you really think." -- J. R. "Bob" Dobbs


computers / comp.os.linux.misc / Re: Simple (to use) video rotater?

SubjectAuthor
* Simple (to use) video rotater?pH
+* Re: Simple (to use) video rotater?Computer Nerd Kev
|+* Re: Simple (to use) video rotater?Andreas Kohlbach
||+- Re: Simple (to use) video rotater?pH
||+* Re: Simple (to use) video rotater?Carlos E.R.
|||+- Re: Simple (to use) video rotater?Andreas Kohlbach
|||`* Re: Simple (to use) video rotater?Rich
||| `- Re: Simple (to use) video rotater?Carlos E.R.
||`* Re: Simple (to use) video rotater?Computer Nerd Kev
|| `- Re: Simple (to use) video rotater?Andreas Kohlbach
|`- Re: Simple (to use) video rotater?pH
+* Re: Simple (to use) video rotater?stepore
|+- Re: Simple (to use) video rotater?pH
|`* Re: Simple (to use) video rotater?Andreas Kohlbach
| `* Re: Simple (to use) video rotater?stepore
|  +- Re: Simple (to use) video rotater?Andreas Kohlbach
|  `- Re: Simple (to use) video rotater?pH
`* Re: Simple (to use) video rotater?hexagonwin
 `- Re: Simple (to use) video rotater?pH

1
Simple (to use) video rotater?

<tgip7d$2ancq$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8345&group=comp.os.linux.misc#8345

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Simple (to use) video rotater?
Date: Thu, 22 Sep 2022 22:56:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tgip7d$2ancq$3@dont-email.me>
Injection-Date: Thu, 22 Sep 2022 22:56:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5493069129faeccfef97c5c602518936";
logging-data="2448794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZeHMZM6ORXQyO6+2DIGIZiU6kCtdhaAE="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:jrtZnvO9HV30/oOq0+PvC6EmMt0=
 by: pH - Thu, 22 Sep 2022 22:56 UTC

My daughter sent me some videos via her iphone. Some of them are sideways
so I want to rotate them and save them in the rotated format rather than
toggle the playback every time.

I've seen that mPlayer can rotate playback, but not store.

I see that VLC *can* rotate and store the videos...so this looks like the
tool to use.
There are instructions on how to do this on the internet...but it seems a
bit tedious (whine whine).

Before I dive into it, does anyone know a a simple-to-use rotational tool
along the lines of "twist -90degrees infile outfile"?

This is not a major issue, I just know that Linux usually has 20 ways to
skin any particular cat.

Pureheart in Aptos

Re: Simple (to use) video rotater?

<632cf00e@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8346&group=comp.os.linux.misc#8346

  copy link   Newsgroups: comp.os.linux.misc
Message-ID: <632cf00e@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Simple (to use) video rotater?
Newsgroups: comp.os.linux.misc
References: <tgip7d$2ancq$3@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 23 Sep 2022 09:30:22 +1000
Organization: Ausics - https://www.ausics.net
Lines: 19
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Thu, 22 Sep 2022 23:30 UTC

pH <wNOSPAMp@gmail.org> wrote:
> My daughter sent me some videos via her iphone. Some of them are sideways
> so I want to rotate them and save them in the rotated format rather than
> toggle the playback every time.
> [snip]
> Before I dive into it, does anyone know a a simple-to-use rotational tool
> along the lines of "twist -90degrees infile outfile"?

My exact instructions for dealing with your exact problem are on
another computer, but rotation is done with ffmpeg using:
ffmpeg [arguments] -vf "transpose=[number]" [output]

Where a web search brings up [number] being:
"1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
Vertical Flip, "transpose=2,transpose=2" for 180 degrees".

--
__ __
#_ < |\| |< _#

Re: Simple (to use) video rotater?

<tgj5fr$2eh47$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8347&group=comp.os.linux.misc#8347

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: step...@be.here.now (stepore)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Thu, 22 Sep 2022 19:26:02 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <tgj5fr$2eh47$1@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 Sep 2022 02:26:03 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8741dbc835fcab561eb4de101f135c21";
logging-data="2573447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WWihiH568GZbBz9+XexX8"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:ecv8Xt1up8kS1vDWoIUS7Iie9Dc=
In-Reply-To: <tgip7d$2ancq$3@dont-email.me>
Content-Language: en-US
 by: stepore - Fri, 23 Sep 2022 02:26 UTC

On 9/22/22 15:56, pH wrote:
> My daughter sent me some videos via her iphone. Some of them are sideways
> so I want to rotate them and save them in the rotated format rather than
> toggle the playback every time.

I second ffmpeg, it'll do anything.

If you want a GUI then avidemux has tons of these simple video (rotate,
crop, etc) features.

Re: Simple (to use) video rotater?

<87illedltr.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8348&group=comp.os.linux.misc#8348

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 13:47:44 -0400
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <87illedltr.fsf@usenet.ankman.de>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="80596b80e6fc314a6f3ce1f89de96aee";
logging-data="2739089"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1917ubTHcyHVfoRZ3JMBY+q"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:9AIxl6YyiXkt5Zwr6MxrwXsFt6E=
sha1:HTAu0z4AjH8hHj3jLLx9H1NsgbI=
 by: Andreas Kohlbach - Fri, 23 Sep 2022 17:47 UTC

On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>
> pH <wNOSPAMp@gmail.org> wrote:
>> My daughter sent me some videos via her iphone. Some of them are sideways
>> so I want to rotate them and save them in the rotated format rather than
>> toggle the playback every time.
>> [snip]
>> Before I dive into it, does anyone know a a simple-to-use rotational tool
>> along the lines of "twist -90degrees infile outfile"?
>
> My exact instructions for dealing with your exact problem are on
> another computer, but rotation is done with ffmpeg using:
> ffmpeg [arguments] -vf "transpose=[number]" [output]
>
> Where a web search brings up [number] being:
> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".

But that will re-encode it with loss of quality, no? Because "-vf"
implies "video filter", which alters the video data.

For meta data found

ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4

to just tells the video player about the orientation. Player (and the video
format) must support that. That should take a split second per video, as
its data are not altered.

Numbers (where the above command has a "0" for not rotating) are as in
Computer Nerd Kev's example ("1" = rotate clockwise by 90 degrees...).

I also found that in the internet. Not tested myself.
--
Andreas

Re: Simple (to use) video rotater?

<tgkrtp$2jls7$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8349&group=comp.os.linux.misc#8349

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 17:55:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tgkrtp$2jls7$1@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
Injection-Date: Fri, 23 Sep 2022 17:55:05 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5493069129faeccfef97c5c602518936";
logging-data="2742151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185l/8GoA7Zk+X58KCGoUM0Dfss3eo/H4g="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:NZmY+kPrh4eav3K5W89XcoY/QmE=
 by: pH - Fri, 23 Sep 2022 17:55 UTC

On 2022-09-22, Computer Nerd Kev <not@telling.you.invalid> wrote:
> pH <wNOSPAMp@gmail.org> wrote:
>> My daughter sent me some videos via her iphone. Some of them are sideways
>> so I want to rotate them and save them in the rotated format rather than
>> toggle the playback every time.
>> [snip]
>> Before I dive into it, does anyone know a a simple-to-use rotational tool
>> along the lines of "twist -90degrees infile outfile"?
>
> My exact instructions for dealing with your exact problem are on
> another computer, but rotation is done with ffmpeg using:
> ffmpeg [arguments] -vf "transpose=[number]" [output]
>
> Where a web search brings up [number] being:
> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>

Ahh! Thank-you. I'll have a look at this before I dive in...it's only a few
videos, thankfully.

Now if I can just remember this tool in the future...better keep notes.

pH in Aptos

Re: Simple (to use) video rotater?

<tgks1h$2jls7$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8350&group=comp.os.linux.misc#8350

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 17:57:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <tgks1h$2jls7$2@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
<87illedltr.fsf@usenet.ankman.de>
Injection-Date: Fri, 23 Sep 2022 17:57:05 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5493069129faeccfef97c5c602518936";
logging-data="2742151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uQ7fZVda2QmABotYDcxDzRWuvstyH0T0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:SN8ZdjtSvp6isd1eA/KFCYkpbzM=
 by: pH - Fri, 23 Sep 2022 17:57 UTC

On 2022-09-23, Andreas Kohlbach <ank@spamfence.net> wrote:
> On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>>
>> pH <wNOSPAMp@gmail.org> wrote:
>>> My daughter sent me some videos via her iphone. Some of them are sideways
>>> so I want to rotate them and save them in the rotated format rather than
>>> toggle the playback every time.
>>> [snip]
>>> Before I dive into it, does anyone know a a simple-to-use rotational tool
>>> along the lines of "twist -90degrees infile outfile"?
>>
>> My exact instructions for dealing with your exact problem are on
>> another computer, but rotation is done with ffmpeg using:
>> ffmpeg [arguments] -vf "transpose=[number]" [output]
>>
>> Where a web search brings up [number] being:
>> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
>> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>
> But that will re-encode it with loss of quality, no? Because "-vf"
> implies "video filter", which alters the video data.
>
> For meta data found
>
> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4
>
> to just tells the video player about the orientation. Player (and the video
> format) must support that. That should take a split second per video, as
> its data are not altered.
>
> Numbers (where the above command has a "0" for not rotating) are as in
> Computer Nerd Kev's example ("1" = rotate clockwise by 90 degrees...).
>
> I also found that in the internet. Not tested myself.

Looking like ffmpeg is the one. Also thank-you.

pH

Re: Simple (to use) video rotater?

<tgks4f$2jls7$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8351&group=comp.os.linux.misc#8351

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 17:58:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tgks4f$2jls7$3@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <tgj5fr$2eh47$1@dont-email.me>
Injection-Date: Fri, 23 Sep 2022 17:58:40 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5493069129faeccfef97c5c602518936";
logging-data="2742151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FCykZ3XuOiAm0aE6nMp0O1rUH3UL/C1A="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:hr9macan2BNs9XDDF8Wkh7AwJxY=
 by: pH - Fri, 23 Sep 2022 17:58 UTC

On 2022-09-23, stepore <stepore@be.here.now> wrote:
> On 9/22/22 15:56, pH wrote:
>> My daughter sent me some videos via her iphone. Some of them are sideways
>> so I want to rotate them and save them in the rotated format rather than
>> toggle the playback every time.
>
> I second ffmpeg, it'll do anything.
>
> If you want a GUI then avidemux has tons of these simple video (rotate,
> crop, etc) features.

Having come from CP/M back in the beginning of time, I kind of like the
command line when I can. Thanks for the tip that a gui exists that may do
the trick, too, though.

pH

Re: Simple (to use) video rotater?

<87fsgidl5r.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8352&group=comp.os.linux.misc#8352

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 14:02:08 -0400
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <87fsgidl5r.fsf@usenet.ankman.de>
References: <tgip7d$2ancq$3@dont-email.me> <tgj5fr$2eh47$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="80596b80e6fc314a6f3ce1f89de96aee";
logging-data="2739089"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18D5WBbc0QFRWRy8CzMhqiV"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:YH9j+1EIBSQaBu1FfnLsKHDOAg8=
sha1:QgJ46pXq5eAw8RDaSLp/7TSU0zY=
X-No-Archive: Yes
 by: Andreas Kohlbach - Fri, 23 Sep 2022 18:02 UTC

On Thu, 22 Sep 2022 19:26:02 -0700, stepore wrote:
>
> On 9/22/22 15:56, pH wrote:
>> My daughter sent me some videos via her iphone. Some of them are sideways
>> so I want to rotate them and save them in the rotated format rather than
>> toggle the playback every time.
>
> I second ffmpeg, it'll do anything.

I "third" that. ;-)

> If you want a GUI then avidemux has tons of these simple video
> (rotate, crop, etc) features.

What package is this part of? Cannot find it in Debian. And can it deal
with "modern" formats/containers, like MP4 or MKV?
--
Andreas

Re: Simple (to use) video rotater?

<89a10j-nhj.ln1@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8353&group=comp.os.linux.misc#8353

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 20:25:12 +0200
Lines: 46
Message-ID: <89a10j-nhj.ln1@Telcontar.valinor>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
<87illedltr.fsf@usenet.ankman.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Nif5Qvgzp2WGgST/DTq6hwxh1ofYxyj7+BHJFGVKOP7U/ylJkS
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:sdo//Q5fQk7rLfQsDAhoSbYCEmw=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Content-Language: es-ES, en-CA
In-Reply-To: <87illedltr.fsf@usenet.ankman.de>
 by: Carlos E.R. - Fri, 23 Sep 2022 18:25 UTC

On 2022-09-23 19:47, Andreas Kohlbach wrote:
> On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>>
>> pH <wNOSPAMp@gmail.org> wrote:
>>> My daughter sent me some videos via her iphone. Some of them are sideways
>>> so I want to rotate them and save them in the rotated format rather than
>>> toggle the playback every time.
>>> [snip]
>>> Before I dive into it, does anyone know a a simple-to-use rotational tool
>>> along the lines of "twist -90degrees infile outfile"?
>>
>> My exact instructions for dealing with your exact problem are on
>> another computer, but rotation is done with ffmpeg using:
>> ffmpeg [arguments] -vf "transpose=[number]" [output]
>>
>> Where a web search brings up [number] being:
>> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
>> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>
> But that will re-encode it with loss of quality, no? Because "-vf"
> implies "video filter", which alters the video data.
>
> For meta data found
>
> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4
>
> to just tells the video player about the orientation. Player (and the video
> format) must support that. That should take a split second per video, as
> its data are not altered.

But is the conversion on the fly done by the player lossy, or not? I wonder.

And of course, the destination player must support this flag.

>
> Numbers (where the above command has a "0" for not rotating) are as in
> Computer Nerd Kev's example ("1" = rotate clockwise by 90 degrees...).
>
> I also found that in the internet. Not tested myself.

Interesting find, thanks.

--
Cheers, Carlos.

Re: Simple (to use) video rotater?

<87wn9tdhaa.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8354&group=comp.os.linux.misc#8354

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Supersedes: <87y1u9dhbd.fsf@usenet.ankman.de>
Date: Fri, 23 Sep 2022 15:25:49 -0400
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <87wn9tdhaa.fsf@usenet.ankman.de>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
<87illedltr.fsf@usenet.ankman.de> <89a10j-nhj.ln1@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="80596b80e6fc314a6f3ce1f89de96aee";
logging-data="2761924"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UQzzS6WBvuKbUPlPmE+iv"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Key: sha1:snPYiF/DxuPuPL+WdpZ1mf2jmos=
sha1:TOXNIPDldout+KvYAu3wOivHqWE=
Cancel-Lock: sha1:8+cDMsNXcWm7J53b4yjegtmBNVY=
sha1:7DSZm6KeDXqGotsRtJuC6RRhtNg=
X-No-Archive: Yes
 by: Andreas Kohlbach - Fri, 23 Sep 2022 19:25 UTC

On Fri, 23 Sep 2022 20:25:12 +0200, Carlos E.R. wrote:
>
> On 2022-09-23 19:47, Andreas Kohlbach wrote:
>> On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>>>
>>> My exact instructions for dealing with your exact problem are on
>>> another computer, but rotation is done with ffmpeg using:
>>> ffmpeg [arguments] -vf "transpose=[number]" [output]
>>>
>>> Where a web search brings up [number] being:
>>> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
>>> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>> But that will re-encode it with loss of quality, no? Because "-vf"
>> implies "video filter", which alters the video data.
>> For meta data found
>> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy
>> outfile.mp4
>> to just tells the video player about the orientation. Player (and
>> the video
>> format) must support that. That should take a split second per video, as
>> its data are not altered.
>
> But is the conversion on the fly done by the player lossy, or not? I wonder.

Me too. Should be lossless, as you could just place existing data to a
different location. Dunno, if you lose data on ffmpeg's "normal"
conversion.

But for my knowledge the "-codec copy" *video and audio in this case)
only does it without re-encoding.

> And of course, the destination player must support this flag.

As I mentioned...

Suppose any player not older than 15 years can do this. May be not a
player from 1998.
--
Andreas

Re: Simple (to use) video rotater?

<tgl804$2m3he$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8355&group=comp.os.linux.misc#8355

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 21:21:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <tgl804$2m3he$1@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net> <87illedltr.fsf@usenet.ankman.de> <89a10j-nhj.ln1@Telcontar.valinor>
Injection-Date: Fri, 23 Sep 2022 21:21:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="532d31141d113c818f27190cb5fcca68";
logging-data="2821678"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SxNOKE/zsFR6A7mJPEBKB"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:BWjj0F5oCFq0h4Y8XBO0N0/USCg=
 by: Rich - Fri, 23 Sep 2022 21:21 UTC

Carlos E.R. <robin_listas@es.invalid> wrote:
> On 2022-09-23 19:47, Andreas Kohlbach wrote:
>> On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>>>
>>> pH <wNOSPAMp@gmail.org> wrote:
>>>> My daughter sent me some videos via her iphone. Some of them are
>>>> sideways so I want to rotate them and save them in the rotated
>>>> format rather than toggle the playback every time.
>>>> [snip]
>>>> Before I dive into it, does anyone know a a simple-to-use
>>>> rotational tool along the lines of "twist -90degrees infile
>>>> outfile"?
>>>
>>> My exact instructions for dealing with your exact problem are on
>>> another computer, but rotation is done with ffmpeg using:
>>> ffmpeg [arguments] -vf "transpose=[number]" [output]
>>>
>>> Where a web search brings up [number] being:
>>> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
>>> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>>
>> But that will re-encode it with loss of quality, no? Because "-vf"
>> implies "video filter", which alters the video data.
>>
>> For meta data found
>>
>> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4
>>
>> to just tells the video player about the orientation. Player (and
>> the video format) must support that. That should take a split
>> second per video, as its data are not altered.
>
> But is the conversion on the fly done by the player lossy, or not? I
> wonder.

On the player, unlikely, as a 90 degree rotation (without any
recompression) is a lossless transformation (no need to resample any
pixels, just move them to different 'grid' locations in display
memory).

> And of course, the destination player must support this flag.

This is always the case. And since pH says the originals came from an
iPhone, that implies the 'orientation' metadata may already be set, and
the fact that pH has them playing back sideways implies that pH's
player does not support the orientation flag.

Re: Simple (to use) video rotater?

<632e3c14@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8356&group=comp.os.linux.misc#8356

  copy link   Newsgroups: comp.os.linux.misc
Message-ID: <632e3c14@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Simple (to use) video rotater?
Newsgroups: comp.os.linux.misc
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net> <87illedltr.fsf@usenet.ankman.de>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 24 Sep 2022 09:07:01 +1000
Organization: Ausics - https://www.ausics.net
Lines: 32
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!weretis.net!feeder6.news.weretis.net!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Fri, 23 Sep 2022 23:07 UTC

Andreas Kohlbach <ank@spamfence.net> wrote:
> On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>> My exact instructions for dealing with your exact problem are on
>> another computer, but rotation is done with ffmpeg using:
>> ffmpeg [arguments] -vf "transpose=[number]" [output]
>>
>> Where a web search brings up [number] being:
>> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
>> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>
> But that will re-encode it with loss of quality, no? Because "-vf"
> implies "video filter", which alters the video data.

Yes I expect so. I always convert videos into MPEG4 AVIs and
often reduce the resolution as well. So it doesn't matter for me
unless the video is already MPEG4 and a sensible resolution, which
doesn't happen anymore.

> For meta data found
>
> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4
>
> to just tells the video player about the orientation. Player (and the video
> format) must support that. That should take a split second per video, as
> its data are not altered.

Interesting. Sounds like it's specific to particular container
formats though.

--
__ __
#_ < |\| |< _#

Re: Simple (to use) video rotater?

<87o7v5cv98.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8357&group=comp.os.linux.misc#8357

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 23:21:39 -0400
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <87o7v5cv98.fsf@usenet.ankman.de>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
<87illedltr.fsf@usenet.ankman.de> <632e3c14@news.ausics.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="ab0302764536238f037f29dac22f5ab3";
logging-data="3040077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/r8XheG8cegs08lGXz/f25"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:RGgYbekmrFJ/gZr7RKcdyKFjyMQ=
sha1:JtwFqvZIfYUqYL7TPcwfiKLXIZk=
X-No-Archive: Yes
 by: Andreas Kohlbach - Sat, 24 Sep 2022 03:21 UTC

On 24 Sep 2022 09:07:01 +1000, Computer Nerd Kev wrote:
>
> Andreas Kohlbach <ank@spamfence.net> wrote:
>
>> For meta data found
>>
>> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4
>>
>> to just tells the video player about the orientation. Player (and the video
>> format) must support that. That should take a split second per video, as
>> its data are not altered.
>
> Interesting. Sounds like it's specific to particular container
> formats though.

I would think so. Every container might handle it different
internally. But ffmpeg knows the inner workings and applies '-metadata:s:v
rotate="1"' accordingly.
--
Andreas

Re: Simple (to use) video rotater?

<tgm6ij$2trpc$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8358&group=comp.os.linux.misc#8358

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: step...@be.here.now (stepore)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Fri, 23 Sep 2022 23:02:56 -0700
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <tgm6ij$2trpc$1@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <tgj5fr$2eh47$1@dont-email.me>
<87fsgidl5r.fsf@usenet.ankman.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Sep 2022 06:02:59 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f43b5b90e140ab68469926e5798d392f";
logging-data="3075884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sbj9Nx8Qm8h5O1aheJu91"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:aRFfswfUyDE6t3ssY5XVmzGnc24=
In-Reply-To: <87fsgidl5r.fsf@usenet.ankman.de>
Content-Language: en-US
 by: stepore - Sat, 24 Sep 2022 06:02 UTC

On 9/23/22 11:02, Andreas Kohlbach wrote:

> What package is this part of? Cannot find it in Debian. And can it deal

It's in the Christian Marillat deb-multimedia repos:
www.deb-multimedia.org

package list for bullseye:
http://www.deb-multimedia.org/dists/stable/main/binary-amd64/

also available as an appImage.

> with "modern" formats/containers, like MP4 or MKV?

Yes, of course.
I've used it for many many years. It's a simple video editor. It's great.

Re: Simple (to use) video rotater?

<gs730j-ddr.ln1@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8359&group=comp.os.linux.misc#8359

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Sat, 24 Sep 2022 13:56:32 +0200
Lines: 60
Message-ID: <gs730j-ddr.ln1@Telcontar.valinor>
References: <tgip7d$2ancq$3@dont-email.me> <632cf00e@news.ausics.net>
<87illedltr.fsf@usenet.ankman.de> <89a10j-nhj.ln1@Telcontar.valinor>
<tgl804$2m3he$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net BdtGfM7GRFL2dYfQ1UaYpAgV8ca/QjmEvDkfIE70zTABhKI4pa
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:On7xEXOw81zPbdpNpkNFMrnKt/Q=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Content-Language: es-ES, en-CA
In-Reply-To: <tgl804$2m3he$1@dont-email.me>
 by: Carlos E.R. - Sat, 24 Sep 2022 11:56 UTC

On 2022-09-23 23:21, Rich wrote:
> Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 2022-09-23 19:47, Andreas Kohlbach wrote:
>>> On 23 Sep 2022 09:30:22 +1000, Computer Nerd Kev wrote:
>>>>
>>>> pH <wNOSPAMp@gmail.org> wrote:
>>>>> My daughter sent me some videos via her iphone. Some of them are
>>>>> sideways so I want to rotate them and save them in the rotated
>>>>> format rather than toggle the playback every time.
>>>>> [snip]
>>>>> Before I dive into it, does anyone know a a simple-to-use
>>>>> rotational tool along the lines of "twist -90degrees infile
>>>>> outfile"?
>>>>
>>>> My exact instructions for dealing with your exact problem are on
>>>> another computer, but rotation is done with ffmpeg using:
>>>> ffmpeg [arguments] -vf "transpose=[number]" [output]
>>>>
>>>> Where a web search brings up [number] being:
>>>> "1 = 90Clockwise, 2 = 90CounterClockwise, 3 = 90Clockwise and
>>>> Vertical Flip, "transpose=2,transpose=2" for 180 degrees".
>>>
>>> But that will re-encode it with loss of quality, no? Because "-vf"
>>> implies "video filter", which alters the video data.
>>>
>>> For meta data found
>>>
>>> ffmpeg -i original_file.mp4 -metadata:s:v rotate="1" -c copy outfile.mp4
>>>
>>> to just tells the video player about the orientation. Player (and
>>> the video format) must support that. That should take a split
>>> second per video, as its data are not altered.
>>
>> But is the conversion on the fly done by the player lossy, or not? I
>> wonder.
>
> On the player, unlikely, as a 90 degree rotation (without any
> recompression) is a lossless transformation (no need to resample any
> pixels, just move them to different 'grid' locations in display
> memory).

Right.

>
>> And of course, the destination player must support this flag.
>
> This is always the case. And since pH says the originals came from an
> iPhone, that implies the 'orientation' metadata may already be set, and
> the fact that pH has them playing back sideways implies that pH's
> player does not support the orientation flag.

Right.

vlc does, AFAIR.

--
Cheers, Carlos.

Re: Simple (to use) video rotater?

<tgnaci$310g9$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8360&group=comp.os.linux.misc#8360

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hexagonw...@disroot.org (hexagonwin)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Sun, 25 Sep 2022 01:14:02 +0900
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tgnaci$310g9$1@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Sep 2022 16:14:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9cffa9bb5c80092682c15af169b3d413";
logging-data="3179017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BULFcQNwZf7Xz/Cf5+Kn0KZnqFNwXNu0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.13
Cancel-Lock: sha1:CoFKE+o03xH/uxIQlD+SDNmH1gw=
In-Reply-To: <tgip7d$2ancq$3@dont-email.me>
 by: hexagonwin - Sat, 24 Sep 2022 16:14 UTC

pH wrote:
> My daughter sent me some videos via her iphone. Some of them are sideways
> so I want to rotate them and save them in the rotated format rather than
> toggle the playback every time.
>
> I've seen that mPlayer can rotate playback, but not store.
>
> I see that VLC *can* rotate and store the videos...so this looks like the
> tool to use.
> There are instructions on how to do this on the internet...but it seems a
> bit tedious (whine whine).
>
> Before I dive into it, does anyone know a a simple-to-use rotational tool
> along the lines of "twist -90degrees infile outfile"?
>
> This is not a major issue, I just know that Linux usually has 20 ways to
> skin any particular cat.
>
> Pureheart in Aptos
>
Hello.

I searched the internet for the matter, and it seems like ffmpeg has the
function to do what you need.

$ ffmpeg -i input.mp4 -vf "transpose=1" -c copy output.mp4
## transpose=1 : rotate by 90 degrees clockwise
## transpose=2 : rotate by 90 degrees counterclockwise

Hope this helps.
-Hexagonwin

Re: Simple (to use) video rotater?

<87y1u8bj1l.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8361&group=comp.os.linux.misc#8361

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Sat, 24 Sep 2022 16:43:02 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <87y1u8bj1l.fsf@usenet.ankman.de>
References: <tgip7d$2ancq$3@dont-email.me> <tgj5fr$2eh47$1@dont-email.me>
<87fsgidl5r.fsf@usenet.ankman.de> <tgm6ij$2trpc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="ab0302764536238f037f29dac22f5ab3";
logging-data="3222484"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Z5zwxK4k0UMx/avt3+Nh5"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:FYKDn20ZL+FUR8pmKuCtISDKC38=
sha1:awvZYefgjo5Fqr9S2eYh+Sn1TVA=
X-No-Archive: Yes
 by: Andreas Kohlbach - Sat, 24 Sep 2022 20:43 UTC

On Fri, 23 Sep 2022 23:02:56 -0700, stepore wrote:
>
> On 9/23/22 11:02, Andreas Kohlbach wrote:
>
>> What package is this part of? Cannot find it in Debian. And can it deal
>
> It's in the Christian Marillat deb-multimedia repos:
> www.deb-multimedia.org
>
> package list for bullseye:
> http://www.deb-multimedia.org/dists/stable/main/binary-amd64/

Thanks. I might add it. Need to find a key too then I suppose.

> also available as an appImage.

Dunno what an appImage is.

>> with "modern" formats/containers, like MP4 or MKV?
>
> Yes, of course.
> I've used it for many many years. It's a simple video editor. It's great.

Used it a decade ago. I think it only could deal with avi/mpeg or so back
then.
--
Andreas

Re: Simple (to use) video rotater?

<tgo953$33n12$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8362&group=comp.os.linux.misc#8362

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Sun, 25 Sep 2022 00:59:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <tgo953$33n12$1@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <tgj5fr$2eh47$1@dont-email.me>
<87fsgidl5r.fsf@usenet.ankman.de> <tgm6ij$2trpc$1@dont-email.me>
Injection-Date: Sun, 25 Sep 2022 00:59:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c1d5655df7e16975dce1bf6e490d23ce";
logging-data="3267618"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aa2rmShQdqkYkpswE2htNPBg4mnKOBAA="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:ulm+2vEzj7jej1E4eg7B+ZOQDvs=
 by: pH - Sun, 25 Sep 2022 00:59 UTC

On 2022-09-24, stepore <stepore@be.here.now> wrote:
> On 9/23/22 11:02, Andreas Kohlbach wrote:
>
>> What package is this part of? Cannot find it in Debian. And can it deal
>
> It's in the Christian Marillat deb-multimedia repos:
> www.deb-multimedia.org
>
> package list for bullseye:
> http://www.deb-multimedia.org/dists/stable/main/binary-amd64/
>
> also available as an appImage.
>
>> with "modern" formats/containers, like MP4 or MKV?
>
> Yes, of course.
> I've used it for many many years. It's a simple video editor. It's great.
>

Hi, All.

Well it seemed from ffmpeg pages that:

ffmpeg -i input.mp4 -vf "transpose=1" output.mp4

would be the magic button. (Where "1" meant rotate 90 degrees clockwise.)

No joy...it ended up flipping the videon right to left...so still sideways
but the top now being on the right.

I then tried:
ffmpeg -i input.mp4 -vf "transpose=0" output.mp4

Which is supposed to rotate 90 degrees then flip it vertically.

That *also* produced a simple 180 flip...still horizontal.

But then, I only viewed them w/ Mplayer...maybe I should have tried VLC and
others.

Anyway...more futzing needed.

pH

Re: Simple (to use) video rotater?

<tgo996$33n12$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8363&group=comp.os.linux.misc#8363

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Simple (to use) video rotater?
Date: Sun, 25 Sep 2022 01:01:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <tgo996$33n12$2@dont-email.me>
References: <tgip7d$2ancq$3@dont-email.me> <tgnaci$310g9$1@dont-email.me>
Injection-Date: Sun, 25 Sep 2022 01:01:26 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c1d5655df7e16975dce1bf6e490d23ce";
logging-data="3267618"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mjANVUxSyzKW/4RFjpkFnHtTDJFc5u84="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:wgdwMGqRJY2YGIFObVXTqkzmmZE=
 by: pH - Sun, 25 Sep 2022 01:01 UTC

On 2022-09-24, hexagonwin <hexagonwin+use@disroot.org> wrote:
> pH wrote:
>> My daughter sent me some videos via her iphone. Some of them are sideways
>> so I want to rotate them and save them in the rotated format rather than
>> toggle the playback every time.
>>
>> I've seen that mPlayer can rotate playback, but not store.
>>
>> I see that VLC *can* rotate and store the videos...so this looks like the
>> tool to use.
>> There are instructions on how to do this on the internet...but it seems a
>> bit tedious (whine whine).
>>
>> Before I dive into it, does anyone know a a simple-to-use rotational tool
>> along the lines of "twist -90degrees infile outfile"?
>>
>> This is not a major issue, I just know that Linux usually has 20 ways to
>> skin any particular cat.
>>
>> Pureheart in Aptos
>>
> Hello.
>
> I searched the internet for the matter, and it seems like ffmpeg has the
> function to do what you need.
>
> $ ffmpeg -i input.mp4 -vf "transpose=1" -c copy output.mp4
> ## transpose=1 : rotate by 90 degrees clockwise
> ## transpose=2 : rotate by 90 degrees counterclockwise
>
> Hope this helps.
> -Hexagonwin

I reported an earlier failure just now....I did not include the
"-c copy" in my command line.

Perhaps that is the rub....I'll try again after I finish my cigar and BBQ
outside and report back.

Thanks to all lending advice.

pH
(in Aptos)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor