VideoHelp Forum




+ Reply to Thread
Results 1 to 27 of 27
  1. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    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.
    Quote Quote  
  2. 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
    Quote Quote  
  3. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    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
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    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?
    Actually if I can convert MPEG2 to Flash 8 equal that would be great. Any help is appreciated.
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by neftv
    Have you tried it with Mencoder with GUI?
    gui?

    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
    Originally Posted by neftv
    Actually if I can convert MPEG2 to Flash 8 equal that would be great. Any help is appreciated.
    equal?
    in what way?

    gl
    Quote Quote  
  6. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    Originally Posted by neftv
    Have you tried it with Mencoder with GUI?
    gui?

    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
    Originally Posted by neftv
    Actually if I can convert MPEG2 to Flash 8 equal that would be great. Any help is appreciated.
    equal?
    in what way?

    gl

    I meant there is software called Simple Mencoder Shell GUI how would that code work with that software?
    Equal I meant VP62.
    Quote Quote  
  7. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Yeah, if you script it and add to presets.
    you still have to prep the encode by setting up vp6 and putting the firstpass.mcf files in the mencoder directory

    gl
    Quote Quote  
  8. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    Yeah, if you script it and add to presets.
    you still have to prep the encode by setting up vp6 and putting the firstpass.mcf files in the mencoder directory

    gl
    Ok I got as far as making the firstpass.mcf and secondpass.mcf files.
    Quote Quote  
  9. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    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 :
    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>"
    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=secondpass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -of lavf -o "<OUTPUT>.flv" "<INPUT>"
    load file with pass1
    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
    Quote Quote  
  10. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    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 :
    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>"
    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=secondpass.mcf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -of lavf -o "<OUTPUT>.flv" "<INPUT>"
    load file with pass1
    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.
    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?
    Quote Quote  
  11. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Great!

    I'd been waiting for a new build.

    remove:
    Code:
    -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
    from the commandline

    gl
    Quote Quote  
  12. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    Great!

    I'd been waiting for a new build.

    remove:
    Code:
    -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
    from the commandline

    gl
    Ok removed the line. Now I am getting this in the log. A FLV file is created but its 0bytes.

    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...
    Quote Quote  
  13. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    probably something wrong with onepass.mcf?
    Quote Quote  
  14. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    probably something wrong with onepass.mcf?
    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.
    Quote Quote  
  15. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    do it without the gui to get the full output from mencoder, and see why it's failing.

    try rolling back one version and using the old commandline.

    gl
    Quote Quote  
  16. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    do it without the gui to get the full output from mencoder, and see why it's failing.

    try rolling back one version and using the old commandline.

    gl
    I've not been able to do this that is why I have not replied.
    Quote Quote  
  17. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    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
    Quote Quote  
  18. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    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...
    Quote Quote  
  19. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    yes.

    remove the brackets from the filenames "< >"
    Quote Quote  
  20. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    yes.

    remove the brackets from the filenames "< >"
    well now I am getting this

    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.
    Quote Quote  
  21. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Remove the brackets from output too.
    rename to 'output.flv'

    Originally Posted by neftv
    File not found: '<F:\FLV 2\FLVENC\1776-23.dv.mpg>'
    Originally Posted by neftv
    File not found: 'F:\FLV2\FLVENC\1776-23dv.mpg'

    And I do have a file called 1776-23dv.mpg in that directory.
    You've droped a period '.' from the first attempt to the second.
    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
    Quote Quote  
  22. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    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>
    Quote Quote  
  23. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    so it works.
    and will work in the gui too.

    I do filtering with avisynth.
    but you can easily crop and resize with mencoder.

    i can't help you without specifics about the source file.

    probably be easier to upload a sample somewhere.
    i'll look at it

    gl
    Quote Quote  
  24. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    Originally Posted by 45tripp
    so it works.
    and will work in the gui too.

    I do filtering with avisynth.
    but you can easily crop and resize with mencoder.

    i can't help you without specifics about the source file.

    probably be easier to upload a sample somewhere.
    i'll look at it

    gl
    Well I guess it worked only because I changed the last portion of the command to -o "OUT
    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.
    Quote Quote  
  25. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    no reason the gui wouldn't really.
    try again.

    i prefer mencoder.

    lot's of places to upload.
    wiki upload is one.

    gl
    Quote Quote  
  26. Member
    Join Date
    Dec 2004
    Location
    PA USA
    Search Comp PM
    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?
    Quote Quote  
  27. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by neftv
    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?
    you can use audio and video filters.
    search the manual.

    Originally Posted by neftv
    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?
    I have no interest in the mov container.
    mencoder probably has limited muxing capabilities (broken?) with libavformat.

    gl
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!