[vlc-devel] FFmpeg video scaling problem
Brian C. Wiles
brian at poldon.com
Thu Nov 15 20:59:23 CET 2007
It doesn't look like there's any difference. As an experiment, I tried
changing it to always set the level to 4, but that still didn't work.
Apparently, the problem lies somewhere else or I missed something.
I should also note that this is the line I'm using to transcode a video:
This doesn't work under the Qt4 interface either. For some reason, it
says it's streaming, but it doesn't.
Christophe Massiot wrote:
> 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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel