[Ffmpeg-devel] MPEG4 streaming over RTP

Zoltan NAGY nagyz
Fri Jul 22 10:27:09 CEST 2005


Luca Abeni wrote:

>I did some more experiments, with the current CVS code (which includes
>the IPV6 fixes). As noted in a previous mail, if you do not disable IPV6
>you have to run the program as root.
>  
>
allright, this time I removed the #define for ipv6 from config.h
see my results...

>I guess you started ffmpeg before ffplay, right? 
>
no, I started ffplay first, then ffmpeg.

here are the outputs:

plazma3:~/ffmpeg# ./ffplay ../pippo.sdp
just black screen, that's ok, as there's no stream yet :)
starting ffmpeg:
plazma:~/ffmpeg# ./ffmpeg -an -re -i ~/4cast/c770.mp4 -vcodec copy -f 
rtp rtp://224.0.10.10:18888?multicast=1;
ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-faad --enable-mp3lame --enable-gpl 
--enable-shared
  built on Jul 22 2005 10:22:00, gcc: 3.3.5 (Debian 1:3.3.5-13)
Input #0, mov,mp4,m4a,3gp,3g2, from '/root/4cast/c770.mp4':
  Duration: 00:00:11.6, start: 0.000000, bitrate: 2243 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x480, 29.97 fps
  Stream #0.1: Audio: aac, 48000 Hz, stereo
Output #0, rtp, to 'rtp://224.0.10.10:18888?multicast=1':
  Stream #0.0: Video: mpeg4, 640x480, 29.97 fps, q=2-31
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  112 q=0.0 Lsize=     938kB time=3.7 bitrate=2056.7kbits/s

and so on..

while on the other screen:
[NULL @ 0xb7ea5be8]RTP: PT=60: bad cseq 0000 expected=0001
[NULL @ 0xb7ea5be8]hmm, seems the headers are not complete, trying to 
guess time_increment_bits
[NULL @ 0xb7ea5be8]my guess is 15 bits ;)
[NULL @ 0xb7ea5be8]looks like this file was encoded with 
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0xb7ea5be8]hmm, seems the headers are not complete, trying to 
guess time_increment_bits
[mpeg4 @ 0xb7ea5be8]my guess is 15 bits ;)
[mpeg4 @ 0xb7ea5be8]looks like this file was encoded with 
(divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0xb7ea5be8]picture size invalid (0x0)
[mpeg4 @ 0xb7ea5be8]get_buffer() failed (-1 0 0 (nil))
[mpeg4 @ 0xb7ea5be8]picture size invalid (0x0)
[mpeg4 @ 0xb7ea5be8]get_buffer() failed (-1 0 0 (nil))

and so on :)

http://nefty.hu/~nagyz/config.h
http://nefty.hu/~nagyz/config.mak
what else should I provide in order to be able to fix this?

Thanks in advance,

Zoltan NAGY,
Software Engineer






More information about the ffmpeg-devel mailing list