1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Go to file
Nicolas George 6741f7c9be 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

From 1b89c3c2164335060e87567b27deb0d354e0a814 Mon Sep 17 00:00:00 2001
From: Nicolas George <nicolas.george@normalesup.org>
Date: Wed, 16 Feb 2011 14:44:31 +0100
Subject: [PATCH] ffserver: set the sample aspect ratio.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
2011-02-17 00:37:00 +01:00
doc documentation: add encoders chapter 2011-02-17 00:04:31 +01:00
ffpresets Update qmin/qmax values for libx264 presets 2011-02-08 15:59:30 -08:00
libavcodec vbv_delay AVOption for ABI compatibility 2011-02-16 23:05:46 +01:00
libavdevice Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
libavfilter Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
libavformat spdifenc: set flag AVFMT_NOTIMESTAMPS 2011-02-16 23:59:38 +01:00
libavutil Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
libpostproc consolidate .gitignore patters into a single file 2011-01-18 21:32:05 +01:00
libswscale Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
tests ac3enc: change default floor code to 7. 2011-02-15 21:40:42 +00:00
tools In graph2dot, print more specific audio information for audio links. 2011-02-17 00:02:11 +01:00
.gitignore consolidate .gitignore patters into a single file 2011-01-18 21:32:05 +01:00
Changelog spdifenc: IEC 61937 encapsulation of DTS-HD for HDMI 2011-02-13 15:16:39 +01:00
cmdutils_common_opts.h Implement a -pix_fmts option for listing all the supported pixel 2009-12-21 21:53:03 +00:00
cmdutils.c Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
cmdutils.h Make this_year static to cmdutils.c 2011-01-24 23:44:58 +00:00
common.mak Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
configure Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Deprecate CREDITS 2011-01-18 11:20:17 -08:00
Doxyfile Do not generate LaTeX Doxygen documentation by default. 2010-07-12 18:36:07 +00:00
ffmpeg.c Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
ffplay.c Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
ffprobe.c Make ffprobe print stream language only once, also remove usage of the 2010-10-16 14:33:05 +00:00
ffserver.c ffserver: set the sample aspect ratio 2011-02-17 00:37:00 +01:00
ffserver.h
INSTALL
LICENSE Remove h264 asm items off the GPL-only list. They are LGPL now. 2010-09-10 03:31:24 +00:00
MAINTAINERS Initial MAINTAINERS update 2011-01-18 11:05:51 -08:00
Makefile Merge libavcore into libavutil 2011-02-15 16:18:21 +01:00
README
subdir.mak fix building test programs with gnu make 3.82 2010-12-07 16:42:25 +00:00
version.sh Fix quoting in version.sh 2011-01-18 20:48:23 +00:00

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.