[Rock-dev] Avi export for log files

Steffen Planthaber Steffen.Planthaber at dfki.de
Fri Jun 21 08:32:11 CEST 2013


Hi,

After you got the export of several frames, from rock-export giving i.e.
--start 0 --end 100, you can use ffmpeg to put them together in any
format. ffmpeg (mplayer) supports it by using the "image2" format as
input for ffmpeg:

$> ffmpeg -f image2 image%02d.png out.mpg

puts together all images with a two digit number image01.png, image02.png

You'll need leading zeros for a correct order in the video.
I don't knot the output filename of  rock-export, but the "%02d" is for
two digit numbers, %03d for three.

For bitrates, resolution and stuff see the ffmpeg manual.

Best,
Steffen

Am 21.06.2013 00:35, schrieb Fabian Franzen:
> Hi, 
>
> is it possible in rock to convert/export a log file with frames to a
> movie file format like MPEG or avi? If looked around in rock and today
> and the only way I found is via the png/jpeg export of rock-export...
> I have tried that command with my log file but no pictures was created... 
>
> My idea was to export a camera log of avalon for the open campus day.
> I finally used some non rock log files for this, but I can't belive
> that there is no easy way for rock log files.... 
>
> Regards 
> Fabian 
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev


-- 
 Steffen Planthaber
 Weltraumrobotik
 
 ###############################################
 #### Neue Anschrift und neue Kontaktdaten! ####
 ###############################################
 
 DFKI Bremen
 Robotics Innovation Center
 Mary-Somerville-Straße 9
 28359 Bremen, Germany
 
 Phone: +49 (0)421 178 45 - 4125
 Fax:   +49 (0)421 218 - 64150
 E-Mail: steffen.planthaber at dfki.de
 
 Weitere Informationen: http://www.dfki.de/robotik
 -----------------------------------------------------------------------
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
 Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster 
 (Vorsitzender) Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
 USt-Id.Nr.:    DE 148646973
 Steuernummer:  19/673/0060/3 
 -----------------------------------------------------------------------

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130621/dab70eb6/attachment.htm 


More information about the Rock-dev mailing list