[FFmpeg-cvslog] ffserver: set the sample aspect ratio
Nicolas George
git
Fri Feb 18 20:38:21 CET 2011
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Wed Feb 16 14:53:08 2011 +0100| [34c340d49f2e6ca5190f16ced82da32561a7bef2] | committer: Michael Niedermayer
ffserver: set the sample aspect ratio
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:
Wed Feb 16 14:52:14 2011 [rtp @ 0x1399de0]Aspect ratio mismatch between encoder and muxer layer
Regards,
--
Nicolas George
More information about the ffmpeg-cvslog
mailing list