I have tested the RTSP muxer together with Darwin and Android and I am
facing serious av synch issues. The command I use is this:

ffmpeg -re -i <input> -f rtsp -vcodec mpeg4 -b 500k -r 25 -acodec aac
-strict experimental -ab 128000 -ac 2 -ar 44100 rtsp://
127.0.0.1/streamer.sdp

I have tested with various input files. They are usually 320x240 or so with
bitrate around 600K-800K.

The Darwin is running on the same PC. It is set to have no authentication
method so the ANNOUNCE requests are processed.

Then on the phone Android side I play the stream via this URL:
rtsp://server_ip/streamer.sdp

All works just fine and I am able to watch audio/video in Android but
sometimes ( let say every 2-3 plays ) the streams are seriously out of synch
( can be like 10s or so ). The synch problem happens only on start and stays
like this. I see no drift. Looks like the Android player is not properly
synching streams to each other on start I guess.

Another thing to note - in the same ffmpeg streaming session the Android
player can be in synch and on the next connect ( without restarting the
streaming session ) can be out of synch.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to