I am trying to use r.out.mpeg, but I get the error below:
that module is quite old and crusty, or rather the MPEG-1
codec is. You might try for e.g. d.out.file and the WebM
encoding example from the wiki for better results.
IMO we should consider to retire the r.out.mpeg module, maybe
replace it with a script to encode directly to WebM &/or a series
of raw frames for another encoder of the users' choice. (something
simpler to maintain than the ffmpeg in nviz anyway, outsource the
encoder programming--we just provide the individual rendered
frames)
,----
| GRASS 7.0.svn (grass):~/.../AlienManagementDrakensberg/sim
> r.out.mpeg view1="Rubus
| raster map(s) available in mapset <asmDrak>:
| raster map(s) available in mapset <asmDrak.2015>:
| Reading raster map <Rubus_age>...
...
| Reading raster map <Rubus_seedsSoil_2015>...
| ERROR: Could not open output file!
| WARNING: mpeg_encode ERROR
`----
I have no idea why this error occurs - any suggestions?
do you have write permissions in the current directory?
is there disk space free?
does the g.tempfile module seem to work?
Self compiled from grass-7.0.svn_src_snapshot_2013_03_23
under Ubuntu raring.
I am trying to use r.out.mpeg, but I get the error below:
that module is quite old and crusty, or rather the MPEG-1
codec is. You might try for e.g. d.out.file and the WebM
encoding example from the wiki for better results.
IMO we should consider to retire the r.out.mpeg module, maybe
replace it with a script to encode directly to WebM &/or a series
of raw frames for another encoder of the users' choice. (something
simpler to maintain than the ffmpeg in nviz anyway, outsource the
encoder programming--we just provide the individual rendered
frames)
That would do in most cases, as for direct viewing, imagemagick can be
used on that folder, while one could always provide a collection of
example commands to encode to movie format.
Cheers,
Rainer
,----
| GRASS 7.0.svn (grass):~/.../AlienManagementDrakensberg/sim
> r.out.mpeg view1="Rubus
| raster map(s) available in mapset <asmDrak>:
| raster map(s) available in mapset <asmDrak.2015>:
| Reading raster map <Rubus_age>...
...
| Reading raster map <Rubus_seedsSoil_2015>...
| ERROR: Could not open output file!
| WARNING: mpeg_encode ERROR
`----
I have no idea why this error occurs - any suggestions?
do you have write permissions in the current directory?
is there disk space free?
does the g.tempfile module seem to work?
Self compiled from grass-7.0.svn_src_snapshot_2013_03_23
under Ubuntu raring.
[...] as for direct viewing, imagemagick can be
used on that folder, while one could always provide a
collection of example commands to encode to movie format.
in GRASS 6 see also the d.slide.show module, and the included
xganim program.
And in grass 7 there is a new g.gui.animation tool in-development.
try it out via File -> Animation tool. [today I get a traceback error]
[...] as for direct viewing, imagemagick can be
used on that folder, while one could always provide a
collection of example commands to encode to movie format.
in GRASS 6 see also the d.slide.show module, and the included
xganim program.
And in grass 7 there is a new g.gui.animation tool in-development.
try it out via File -> Animation tool. [today I get a traceback error]
That is really great - as I am using it at the moment for quick
evaluations if my simulations worked, g.gui.animation will be the tool
of my choice.
And I also saw something new: the temporal data type. At the moment I am
archiving the results of my simulations (several raster maps) in
separate mapsets, one per year - but the temporal data type looks
perfect for this.
On Sat, May 18, 2013 at 7:39 AM, Hamish <hamish_b@yahoo.com> wrote:
Rainer wrote:
> [...] as for direct viewing, imagemagick can be
> used on that folder, while one could always provide a
> collection of example commands to encode to movie format.
in GRASS 6 see also the d.slide.show module, and the included
xganim program.
And in grass 7 there is a new g.gui.animation tool in-development.
try it out via File -> Animation tool. [today I get a traceback error]
Should be fixed in r56320. Sorry, I haven't really tested it on Windows.