Can anyone give any guidance on what software is used for converting MPEG2 to Flash 8? I know about ON2 but was looking for alternatives.
+ Reply to Thread
Results 1 to 27 of 27
-
-
you can use riva encoder it's a freeware i don't know if's it use sorenzon or on2 vp6 codec
vp6 being the best
personnaly i use flash8 video encoder gui which is part of Flash 8 professional*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
You can do it with either ffmpeg or mencoder with the vp6 vfw codec.
ffmpeg way:
http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html -
I actually got the shodan way to work. I think thought it would be easier in Mencoder with the GUI but I dont know how to set that up. Google searches take me to Japanese web sites and the google translations just don't cut it for me. Have you tried it with Mencoder with GUI?Originally Posted by 45tripp
Actually if I can convert MPEG2 to Flash 8 equal that would be great. Any help is appreciated. -
gui?Originally Posted by neftv
Code:vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf vfw2menc -f VP62 -d vp6vfw.dll -s secondpass.mcf mencoder videofile2.avs -af resample=44100 -oac mp3lame -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=firstpass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -of lavf -o 10.flv mencoder videofile2.avs -af resample=44100 -oac mp3lame -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=secondpass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -of lavf -o 10.flv
equal?Originally Posted by neftv
in what way?
gl -
Originally Posted by 45tripp
I meant there is software called Simple Mencoder Shell GUI how would that code work with that software?
Equal I meant VP62. -
Ok I got as far as making the firstpass.mcf and secondpass.mcf files.Originally Posted by 45tripp
-
move them into the mencoder directory (c:\....\simplemencodershellgui\)
also replace mplayer/mencoder with newer builds:
http://esby.free.fr/CelticDruid/mirror/mplayer/
open the gui.
add a script named vp6 pass1 :
add a script named vp6 pass2 :Code:-af resample=44100 -oac mp3lame -lameopts cbr:br=128 -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=firstpass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -of lavf -o "<OUTPUT>.flv" "<INPUT>"
load file with pass1Code:-af resample=44100 -oac mp3lame -lameopts cbr:br=128 -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=secondpass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -of lavf -o "<OUTPUT>.flv" "<INPUT>"
load file with pass2
run
You could prepare as many presets as you like, (firstpass700.mcf vp6700 pass1, firstpass500.mcf....)
also could simplify and do single pass encoding
gl -
I did install as you said with newer build and ran scripts. I made a onepass.Originally Posted by 45tripp
This is what the Simple Mencoder Shell Gui telling me in the log
Script Being Run:-
-af resample=44100 -oac mp3lame -lameopts cbr:br=128 -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=Onepass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_fram es -of lavf -o "F:\Movie Files\Nikitas1.flv" "C:\Documents and Settings\Nikitas1.mpg"
>>MEncoder dev-SVN-r24100-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Exiting... (error parsing command line)
what does that mean? -
Great!
I'd been waiting for a new build.
remove:
from the commandlineCode:-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
gl -
Ok removed the line. Now I am getting this in the log. A FLV file is created but its 0bytes.Originally Posted by 45tripp
Script Being Run:-
-af resample=44100 -oac mp3lame -lameopts cbr:br=128 -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=Onepass.mcf -of lavf -o "F:\Movie Files\Nikitas1.flv" "C:\Documents and Settings\Nikitas1.mpg"
>>MEncoder dev-SVN-r24100-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0x77ee38
MPEG-PS file format detected.
VIDEO: MPEG2 480x480 (aspect 2) 29.970 fps 2600.0 kbps (325.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:480x480 fps:29.97 ftime:=0.0334
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
OK, exit
Loading codec DLL: 'vp6vfw.dll'
Loaded DLL driver vp6vfw.dll at 10000000
HIC: 18e8060
568 - 568 - 568
Compressor type: 63646976
Compressor subtype: 32365056
Compressor flags: 40, version 65536, ICM version: 260
Flags:
Exiting... -
I uninstalled and reinstalled the Codec and made a new onepass.mcf. Same result. Its like it not encoding the file just naming it to .flv.Originally Posted by 45tripp
-
I've not been able to do this that is why I have not replied.Originally Posted by 45tripp
-
why not?
create a folder (conveniently placed),
put mencoder ,the .mcf pass info files and your video in there.
from 'start'->'run' type: cmd , press enter.
navigate to the folder.
type in the commandline and report it's output.
getting an older build
to replace the newer one
and changing your commanline to include "-lavfopts i_certify_........"
is very easy.
if you still need help with the above let me know.
gl -
Is this what you mean?
F:\FLV 2\flvenc>mencoder -af resample=44100 -oac mp3lame -lameopts cbr:br=128 -v
f flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -of lavf -o "<OU
TPUT>.flv" "<F:\FLV 2\FLVENC\1776-23.dv.mpg>"
MEncoder dev-SVN-r24100-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Step
ping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
File not found: '<F:\FLV 2\FLVENC\1776-23.dv.mpg>'
Failed to open <F:\FLV 2\FLVENC\1776-23.dv.mpg>.
Cannot open file/device.
Exiting... -
well now I am getting thisOriginally Posted by 45tripp
F:\FLV_2\flvenc>mencoder -af resample=44100 -oac mp3lame -lameopts cbr:br=128 -v
f flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -of lavf -o "<OU
TPUT>.flv" "F:\FLV2\FLVENC\1776-23dv.mpg"
MEncoder dev-SVN-r24100-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Step
ping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
File not found: 'F:\FLV2\FLVENC\1776-23dv.mpg'
Failed to open F:\FLV2\FLVENC\1776-23dv.mpg.
Cannot open file/device.
Exiting...
And I do have a file called 1776-23dv.mpg in that directory. -
Remove the brackets from output too.
rename to 'output.flv'
Originally Posted by neftvYou've droped a period '.' from the first attempt to the second.Originally Posted by neftv
did you rename the file in between?
which one is the right filename?
'1776-23.dv.mpg' i suspect.
You can rename files to make life easier...
In any case to simplify,
Just move (or copy) the file into the mencoder directory and correctly type the filename.
gl -
This is what I got. Any suggestions? Video was actually 720x480 and blocky, I know with Flash it has to be like 480x360. Perhaps two pass too. Anyway, I had to terminate early because I am leaving for work.
F:\FLV_2\flvenc>mencoder -af resample=44100 -oac mp3lame -lameopts cbr:br=128 -v
f flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -of lavf -o "OUT
PUT.flv" "1776-23dv.mpg"
MEncoder dev-SVN-r24100-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Step
ping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
success: format: 0 data: 0x0 - 0xe2f1000
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
** MUXER_LAVF ************************************************** ***************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
************************************************** *****************************
OK, exit
Loading codec DLL: 'vp6vfw.dll'
Loaded DLL driver vp6vfw.dll at 10000000
HIC: 18e7750
568 - 568 - 568
Compressor type: 63646976
Compressor subtype: 32365056
Compressor flags: 40, version 65536, ICM version: 260
Flags:
Compressor data 2056 bytes
ICSetState ret: 2056
ICCompressGetFormatSize ret: 40
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [flip]
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
================================================== ========================
MP3 audio selected.
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 00C461D0]SwScaler: using unscaled yuv420p -> bgr24 special converter
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Starting compression:
Input format:
biSize 40
biWidth 720
biHeight 480
biPlanes 1
biBitCount 24
biCompression 0x0 ('')
biSizeImage 1036800
Output format:
biSize 40
biWidth 720
biHeight 480
biPlanes 1
biBitCount 24
biCompression 0x32365056 ('VP62')
biSizeImage 695296
Output format after query/begin:
biSize 40
biWidth 720
biHeight 480
biPlanes 1
biBitCount 24
biCompression 0x32365056 ('VP62')
biSizeImage 695296
New_Face failed. Maybe the font path is wrong.n 0mb A-V:0.003 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
VIDEO CODEC ID: 94
AUDIO CODEC ID: 15001, TAG: 0
Writing header...
1 duplicate frame(s)!
Pos: 0.7s 22f ( 0%) 12.46fps Trem: 7min 7mb A-V:0.070 [0:127]
Skipping frame!
Pos: 1.0s 32f ( 0%) 7.79fps Trem: 12min 8mb A-V:0.070 [285:127]
Skipping frame!
Pos: 1.3s 42f ( 0%) 5.29fps Trem: 18min 10mb A-V:0.068 [345:127]
Skipping frame!
Pos: 148.6s 4458f (49%) 2.67fps Trem: 28min 23mb A-V:0.050 [528:127]
Flushing video frames.
Writing index...
Video stream: 528.480 kbit/s (66059 B/s) size: 9817513 bytes 148.615 secs 4
458 frames
Audio stream: 128.000 kbit/s (15999 B/s) size: 2385711 bytes 149.107 secs
Terminate batch job (Y/N)? y
F:\FLV_2\flvenc> -
Well I guess it worked only because I changed the last portion of the command to -o "OUTOriginally Posted by 45tripp
PUT.flv" "1776-23dv.mpg"
So we would still be in the same boat if I wanted it to work in the gui. Well the source file was a 5 min MPEG2 file 6mbps constant 224kbps audio. I dont have a place to post it.
My other alternative is to this using what is done here http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html but the section for converting MPEG2 to Flash 8 is vague and I want to be able to do batch converting. -
Ok I used the gui again and I noticed that I had it pointing to the wrong mencoder.exe, When I corrected that it worked just like in the command line except I changed the file things at the end. So basically this command works for one pass
-af resample=44100 -oac mp3lame -lameopts cbr:br=128 -vf flip -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -of lavf -o "<OUTPUT>.flv" "<INPUT>"
Are there other settings I can put in the command line that work for mencoder using this codec for Flash? is there a simple web site that just shows command usage?
I see in the gui there is a preset to making MOV's. Does mencoder have provision to embed duration of time of file being transcoded as time code in the mov? -
you can use audio and video filters.Originally Posted by neftv
search the manual.
I have no interest in the mov container.Originally Posted by neftv
mencoder probably has limited muxing capabilities (broken?) with libavformat.
gl
Similar Threads
-
Help me (How to flash pictures)
By freddiejos in forum EditingReplies: 4Last Post: 3rd Aug 2011, 13:02 -
Flash to Mpeg for Youtube and Itunes
By hellfire45 in forum Video ConversionReplies: 1Last Post: 26th Jul 2011, 04:10 -
No audio in Flash
By OldElmerFudd in forum Software PlayingReplies: 2Last Post: 3rd Jun 2009, 11:53 -
Pioneer DV-400 - avi/mpeg off flash drive?
By snowverkill in forum DVD & Blu-ray PlayersReplies: 1Last Post: 31st Jul 2007, 19:11




Quote