Hi,

> -----Original Message-----
> From: [email protected] [mailto:libav-user-
> [email protected]] On Behalf Of Yadnesh Phadke
> Sent: 02 July 2010 10:14
> To: Libav* user questions and discussions
> Subject: Re: [libav-user] Stream 3GP format over HTTP
> 
> Thanks Andrew.
> 
> I am novice to the area of media formats and streaming.
>  Your explanation really helps. :)
> 
> So as I understand, currently it is not possible to stream 3GP or mpeg4
> formats over HTTP because of the reasons you have already mentioned.
> But I
> have some more questions now
> 
> 1) Is it possible to stream the content over RTSP/ RTP / UDP?  I will
> need
> to investigate whether it is possible to render  RTSP/ RTP / UDP on
> Android.
> 

I am not sure about RTP streaming with FFMPEG - I guess it will depend on what 
codecs the phone supports as well (assuming it does support RTSP / RTP).  RTP 
is certainly a good choice for streaming in general, as it is designed for it, 
where the other container formats often are not (or have been badly designed 
for it).  I think that ffmpeg supports h.264 for RTP streaming, which will 
almost certainly be supported by the phone.  As for audio, I am not as certain.

> 
> 2) You mentioned,
>  The best solution to this just now is to pre-convert any videos into
> 3gp
> format and then stream them directly.
> But I do not understand what you say :(  I am able to convert my
> content to
> .mp4 that plays on Android.  But when I try to stream the mp4 file over
> HTTP
> using ffmpeg and ffserver, I get the errors mentioned earlier.
> 
> 
> Also in the commands mentioned below I am using "747.3gp" to try
> streaming
> over HTTP and I get errors.  But the same file plays on my machine and
> also
> on Android when I use "http://daily3gp.com/vids/747.3gp"; on the player.
> So
> I suspected that something is wrong with the configuration.
> 

Looking at the errors, did you compile ffmpeg with AAC encoding (FAAC) support? 
 I think it uses AAC by default to encode mp4 regardless of if you compiled it 
with AAC support.  Beyond that, I don't know too much about ffserver and ffmpeg 
interaction.

Andrew :)

---------------------------------------------------------

   Andrew G D Rowley
   Senior Development Officer

   Research Computing Services
   The University of Manchester
   Devonshire House, Oxford Road
   Manchester, M13 9PL
 
   t :  +44 (0) 161 275 0685
   e :  [email protected]
   w :  www.manchester.ac.uk/researchcomputing
 
---------------------------------------------------------

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to