Menu

#33 HD video export

v1.0
closed-rejected
None
5
2018-10-14
2010-02-16
Anonymous
No

Imagination is a pretty nice application, however I'd love to see 720p and 1080p output encoded in X264/AAC.

These files are useful for YouTube upload, and possibly Blueray authoring...

Discussion

  • Nobody/Anonymous

    I patched "export.c" to have a 1920x1080 video encoded with X264, into a Matroska container.
    Let me know if you're interested on it.

     
  • Giuseppe Torelli

    Hi,

    we are interested in your patch. Could you please attach it here or paste bin elsewhere?

    Thanks
    Giuseppe

     
  • Robert Chéramy

    Robert Chéramy - 2011-06-17
    • assigned_to: nobody --> tibob42
    • status: open --> open-accepted
     
  • Robert Chéramy

    Robert Chéramy - 2011-06-17

    I''ve just added x263/ac3 support in trunk,, have a look at it and tell me if it is OK for you (x264 seem very complicated).

     
  • Nobody/Anonymous

    The patch is really simple. I modified the ffmpeg command to export mpeg2 into mkv.
    So if you apply the patch you will lose mpeg2 support. But it can be a good starting point.

    diff -r imagination-3.0/src/export.c ../imagination-3.0-mkv/src/export.c
    1259a1260
    > /*
    1266a1268,1275
    > */
    > cmd_line = g_strdup_printf( "ffmpeg -f image2pipe -vcodec ppm -r %.0f "
    > "-i pipe: <#AUDIO#> -y "
    > "-vcodec libx264 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixed_refs -coder 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 "
    > "-bf 2 -s %dx%d %s%s -b 15000k \"%s.mkv\" ",
    > img->export_fps,
    > img->video_size[0], img->video_size[1],
    > aspect_ratio_cmd, aspect_ratio, filename );
    1267a1277
    > fprintf(stdout, "Cmdline: %s\n", cmd_line);

     
  • Giuseppe Torelli

    • status: open-accepted --> closed-rejected
    • assigned_to: Robert Chéramy --> Giuseppe Torelli
    • Group: --> v1.0
     

Log in to post a comment.