[MEncoder-users] Frameserving from Premiere to MEncoder

Nicolas Hesler nicolas.hesler at sheridanc.on.ca
Thu Oct 4 20:22:05 CEST 2007


Nico Sabbi wrote:
> Il Wednesday 03 October 2007 21:00:11 Nicolas Hesler ha scritto:
>   
>> I've been trying to frameserve from Premiere CS3 to MEncoder.
>>
>> Debugmode's Frameserver seems to work with Premiere but MEncoder
>> seems unable to pick up and encode the video.
>> If I simply do -ovc copy and -oac copy, it works fine. If I
>> introduce different audio codecs (-oac), it works fine.  As soon as
>> I introduce something other than copy to -ovc, mencoder exits
>> before encoding.
>>
>> Can anyone suggest a method to proceed with this? Can anyone
>> suggest any other method to serve frames from Premiere to MEncoder?
>>
>> C:\mplayer\movie>..\mencoder -ovc lavc -oac lavc -of mpeg movie.avi
>> -o movie.mpg
>>
>> MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
>> CPU: Intel(R) Xeon(TM) CPU 3.73GHz (Family: 15, Model: 6, Stepping:
>> 4) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0
>> SSE2: 0 Compiled with runtime CPU detection.
>> success: format: 0  data: 0x0 - 0x195f55e
>> AVI file format detected.
>> Detected NON-INTERLEAVED AVI file format.
>> VIDEO:  [DFSC]  720x480  24bpp  24.000 fps    1.5 kbps ( 0.2
>>     
>
> I guess DFSC is an unknown video coded
>   

I seem to have gotten it working using AviSynth as a mediator between 
the frameserver and mencoder.  

Is there a way to force mencoder to read the direct output from the 
frameserver?  With the AVISynth acting as an intermediate, the video is 
interpreted as VIDEO:  [YV12].   Can I force mencoder to try to read that?

BTW, my avisynth script is really simple (one line):

avisource("source.avi")

MEncoder Sherpya-SVN-r24537-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.73GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x14
AVS file format detected.
VIDEO:  [YV12]  720x480  12bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:38  fourcc:0x32315659  size:720x480  fps:24.00  ftime:=0.0417
Input fps will be interpreted as 24.00 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
MPEG MUXER, patching framerate to 29.97 fps
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480 interlaced=0 chr-drop=0 
param=0.00 para
m2=0.75]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 00D80B00]SwScaler: using unscaled yuv420p -> yuv420p special 
convert
er
videocodec: libavcodec (720x480 fourcc=3267706d [mpg2])
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
INITV: 0.200, 0.158, fps: 23.976

ENABLED SOFT TELECINING, FPS=29.970
Pos:  41.8s   1001f (30%) 26.84fps Trem:   1min  38mb  A-V:0.042 [2103:223]
Skipping frame!
Pos:  83.5s   2002f (60%) 26.74fps Trem:   0min  40mb  A-V:0.042 [2185:223]
Skipping frame!
Pos: 125.2s   3003f (91%) 26.40fps Trem:   0min  43mb  A-V:0.042 [2378:224]
Skipping frame!
Pos: 137.1s   3289f (100%) 26.55fps Trem:   0min  41mb  A-V:0.042 [2278:224]
Flushing video frames.
Writing index...




More information about the MEncoder-users mailing list