[FFmpeg-devel] [PATCH] ffserver: set the sample aspect ratio

Luca Barbato lu_zero
Wed Feb 16 15:20:13 CET 2011

On 02/16/2011 02:53 PM, Nicolas George wrote:
> Hi.
> It seems that ffserver sets sample_aspect_ratio to an invalid value and lavf
> rejects it.
> I am not sure what I am doing here, but the attached patch actually solves
> something: using the following config:
> CustomLog -
> NoDaemon
> RTSPPort 5454
> <Stream test1-rtsp.mpg>
> Format rtp
> File "/tmp/test1-rtsp.mpg"
> </Stream>
> it allows a somewhat old ffplay (unaffected by the content-base issue I
> spoke of in another thread) to play the stream.
> Without it, ffserver logs this and closes the stream:

Thank you for spotting and reproducing it, patch ok and queued (so by
this night will appear).



Luca Barbato

More information about the ffmpeg-devel mailing list