[vlc] store and forward H264 streams

Gun Akkor gakkor at patton.com
Thu May 17 17:25:11 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I posted a similar problem a while ago, but unfortunately did not get
any comments/replies. I am still having the same problem, and any
suggestions/help would be appreciated.

I am running VLC 0.8.6a on a custom Linux build w/ x264 (version
svn-634), faad2 and faac (versions 2.5 and 1.24, respectively), and
ffmpeg (version svn-8387) libraries installed.

Here is the ./configure options (a lot of the options are disabled):

./configure --host=$CROSSTOOL_TARGET --build=$CONFIG_BUILD --prefix=/usr
- --enable-v4l --enable-faad --disable-libcdio --disable-libcddb
- --disable-cdda --enable-httpd --disable-vlm --disable-dvdnav
- --disable-dts --disable-vcd --disable-libmpeg2 --disable-vorbis
- --disable-cmml --disable-x11 --disable-xvideo --disable-glx
- --disable-xinerama --disable-opengl --disable-sdl --disable-freetype
- --disable-fribidi --disable-libxml2 -disable-a52 --disable-mad
- --disable-mpc --disable-mod --disable-mkv --disable-skins2
- --disable-wxwidgets --disable-visual --disable-daap --disable-bonjour
- --disable-growl --disable-notify --disable-smb --disable-gnomevfs
- --disable-ogg --with-ffmpeg-faac

This box (A) captures video from a camera, encodes w/ x264 and streams
it on  to the network. A vlc (C) client running on a Kubuntu box (Debian
package 0.8.4-svn20040920, can get this stream via UDP and display it.
It can also published it via mmsh. Other VLC clients can open this mmsh
stream.

A  ---------> C (works)

Now, if I add a third box (B), which is identical to (A) is but in
between A and C, such that the sole purpose of (B) is to get the stream
and forward to UDP to (C), the VLC instance running in box (C) can no
longer display it

A  ----------> B ----------> C (does not work)

Now, there is network connectivity, and the vlc client (C) receives the
packets. If I run vlc debug on the box (C), I see that the packets are
received, but VLC is unable to start decoding:

> [00000389] access_udp access warning: unimplemented query in control
> [00000374] main input debug: `udp://@' successfully opened
> libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0) for PI
> D 0
> [00000391] ts demuxer debug: PATCallBack called
> [00000391] ts demuxer debug: new PAT ts_id=39759 version=24 current_next=1
> [00000391] ts demuxer debug:   * number=1 pid=66
> libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0) for PI
> D 66
> [00000391] ts demuxer debug: PMTCallBack called
> [00000391] ts demuxer debug: new PMT program number=1 version=21 pid_pcr=68
> [00000391] ts demuxer debug:   * es pid=68 type=27 fcc=h264
> [00000374] main input debug: selecting program id=1
> [00000392] main packetizer debug: looking for packetizer module: 17 candidates
> [00000392] main packetizer debug: using packetizer module "packetizer_h264"
> [00000392] main packetizer debug: thread 1140881728 (decoder) created at priorit
> y 0 (input/decoder.c:159)
> [00000391] ts demuxer warning: first packet for pid=68 cc=0x8
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS
> [00000392] packetizer_h264 packetizer warning: waiting for SPS

Since the first case works, but not the second, I am guessing that some
configuration is going wrong in my custom builds. Or there is a mismatch
in versions/expectations of the decoders.

Could anybody suggest a solution?

Thanks in advance,
GA




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRkxz1lPPSFKa9hQCAQKy6AgArRINDeZnkclRg19eBFA2jpFm8uHzaPFo
zpgmCgNOEoia9pVXRY9BACBQPWFMcEoHRDTlcnqzKLU9xYF8ig7SOXJGoO3Lpnpl
aU/oLktMcfjJn+Qd8cl9tdWWUjNIdF+rcvXIPFkRpVOULPBmxM9b4smFvqqmCGEw
tKSRTnsCzdULECyG1kJJ6SCsqARdClcL1wArJG9sFED3pTmMdqXeYtjNA9AyJks5
vYtixhHuDQlfr2OdrWKyQeGoQ5z4V2kyqKahJDNPip0jgETylQxsbwyq1r17YdrI
XVjFT12N+R/OLICQwj88Pizf2crpfQ4n4GaVBLlHUA8CilJr6kewpA==
=GsRF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gakkor.vcf
Type: text/x-vcard
Size: 317 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20070517/76487d31/attachment.vcf>


More information about the vlc mailing list