[vlc] h.263 bug in transcode.c?

Callan, Wilson wcallan at starentnetworks.com
Wed Apr 14 14:57:56 CEST 2004


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?
2) could somebody build this fix into an executable for windows for me?

thanks! wilson


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2774 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20040414/0a38ff64/attachment.bin>


More information about the vlc mailing list