[GRASS-user] Error in GRASS 7 and r.out.mpeg

Rainer M. Krug Rainer at krugs.de
Fri May 17 09:44:58 PDT 2013


Hamish <hamish_b at yahoo.com> writes:

> Rainer wrote:
>> 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.
>
>    http://grasswiki.osgeo.org/wiki/Movies

Thanks - didn't know that page - very useful.

>
> 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.
>
>
> Hamish
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



More information about the grass-user mailing list