VLC - SWF

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Bob M
Level 3
Level 3
Posts: 179
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

VLC - SWF

Post by Bob M » Fri Sep 21, 2018 12:13 am

Can somebody please tell me if VLC Media Player will play SWF files.

I'm getting a lot of contradictory answers. (Mine won't)

OS Mint 18 - Cinnamon - VLC 2.2.2 Weatherwax

Thanks

User avatar
catweazel
Level 17
Level 17
Posts: 7770
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: VLC - SWF

Post by catweazel » Fri Sep 21, 2018 2:09 am

Bob M wrote:
Fri Sep 21, 2018 12:13 am
Can somebody please tell me if VLC Media Player will play SWF files.
Yes, it works fine.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
Bob M
Level 3
Level 3
Posts: 179
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: VLC - SWF

Post by Bob M » Fri Sep 21, 2018 4:43 am

Thanks for that Catweazel.

Any suggestions why mine doesn't?

User avatar
catweazel
Level 17
Level 17
Posts: 7770
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: VLC - SWF

Post by catweazel » Fri Sep 21, 2018 4:47 am

Bob M wrote:
Fri Sep 21, 2018 4:43 am
Thanks for that Catweazel.

Any suggestions why mine doesn't?
Probably file corruption. Search for and download some swf test files. You'll need larger files, not small ones.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
Bob M
Level 3
Level 3
Posts: 179
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: VLC - SWF

Post by Bob M » Fri Sep 21, 2018 5:26 am

Don't think it's file corruption because there are a number of them and they all play fine under Flash Movie Player which is actually a Windows program operating under wine.

User avatar
catweazel
Level 17
Level 17
Posts: 7770
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: VLC - SWF

Post by catweazel » Fri Sep 21, 2018 5:31 am

Bob M wrote:
Fri Sep 21, 2018 5:26 am
Don't think it's file corruption because there are a number of them and they all play fine under Flash Movie Player which is actually a Windows program operating under wine.
That only indicates that the Windwoes application is reading the file differently, it says nothing about the files being corrupt or not. There is no harm in trying the suggestion but you're the one with the problem so you know better than me.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
Bob M
Level 3
Level 3
Posts: 179
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: VLC - SWF

Post by Bob M » Fri Sep 21, 2018 6:17 am

I’m not saying I know better than you at all.

What I am saying is there are more than one swf files that won’t play on VLC, but will play on Flash Movie Player.

I’ve uploaded this one to Dropbox as an example.

https://www.dropbox.com/s/seknffsk1icnd ... y.swf?dl=0

It’s only shots around a beautiful little place in Australia known as Hervey Bay, but can anyone open it with VLC??

User avatar
Flemur
Level 16
Level 16
Posts: 6271
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: VLC - SWF

Post by Flemur » Sat Sep 22, 2018 1:29 pm

Bob M wrote:
Fri Sep 21, 2018 6:17 am
I’m not saying I know better than you at all.
What I am saying is there are more than one swf files that won’t play on VLC, but will play on Flash Movie Player.
I’ve uploaded this one to Dropbox as an example.
https://www.dropbox.com/s/seknffsk1icnd ... y.swf?dl=0

It’s only shots around a beautiful little place in Australia known as Hervey Bay, but can anyone open it with VLC??
My vlc plays some swf files, but definitely not most; the few files it does play are often truncated (stop early, don't repeat, etc) with the sound missing. There are no error messages in the terminal.

And vlc couldn't play your example file: nothing at all.

The only reliable way I found to play swf files in linux is the adobe flash player (flashplayer_30_sa.exe) running under wine. Get it from adobe.

Works great, plays your example file with audio.

Edit: "Flash Movie Player" - you can make it act like a regular linux program:

$ cat bin/Flashplayer

Code: Select all

#!/bin/sh

PAR=`winepath -w "$*"`

LOC=~/.wine/drive_c/pgms/FlashPlayer/flashplayer_30_sa.exe

wine "$LOC" "$PAR" 

exit 0
Then you can do
File-browser -> Open with "Flashplayer"
or
$ Flashplayer filename.swf
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
MrEen
Level 7
Level 7
Posts: 1964
Joined: Mon Jun 12, 2017 8:39 pm

Re: VLC - SWF

Post by MrEen » Sat Sep 22, 2018 1:39 pm

You could try converting the file in VLC with Media > Convert / Save if it's non interactive.

See http://www.vip-video-converter.com/arti ... using-vlc/ for full instructions.

User avatar
Flemur
Level 16
Level 16
Posts: 6271
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: VLC - SWF

Post by Flemur » Sat Sep 22, 2018 1:49 pm

MrEen wrote:
Sat Sep 22, 2018 1:39 pm
You could try converting the file in VLC with Media > Convert / Save if it's non interactive.

See http://www.vip-video-converter.com/arti ... using-vlc/ for full instructions.
It doesn't work; it created a 199 byte .mp4 file from the 5.3 MB "Hervey Bay" swf file. No messages, error or otherwise.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
MrEen
Level 7
Level 7
Posts: 1964
Joined: Mon Jun 12, 2017 8:39 pm

Re: VLC - SWF

Post by MrEen » Sat Sep 22, 2018 1:54 pm

Flemur wrote:
Sat Sep 22, 2018 1:49 pm
It doesn't work; it created a 199 byte .mp4 file from the 5.3 MB "Hervey Bay" swf file. No messages, error or otherwise.
Well, just think of all the disk space you could save! :mrgreen:

Sorry it didn't help.

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1408
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: VLC - SWF

Post by MtnDewManiac » Sat Sep 22, 2018 3:26 pm

Maybe try a different version of VLC? I was thinking there were multiple versions in use (possibly all technically "current" ones, as in multiple branches, but I don't know), and that you might be able to find a different version via a PPA.

You might take a look at VLC's changelogs - especially if there are multiple branches of the application - with an eye toward any entries that mention "swf" files.

By multiple branches... I'm thinking about LibreOffice, where (at least in the past) there were multiple major versions, each receiving updates. Maybe VLC is like that, I don't know.

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

User avatar
Bob M
Level 3
Level 3
Posts: 179
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: VLC - SWF

Post by Bob M » Sun Sep 23, 2018 12:24 am

Thanks for your input everyone.

I think we can safely say that VLC is not reliable when it comes to dealing with SWF files.

Flemur, I tried to download Adobe Flashplayer, but have run into all sorts of problems just trying to download it.

I’m wondering if it is still available as one site threw up a 404 error, another came up with the following message (Attachment) which is above my small understanding.
Adobe Message.jpg
Anyway, no worries, as I’ve got “eolsoft Flash Movie Player” that works fine.

Thanks again

Bob

Hoser Rob
Level 12
Level 12
Posts: 4456
Joined: Sat Dec 15, 2012 8:57 am

Re: VLC - SWF

Post by Hoser Rob » Sun Sep 23, 2018 9:38 am

I think the issue is that .swf is an Adobe Flash format. Adobe's Linux support isn't great ... Adobe Reader hasn't been supported since Mint 17 ... and the only Linux program I know of with proper OOTB Flash support is Chrome.

This thread should help:

https://ubuntuforums.org/showthread.php?t=2386372

User avatar
Flemur
Level 16
Level 16
Posts: 6271
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: VLC - SWF

Post by Flemur » Sun Sep 23, 2018 11:45 am

Bob M wrote:
Sun Sep 23, 2018 12:24 am
Flemur, I tried to download Adobe Flashplayer, but have run into all sorts of problems just trying to download it.
A message from July 12 of an undefined year says they've been messing with it.
https://github.com/GerRudi/SimpleR-RotMG/issues/47
I’m wondering if it is still available as one site threw up a 404 error, another came up with the following message (Attachment) which is above my small understanding.
Some undefined site had an error....
Anyway, no worries, as I’ve got “eolsoft Flash Movie Player” that works fine.
You can download the adobe file from here:
https://www.adobe.com/support/flashplay ... .html#fp15

"Download the Flash Player projector" --> (you have to click the link, NOT rt-click->download because that'd be too easy)

https://fpdownload.macromedia.com/pub/f ... _31_sa.exe

Some of the bogus links are pointing to 29 or 30 rather than 31.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
Bob M
Level 3
Level 3
Posts: 179
Joined: Sat Jan 28, 2017 9:54 pm
Location: New Zealand

Re: VLC - SWF

Post by Bob M » Sun Sep 23, 2018 11:19 pm

Thanks for your patience flemur, it was a struggle but I followed your instructions and now have Flash Movie Player and Flashplayer that both play SWF files fine.

A couple of laughs along the way as I thought I’d better check the pdf license agreement in the flash-player_sa_linuxx86_64.tar.gz file and got this.
flash-player3a.jpg
flash-player3a.jpg (93.98 KiB) Viewed 66 times

I translated that to go ahead.

Then I double clicked the Flash player icon and got this:
flash-player2.jpg
flash-player2.jpg (35.64 KiB) Viewed 66 times

Gimp tried to open it. :roll:

So I moved on and installed flashplayer_31_sa.exe and it works fine, although having to locate the file or url from the file menu is a bit of a trick.

Anyway, I think we can safely say that VLC won’t open all swf files and that one needs a dedicated swf player.

Post Reply

Return to “Software & Applications”