[Ffmpeg-devel] ffmpeg bug(?) + possible solution

Luca Abeni lucabe72
Fri Jul 22 15:02:18 CEST 2005

Hi all,

with today's cvs, something like
sudo ./ffmpeg -re -i test.mp4 -f rtp -vcodec mpeg4 rtp://

will fail with
ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --disable-altivec 
  built on Jul 22 2005 14:57:12, gcc: 3.3.5 (Debian 1:3.3.5-13)
Input #0, mov,mp4,m4a,3gp,3g2, from 'test.mp4':
  Duration: 00:00:05.0, start: 0.000000, bitrate: 315 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 352x288, 25.00 fps
No audio or video streams available

because the rtp format has CODEC_ID_NONE for the video. If I use
"-vcodec copy", it works.
The attached patch fixes the problem, but I am not sure if it breaks
something else (I hope it doesn't :)


 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Libri e CD musicali nuovi con sconti dal 60 all'80%!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=814&d=22-7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set_codec.diff
Type: text/x-patch
Size: 933 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050722/0232e9a9/attachment.bin>

More information about the ffmpeg-devel mailing list