[Vnc2swf-users] Res: Unable to export flv to common format using edit.py or converting flv with ffm
Status: Alpha
Brought to you by:
euske
From: <lfk...@ya...> - 2007-12-03 13:23:05
|
Hi,=0A=0AFLV videos can be encoded in two different formats:=0A1) Sorenson = H.263 Bitstream Format: "This format is based on H.263, an open video encod= ing standard maintained by the ITU. The Sorenson H.263 video format was dev= eloped by Sorenson Media (www.sorenson.com). Existing products that can pro= duce Flash video are the Macromedia Flash MX authoring application, and Sor= enson Squeeze for Macromedia Flash MX, a professional video compression app= lication. It may also be possible to license the Sorenson Spark codec to pe= rform Flash video encoding; contact Sorenson Media for details."=0A2) Scree= n Video Bitstream Format: "As of version 7, an additional video format, cal= led screen video, is available. This is a simple=0Alossless sequential-bitm= ap format with blocked interframing. It is designed for sending captures of= computer screens in action."=0A=0AWell, pvnc2swf uses Screen Video Bitstre= am Format, which was specially designed for screen capture, while the other= format (Sorenson H.263) is designed for motion videos.=0A=0AEdit.py can ge= nerate MPEG movies. Check the options.=0A=0ARegards,=0A=0ALuis Fernando=0A= =0A=0A----- Mensagem original ----=0ADe: Kristian Erik Hermansen <kristian.= her...@gm...>=0APara: vnc...@li...=0AEnviadas= : Quinta-feira, 29 de Novembro de 2007 10:06:25=0AAssunto: [Vnc2swf-users] = Unable to export flv to common format using edit.py or converting flv with = ffmpeg=0A=0AI would like to get an MPG video in the end. I have done this = many=0Atimes with lots of other software and flv files on Linux using eithe= r=0Affmpeg or mencoder. However, it appears to me that the FLV export=0Afe= ature of vnc2swf outputs a non-standard FLV video. I do wonder why=0Aneith= er ffmpeg nor mencoder will decode the FLV to something else, but=0Ait dete= cts the video stream as unknown. VLC also fails to open the=0Avideo stream= , but plays the audio stream nicely.=0A=0AAnyways, here's some output from = some of my failed attempts...=0A=0Akhermans@hermbuntu-desktop:~/foss/pyvnc2= swf-0.9.3/pyvnc2swf$ python=0Aedit.py -d -t mpeg -a /home/khermans/Music/14= \ -\ Paperback_Bible.mp3=0A-o /tmp/CEPT/iacrb_prac2.mpg /tmp/CEPT/iacrb_pra= c2.swf=0AUsing pygame 1.7.1release=0AReading mp3 file: /home/khermans/Music= /14 - Paperback_Bible.mp3...=0AInput movie: version=3D5, size=3D1024x768, f= ramerate=3D12fps, frames=3D1026,=0Aduration=3D85.5s.=0AOutput movie size: 1= 024x768=0AScanning source swf file: /tmp/CEPT/iacrb_prac2.swf...=0ACreating= MPEG: '/tmp/CEPT/iacrb_prac2.mpg': codec=3Dmpeg2video,=0Asize=3D1024x768, = framerate=3D12.0=0ATraceback (most recent call last):=0A File "edit.py", l= ine 244, in <module>=0A if __name__ =3D=3D "__main__": sys.exit(main(sys= .argv[1:]))=0A File "edit.py", line 239, in main=0A mp3seek=3Dmp3seek, = mp3skip=3Dmp3skip)=0A File "edit.py", line 86, in reorganize=0A builder= .build(r)=0A File "/home/khermans/foss/pyvnc2swf-0.9.3/pyvnc2swf/output.py= ", line=0A999, in build=0A self.start()=0A File "/home/khermans/foss/py= vnc2swf-0.9.3/pyvnc2swf/output.py", line=0A942, in start=0A self.stream.= open()=0A File "/home/khermans/foss/pyvnc2swf-0.9.3/pyvnc2swf/output.py", = line=0A767, in open=0A 'id': vcodec.getCodecID(self.mpeg_codec),=0AAttr= ibuteError: 'NoneType' object has no attribute 'getCodecID'=0A=0A** OR **= =0A=0Akhermans@hermbuntu-desktop:/tmp/CEPT$ file=0Aiacrb_prac2.flviacrb_pra= c2.flv: Macromedia Flash data, version 7=0Akhermans@hermbuntu-desktop:/tmp/= CEPT$ ffmpeg -i iacrb_prac2.flv=0A iacrb_prac2.mpg=0AFFmpeg version SVN-rUN= KNOWN, Copyright (c) 2000-2007 Fabrice Bellard,=0A et al.=0A configuration= : --enable-gpl --enable-pp --enable-swscaler=0A--enable-pthreads --enable-l= ibvorbis --enable-libtheora=0A--enable-libogg --enable-libgsm --enable-dc13= 94 --disable-debug=0A--enable-shared --prefix=3D/usr=0A libavutil version:= 1d.49.3.0=0A libavcodec version: 1d.51.38.0=0A libavformat version: 1d.5= 1.10.0=0A built on Jun 3 2007 20:59:25, gcc: 4.1.3 20070528 (prerelease)= =0A(Ubuntu 4.1.2-9ubuntu2)=0AInput #0, swf, from 'iacrb_prac2.flv':=0A Dur= ation: 00:03:48.0, start: 0.000000, bitrate: 192 kb/s=0A Stream #0.0: Audi= o: mp3, 44100 Hz, stereo, 192 kb/s=0A Stream #0.1: Video: 0x0000, 12.00 fp= s(r)=0Apicture size invalid (0x0)=0A=0A=0A=0ASo how can I get this video in= to some standard MPG format? I wonder=0Awhy the Mozilla flash plugin can p= lay this seemingly corrupted FLV=0Avideo that vnc2swf generates. Any ideas= ?=0A-- =0AKristian Erik Hermansen=0A"I have no special talent. I am only pa= ssionately curious."=0A=0A-------------------------------------------------= ------------------------=0ASF.Net email is sponsored by: The Future of Linu= x Business White Paper=0Afrom Novell. From the desktop to the data center,= Linux is going=0Amainstream. Let it simplify your IT future.=0Ahttp://alt= farm.mediaplex.com/ad/ck/8857-50307-18918-4=0A_____________________________= __________________=0AVnc2swf-users mailing list=0AV...@li...urc= eforge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/vnc2swf-users=0A= =0A=0A=0A=0A=0A=0A Abra sua conta no Yahoo! Mail, o =C3=BAnico sem lim= ite de espa=C3=A7o para armazenamento!=0Ahttp://br.mail.yahoo.com/ |