POV-Ray : Newsgroups : povray.binaries.images : <no subject> Server Time
18 Apr 2024 20:58:30 EDT (-0400)
  <no subject> (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: Dick Balaska
Subject: Re: <no subject>
Date: 18 Dec 2019 06:13:49
Message: <5dfa09ed@news.povray.org>
Am 12/18/19 5:00 AM, also sprach Melody:
> too many colors for gif.
> 
> told the converter to make avi,
> it made this. is it mp4? doh
> 
> +AM2 - add 18 hrs. to render
> 
> 

Not an mp4.

hawaii_.mp4: RIFF (little-endian) data, AVI, 638 x 366, ~30 fps, video: 
H.264 X.264 or H.264

compared to a real .mp4

ttlo-480p.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]


In any case, it looks like 28 seconds of the same frame.

-- 
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 18 Dec 2019 18:00:02
Message: <web.5dfaae6a6f92e8569da690110@news.povray.org>
Dick Balaska <dic### [at] buckosoftcom> wrote:
> Am 12/18/19 5:00 AM, also sprach Melody:
> > too many colors for gif.
> >
> > told the converter to make avi,
> > it made this. is it mp4? doh
> >
> > +AM2 - add 18 hrs. to render
> >
> >
>
> Not an mp4.
>
> hawaii_.mp4: RIFF (little-endian) data, AVI, 638 x 366, ~30 fps, video:
> H.264 X.264 or H.264
>
> compared to a real .mp4
>
> ttlo-480p.mp4: ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
>
>
> In any case, it looks like 28 seconds of the same frame.
>
> --
> dik
> Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)

wouldnt have posted if it were not playable, if I didnt watch it first. it
plays.

however, so far, I found TWO (2) zipped converters and SourceForge, without an
install. first clue is, a video convertor needs no installation duh!

1:
JAVA Simple Video Converter 1.5.1 is not working right.
2:
this mp42 file was made by Easy Brake - checked header in Fred-Hex.
https://sourceforge.net/projects/easybrake/


Post a reply to this message


Attachments:
Download 'hawaii_2.mp4.mpg' (2333 KB)

From: Dick Balaska
Subject: Re: <no subject>
Date: 18 Dec 2019 23:36:10
Message: <5dfafe3a$1@news.povray.org>
Am 12/18/19 5:55 PM, also sprach Melody:
> Dick Balaska <dic### [at] buckosoftcom> wrote:

> 
> wouldnt have posted if it were not playable, if I didnt watch it first. it
> plays.
> 
I didn't mean to imply that I was questioning your magnificence. 
Clearly the issue is on my end.

> however, so far, I found TWO (2) zipped converters and SourceForge, without an
> install. first clue is, a video convertor needs no installation duh!
> 
> 1:
> JAVA Simple Video Converter 1.5.1 is not working right.

All the cool kids are using ffmpeg these days.

-- 
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 19 Dec 2019 02:45:00
Message: <web.5dfb29476f92e8569da690110@news.povray.org>
Dick Balaska <dic### [at] buckosoftcom> wrote:
> Am 12/18/19 5:55 PM, also sprach Melody:
> > Dick Balaska <dic### [at] buckosoftcom> wrote:
>
> >
> > wouldnt have posted if it were not playable, if I didnt watch it first. it
> > plays.
> >
> I didn't mean to imply that I was questioning your magnificence.
> Clearly the issue is on my end.
>
> > however, so far, I found TWO (2) zipped converters and SourceForge, without an
> > install. first clue is, a video convertor needs no installation duh!
> >
> > 1:
> > JAVA Simple Video Converter 1.5.1 is not working right.
>
> All the cool kids are using ffmpeg these days.
>
> --
> dik
> Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)

heh, I know. I question my magnificence in such a world ... with 0 vibe help.
 it's like a Michael Jackson Thriller. except I'm not laughing.

used ffmpeg code before ... thanks for the reminder.
bloody hell with the advert on the ffmpeg page ... doh. designed to mess with
you. who gets left behind for ideal reality? far more sensible to count the ones
leaving.


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 19 Dec 2019 03:25:01
Message: <web.5dfb33c16f92e8569da690110@news.povray.org>
reading the instructions but not finding the command line I need.

ffmpeg -i file000.png -r 24 output.mpg
fails.

needs something like that.


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 19 Dec 2019 03:35:00
Message: <web.5dfb35c76f92e8569da690110@news.povray.org>
Using ffmpeg to convert a set of images into a video

ffmpeg -r 60 -f image2 -s 1920x1080 -i pic%04d.png -vcodec libx264 -crf 25
-pix_fmt yuv420p test.mp4

Specifying start and end frames

ffmpeg -r 60 -f image2 -s 1920x1080 -start_number 1 -i pic%04d.png -vframes 1000
-vcodec libx264 -crf 25  -pix_fmt yuv420p test.mp4

okay thats completely heinous, heh. cool?

https://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 19 Dec 2019 05:25:01
Message: <web.5dfb4ee76f92e8569da690110@news.povray.org>
working command lines. issue, command line doesn't run from a batch file.
"Could find no file with path 'legomb.bat3d.png' and index in the range 0-4"

ffmpeg -r 8 -f image2 -s 640x366 -i legom%03d.png -vcodec libx264 -crf 25
-pix_fmt yuv420p legom.mp4

REM ImageMagick
REM This works on command line ONLY, run from b.bat, uses "b.bat" in the name
!?!? temp\legomb.bat3d.png

convert -resize 640x366 c:\ftp\dempov\kauai\starliner\*.png temp\legom%03d.png"

1meg small size mpeg with: -crf 25
smaller number is better.


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 21 Dec 2019 03:50:00
Message: <web.5dfddb2a6f92e8569da690110@news.povray.org>
#local d = 4 * (1/20);
 #if (fr > 178) #declare speed = _clamp(speed-d,0,4); #end
 // I cant believe I wrote that expecting it to work, and it did.
 // how did that work? it had to remember from last frame?

evidence of remembering a var from past frame?
 or twilight zone? ever been there?
  saw speed go to 0 by frame 200 in the vid!?!?!
that was the only line to change speed value of 4.

 // everything else expects it to start over. like this
 #if (fr > 178) #declare speed = _clamp(4 - 4 * ((fr-178)/20),0,4);


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 21 Dec 2019 04:10:01
Message: <web.5dfde0c96f92e8569da690110@news.povray.org>
for that line to work,
it means that the next frame had to ignore the initial value of 4.
/////// Cam1 Control \\\\\\\\
#declare speed = 4;

unquote

which could potentially mix up increments depending on that initial global
value. am I wrong?


Post a reply to this message

From: Melody
Subject: Re: <no subject>
Date: 25 Dec 2019 03:00:01
Message: <web.5e0316216f92e8569da690110@news.povray.org>
slowly gaining control on the plane's matrix.
I never wrote a flight sim before, nuts.

got auto pilot of sorts. less trial and error guessing at input values for
decent rate, with elevation and fame number u want to be there.

  #if (fr > 145) #declare attack = abs(grav) / speed; // level flight
  #local lift = (attack) * speed;  // to get anywhere, set exact vector/lift
  #local lift = lift - (campos.y-.64)/(230 - fr); #end

so new test grav and speed values, change nothing.

seems futile for the model's pitch to get counted, attack angle is calculated,
then maybe model's pitch could follow, incrementally, I was thinking.

here it went smoothTrans cam2 to cam1. then I wanted to roll over and have him
wave ... this could take forever.

someday, slow things down for 5000 frames, and better machine.


Post a reply to this message


Attachments:
Download 'legom.mp4.mpg' (392 KB)

<<< Previous 6 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.