pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.45k stars 272 forks source link

New Movie Video Import fails to load SWF files #1555

Open Jose-Moreno opened 3 years ago

Jose-Moreno commented 3 years ago

Issue Summary

Despite it's origin, SWF is now an "open" format (the specification is open at least). I wanted to use this since I'm currently working with Animate CC 2020.5 on my current job, but it was not possible to import anything from the SWF's we produced.

Is it a limitation of FFMPEG? or something missing for its configuration?

Expected Results

The movie formats displayed as available for import should work as implied.

Video or Image Reference

image

ffmpeg path:
E:/Downloads/Software/Animation Apps/Pencil2D Builds/pencil2d-win64-2020-11-24/Pencil2D/plugins/ffmpeg.exe
ffprobe path:
E:/Downloads/Software/Animation Apps/Pencil2D Builds/pencil2d-win64-2020-11-24/Pencil2D/plugins/ffprobe.exe
System Info
Pencil2D version: 0.6.5 (nightly)
Build ABI: x86_64-little_endian-llp64
Kernel: winnt, 10.0.18363
Operating System: Windows 10 (10.0)
end

Samples

Included Samples (Bouncing Ball) These samples include only basic elements that should be read universally by any SWF loader / importer such as graphic symbols and motion tweens.

Pencil2D_SWF_Samples.zip

Steps to reproduce

  1. Create a new Pencil2D file
  2. go to File > Import > Movie Video
  3. Browse for a standard SWF file (authored in Flash or Animate CC. I'll provide some below)
  4. You'll get the error.

System Information

commit: 889f226aaf65ac2b4da00cb3f355b6b29fd5d571 date: 2020-11-24_17:31:44

Operating System: Windows 10 (10.0) CPU Architecture: x86_64 Qt Version: 5.12.10

scribblemaniac commented 3 years ago

This is probably a limitation of ffmpeg. I suspect only certain kinds of swf files will be supported since the format can do a lot more than just video. It may also be worth looking into using Swivel for this.