[vlc] Re: h.263 bug in transcode.c?
Gildas Bazin
gbazin at altern.org
Thu Apr 15 21:12:48 CEST 2004
On Wednesday 14 April 2004 14:57, Callan, Wilson wrote:
> Hi, i'm using VLC 0.7.1 on x86 Debian linux without a display, just as a
streamer. i used this command line:
> ./vlc udp:// --sout
'#transcode{vcodec=H263,scale=1,vb=32,acodec=mpga,ab=32,channels=1}:\
> standard{access=udp,mux=ts,url=12.46.113.63:1234}'
>
> i got an error from ffmpeg-20040222/libavcodec/mpegvideo.c "Input picture
size isn't suitable for h263 codec! try h263+\n". this is because H263
only supports standard resolutions (QCIF etc) and
vlc-0.7.1/modules/stream_out/transcode.c calls it with this code:
> id->p_encoder->fmt_in.video.i_width = 16;
> id->p_encoder->fmt_in.video.i_height = 16;
>
> 16x16 is rejected. i fixed it with:
> id->p_encoder->fmt_in.video.i_width = id->f_src.video.i_width;
> id->p_encoder->fmt_in.video.i_height = id->f_src.video.i_height;
>
> here's my questions:
> 1) is this a known bug or should i enter it in bugzilla?
>
Ok, I committed a fix for it.
The problem is that id->f_src.video.i_width/height is not necessarily known
at this stage and we only want to test if the encoder is useable.
> 2) could somebody build this fix into an executable for windows for me?
>
Nightly builds are available here:
http://www.videolan.org/~videolan/build/
--
Gildas
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list