[vlc-devel] FFmpeg video scaling problem
    Christophe Massiot 
    massiot at via.ecp.fr
       
    Thu Nov 15 16:42:36 CET 2007
    
    
  
On Wed, Nov 14, 2007, Brian C. Wiles wrote:
> I finally figured out the source of my video streaming problem.  For 
> some reason, it works under vlc-0.8.6c, but not under 0.9.0-svn.
> 
> In modules/codec/ffmpeg/encoder.c, starting at line 384, there is this 
> chunk of code:
> 
>         p_context->width = p_enc->fmt_in.video.i_width;
>         p_context->height = p_enc->fmt_in.video.i_height;
>         if( p_enc->fmt_out.i_codec == VLC_FOURCC('m', 'p', '2', 'v')
>              && (p_context->width > 720 || p_context->height > 576) )
>             p_context->level = 4; /* High level */
What's the difference between 0.8.6c and 0.9.0-svn in those lines ?
-- 
Christophe Massiot.
    
    
More information about the vlc-devel
mailing list