LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2009, 09:45 AM   #1
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Rep: Reputation: 19
Convert SWF to Video?


After much digging on the net, I havn't been able to find a solid answer to this question. I've tried using vnc2swf, but it hasn't worked:
Code:
$ vnc2swf-edit -o test.flv fb.swf
Using pygame 1.7.1release
Input movie: version=8, size=640x480, framerate=30fps, frames=7336, duration=244.5s.
Output movie size: 640x480
Scanning source swf file: fb.swf...
MP3: stereo=0, samplerate=44100, initialskip=1677
./usr/share/pyvnc2swf/swf.py:509: DeprecationWarning: integer argument expected, got float
  self.fp.write(pack('>L', x)[1:4])
................................................7336 frames written (duration=244.5s)
$ ls -s
total 4364
4356 fb.swf     8 test.flv
It produces an 8kb file. Obviously not what I wanted. I tried setting output to png/bmp, but all I get is a bunch of black frames. sha1sum on all of them is the same.

Any answers? (sorry to not include more details, but I've got to leave for work...)
 
Old 10-08-2009, 09:08 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
flvtools? ffmpeg? mencoder? transcode? vlc? cinelerra? lives? ??? The great thing about software, is that if one doesn't work, try another. Although if you paid for software that doesn't work, I have a hard time distinguishing those types from muggers in central park. Which is the great thing about linux. It's free, so if it doesn't work, you're out a little time and bandwidth. Which gets cheaper as your bandwidth and computers get faster.
 
Old 10-09-2009, 01:47 AM   #3
ElvisPH
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
I have the same problem to convert swf to video on linux. I have been looking for such a program for a long time. But no good one can do it. Most of them just support flv video. So I use some windows program like iwisoft swf to video converter for the conversion. then share to my pc. this program is very good for windows. but i still look for such a linux program. anyone knows?

Last edited by ElvisPH; 10-09-2009 at 03:57 AM.
 
Old 10-09-2009, 03:01 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,522

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
install "ffmpeg" it can even be set up to add a Gnome r-click menu item to convert it to .ogg
using "nautilus-actions"

the same way that imagemagick can do that for a photo.
 
Old 10-09-2009, 09:22 AM   #5
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Original Poster
Rep: Reputation: 19
Keep in mind I'm trying to from convert .swf files, not .flv. If I recall correctly, both ffmpeg and mplayer/mencoder state that they do not support swf's. As for Lives, I tried that this morning, came back 2 hours later and it still said it was opening the file. I've yet to try the other four options Shadow_7 stated. I'll post any further success/failure.

Also, .ogg files are audio only, correct? I've never heard of them containing video - which is what I need.

Last edited by Jinouchi; 10-09-2009 at 09:23 AM.
 
Old 10-10-2009, 04:28 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
There's a swftools package. Might work, might not.

freshmeat.net
 
Old 10-12-2009, 10:21 PM   #7
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Original Poster
Rep: Reputation: 19
No luck with swftools... I can't seem to compile it properly.
Code:
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -I/usr/include/fontconfig -I /usr/include/lame -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  -I ./ -I xpdf xpdf/gmem.cc -o xpdf/gmem.o
gcc: xpdf/gmem.cc: C++ compiler not installed on this system
make[2]: *** [xpdf/gmem.o] Error 1
make[2]: Leaving directory `/home/user/temp/swftools-0.9.0/lib/pdf'
make[1]: *** [libpdf.a] Error 2
make[1]: Leaving directory `/home/user/temp/swftools-0.9.0/lib'
make: *** [all] Error 2
user@host:~/temp/swftools-0.9.0$
I know a C++ compiler is installed...
Code:
$ g++
g++: no input files
I'm guessing I just need to tell it where/what my C++ compiler is, but how?
 
Old 10-13-2009, 05:19 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
CC
CPP

environment variables?

Make sure you have the build tools. automake autoconf pkconfig .......

And it might be defaulting to /usr/local/ and unable to find g++ over there. Might be a PATH issue, or just use --prefix=/usr in the configure. But it might also be hard coded in the Makefile(s). I've never handled those sources before. It might also be that your system/distro didn't setup any g++->/usr/bin/g++-4.3 links. ls -l /usr/bin/g++*
 
Old 10-19-2009, 03:40 AM   #9
kellyfisher
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
SWF to Video Converter

I like flashes, the iwisoft SWF to Video converter is my best helper to convert flash to video. Hope it helps you too.
 
  


Reply

Tags
swf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert swf to mpeg? SharpyWarpy Linux - Software 16 07-03-2014 10:03 AM
SWF to video converter kp_forum Linux - Software 7 01-07-2009 10:23 AM
Convert AVI/MPG to SWF format, with a frontend frenchn00b Linux - Software 1 01-01-2008 07:00 PM
Need to convert SWF to AVI or MPEG 2Pacalypse Linux - Software 1 05-22-2007 01:18 PM
Convert SWF Audio JMJ_coder Linux - Software 4 05-07-2006 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration