Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #833  -  Rendering: Unable to find a suitable output format
Posted Mar 28, 2015 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     wst
  • Owned by
    Not owned by anyone
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
Rendering a file where the filename contains spaces doesn't render.

e.g.: filename: "morning sunrise animation.sifz" does not produce an output file when rendering, but when saving it as "morningsunriseanimation.sifz" it renders an .mp4.

When clicking the render this output below comes in the console. As you can see, in the error message the filename is cut-off at "morning" instead of "morning Sunrise tutorial"

[image2pipe @ 0000000001cf9e80] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, image2pipe, from 'pipe:':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 1920x1080, 24 tbr, 24 tbn, 24 tbc
[NULL @ 0000000002090780] Unable to find a suitable output format for 'E:\2D\morning'
E:\2D\morning: Invalid argument
synfig(9620) [13:49:39] info: Render broken up into 1 block of 781 pixels tall, and a final block 299 pixels tall
...

Render settings: Filename: E:\2D\morning sunrise tutorial.mp4 Target: ffmpeg FFmpeg parameters: H.264 / AVC / MPEG-4 AVC (Loss Less) libx264-lossless VBR: 2000 Quality: 9 Anti-Aliasing: 1

--- Also when you select .png instead of .mp4 and target ffmpeg (same settings as above) you see this in the console output:
[image2 @ 0000000001c8f500] Could not get frame filename number 2 from pattern 'E:\2D\morningsunriseanimation.png' (either set updatefirst or use a pattern like %03d within the filename pattern)
av_interleaved_write_frame(): Invalid argument


On the output a file "morningsunriseanimation.png" is created after rendering.

Setup: Windows 8.1 x64 Pro Synfig 1.0 RC3 Tutorial I followed: https://www.youtube.com/watch?v=Dr8aqNF2jhc

Maybe render-output combinations that can't work should be disabled for selecting? (I don't know if it is possible to use ffmpeg and .png as filename, but if this is not possible, this should be shown to the user before Rendering.)
Steps to reproduce this issue
  1. use 1.0 RC3
  2. create an animation, save it as "morning sunrise animation.sifz" and try to render it as .mp4 (--> Doesn't work)
  3. now save the file again but without spaces "morningsunriseanimation.sifz" and try to render it as .mp4 (--> works)


  1. now open "morningsunriseanimation.sifz" and render it as ffmpeg but instead of calling the filename E:\2D\morningsunrisetutorial.mp4 change it to E:\2D\morningsunrisetutorial.png. and render it (--> doesn't work)



#2
Comment posted by
 wst
Apr 16, 20:11
i just did these steps again using 1.0 RC4:

1. use 1.0 RC4 2. open my previous animation "morning sunrise animation.sifz" and try to render it as .mp4

this WORKS now smileys/2.png

only comments:
  • when it renders it now opens a commandprompt dialog and that doesn't give you any information. You don't see if it ready or not or how the progress is.
  • In the render dialog the "Filename" was now set to: E:\2D/morning Sunrise animation.mp4" <-- strange to see \ and / (forward and backward slash) now.


#3
Comment posted by
 Konstantin Dmitriev
Apr 23, 16:48
Hello!

Thanks for testing! I also have fixed the issue with "E:\2D/morning Sunrise animation.mp4" path. Fix will be delivered with 1.0 RC5.

About the progress. Yes, it is not possible to see the progress now, but you will see "File rendered successfully" message in the statusbar when it's done. If you want to see the progress, then you can run Synfig Studio in "Debug console" mode (see separate item in start menu).

Of course the issue with progress should be resolved in some better way, but I'm sure it won't happen before the 1.0 release.