Statistics
| Branch: | Revision:

ffmpeg / libavdevice @ 075a5560

# Date Author Comment
075a5560 04/14/2011 01:33 AM Carl Eugen Hoyos

Support a-law and mu-law output in alsa.

44a8b0dd 04/12/2011 07:33 AM Sven C. Dack

Cosmetics: Rename variable param as the more appropriate dpyname.

9af20971 04/12/2011 07:27 AM Sven C. Dack

Cosmetics: Fix white-space in av_log() message.

ff2614ee 04/12/2011 07:17 AM Carl Eugen Hoyos

Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.

71306c5d 04/12/2011 07:11 AM Carl Eugen Hoyos

Support CODEC_ID_PCM_F64* output via alsa (stereo only).

5778466e 04/12/2011 06:56 AM Carl Eugen Hoyos

Support CODEC_ID_PCM_S24* output via alsa (stereo only).

2e92a34c 04/10/2011 10:37 PM Michael Niedermayer

Revert "fbdev: simplify logic in fbdev_read_packet()"

This change is buggy.

This reverts commit d46c9f83cf495c901e6128ce1042190f620b89c4.

d46c9f83 04/10/2011 10:14 PM Stefano Sabatini

fbdev: simplify logic in fbdev_read_packet()

Signed-off-by: Stefano Sabatini <>

c55efca0 04/10/2011 01:49 AM Carl Eugen Hoyos

x11: fix memleak

Signed-off-by: Michael Niedermayer <>

2ed05f65 04/05/2011 02:12 PM Carl Eugen Hoyos

Add support for pcm_f32* to alsa.

4d1d6f7a 04/05/2011 09:03 AM Carl Eugen Hoyos

Support s32 output via alsa audio device.

efec2d7b 04/05/2011 09:03 AM Carl Eugen Hoyos

Template alsa reordering functions.

1e96d4c7 03/31/2011 04:49 PM Nicolas George

ALSA: fix a stupid bad use of av_freep.

It caused a segfault when channel reordering was in use and the last chunk
of data was not silent.
Spotted and diagnosed by Carl Eugen Hoyos.

39530272 03/30/2011 03:02 PM Sven C. Dack

Remove a memory allocation and the associated memcpy.

3efaa24f 03/30/2011 10:36 AM Carl Eugen Hoyos

Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

18627787 03/29/2011 06:21 PM Reimar Döffinger

sndio: allow any endianness when recording

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
It is possible that 8-bit recording would not have worked at all on...

e76c0c6a 03/29/2011 06:18 PM Reimar Döffinger

Simplify: Use FFMIN.

59bf303d 03/29/2011 12:46 AM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

  • newdev/master:
    ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using exponent reference blocks.
    Chronomaster DFA decoder
    DUPLICATE: framebuffer device demuxer
    NOT MERGED: cosmetics: fix dashed line length after 070c5d0...
e93d9715 03/28/2011 08:50 PM Stefano Sabatini

sndio: prefer "FFmpeg" over "Libav" in the license header

c6f95144 03/28/2011 02:49 PM Stefano Sabatini

framebuffer device demuxer

Signed-off-by: Anton Khirnov <>

25d8099b 03/27/2011 11:50 PM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

  • newdev/master:
    ac3enc: Add codec-specific options for writing AC-3 metadata.
    NOT MERGED: Remove arrozcru URL from documentation
    sndio support for playback and record

Conflicts:
doc/faq.texi
doc/general.texi...

15d59d2c 03/27/2011 08:46 AM Brad

sndio support for playback and record

Signed-off-by: Anton Khirnov <>

813dbb44 03/26/2011 03:50 PM Nicolas George

ALSA: implement channel layout for playback.

Currently, only S16 quad, 5.1 and 7.1 are implemented.
Implementing support for other formats/layouts and capture should be
straightforward.

7.1 support by Carl Eugen Hoyos.

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

e528cdac 03/17/2011 04:26 PM Michael Niedermayer

Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"

This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.

0cb88628 03/17/2011 04:26 PM Michael Niedermayer

Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"

This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.

0fecf264 03/17/2011 04:22 PM Michael Niedermayer

Merge remote-tracking branch 'newdev/master'

Conflicts:
Changelog
doc/APIchanges
doc/optimization.txt
libavformat/avio.h

Merged-by: Michael Niedermayer <>

a03be6e1 03/16/2011 08:54 PM Janne Grunau

use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*

29ba0911 03/16/2011 08:54 PM Janne Grunau

replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION

also update the multiple inclusion guards in config.h|mak

47860766 03/13/2011 12:41 AM Stefano Sabatini

fbdev: fix check on nanosleep return vale

In fbdev_read_packet(): nanosleep returns -1 in case of errors,
the EINTR check has to be done on errno.

Spotted by Nicolas.

Signed-off-by: Michael Niedermayer <>

1a204f07 03/08/2011 04:33 PM Stefano Sabatini

framebuffer device demuxer

7ffe76e5 02/16/2011 10:00 PM Reinhard Tartler

Merge libavcore into libavutil

Done to keep ABI compatible. Otherwise this is just silly

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody...

66355be3 01/28/2011 02:15 AM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.

2c3589bf 01/18/2011 08:32 PM Janne Grunau

consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <>

348b8218 01/17/2011 02:50 PM Janne Grunau

convert svn:ignore properties to .gitignore files

Signed-off-by: Janne Grunau <>

5d3d238f 01/05/2011 02:15 PM Stefano Sabatini

Factorize common code in v4l2_set_parameters().

Originally committed as revision 26225 to svn://svn.ffmpeg.org/ffmpeg/trunk

8621a37d 01/05/2011 02:15 PM Stefano Sabatini

In video4linux2, in the case the timebase value in ap is 0/0, read the
timebase value already set in the driver, and set it back in the codec
stream, rather than leaving the invalid value of 0/0.

In particular, fix ffmpeg grabbing timestamps when the timebase value...

bd7d9e45 01/04/2011 06:18 PM Stefano Sabatini

In the video4linux2 output device, log an error description in case of
ioctl failure in mmap_release_buffer().

Originally committed as revision 26214 to svn://svn.ffmpeg.org/ffmpeg/trunk

8ce803db 11/07/2010 06:04 PM Jason Garrett-Glaser

Make x11grab cursor drawing suck less
This new version:
1. Works on 24-bit and 32-bit input, not just 32-bit.
2. Doesn't try to run on 16-bit or 8-bit, instead of outright crashing.
3. Does proper alpha-blending, so cursor shadows look correct.
4. Doesn't swap R and B....

1973e101 10/23/2010 02:11 AM Ramiro Polla

vfwcap: add option to print list of supported drivers

Originally committed as revision 25552 to svn://svn.ffmpeg.org/ffmpeg/trunk

70f77361 09/23/2010 09:16 AM José Miguel Gonçalves

Allow to set the frame rate in v4l2 devices
Patch by José Miguel Gonçalves (jose DOT goncalves AT inov DOT pt)

Originally committed as revision 25159 to svn://svn.ffmpeg.org/ffmpeg/trunk

01058893 09/12/2010 07:44 PM Stefano Sabatini

Cosmetics: simplify layout of fmt_conversion_table, make it shorter
and more readable.

Originally committed as revision 25108 to svn://svn.ffmpeg.org/ffmpeg/trunk

680861ca 09/11/2010 04:44 PM Stefano Sabatini

Cosmetics: apply minor style fixes.

Originally committed as revision 25106 to svn://svn.ffmpeg.org/ffmpeg/trunk

e16f217c 09/07/2010 07:15 PM Stefano Sabatini

Use new imgutils.h API names, fix deprecation warnings.

Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk

4f2d2e4e 08/17/2010 06:25 PM Stefano Sabatini

Define macro AV_NE() and use it in libavdevice.

Help further refactoring.

Originally committed as revision 24814 to svn://svn.ffmpeg.org/ffmpeg/trunk

b4f81b74 08/11/2010 07:34 AM Pete Eberlein

Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
video4linux2 devices. This is used by Sensoray Model 2253 cards.
Patch by Pete Eberlein (pete AT sensoray DOT com)

Originally committed as revision 24759 to svn://svn.ffmpeg.org/ffmpeg/trunk

6ce9b431 08/06/2010 09:37 AM Stefano Sabatini

Remove use of the deprecated function avcodec_check_dimensions(), use
av_check_image_size() instead.

Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk

09f6a45d 07/02/2010 11:19 AM Diego Biurrun

Remove non-existing stray arguments from Doxygen function documentation.

Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk

33e7febd 06/21/2010 10:54 PM Carl Eugen Hoyos

Remove stray semicolon.

Originally committed as revision 23691 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1b85795 06/10/2010 05:23 PM Diego Biurrun

Remove broken BeOS audio interface.

Originally committed as revision 23568 to svn://svn.ffmpeg.org/ffmpeg/trunk

50f85218 05/01/2010 08:24 AM Stefano Sabatini

Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case
of failure return the stored value rather than the current errno,
which may be overwritten by a following call to close().

Originally committed as revision 23001 to svn://svn.ffmpeg.org/ffmpeg/trunk

faa2989e 04/29/2010 01:05 PM Ramiro Polla

vfwcap: flip RGB rawvideo.

Originally committed as revision 22989 to svn://svn.ffmpeg.org/ffmpeg/trunk

b01dba14 04/28/2010 08:02 AM Luca Abeni

Check the return value of device_try_init() immediately after calling such a
function. Avoids the following warning:
libavdevice/v4l2.c: In function ‘v4l2_read_header’:
libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function...

6e25b780 04/27/2010 10:45 PM Stefano Sabatini

Fix weird brace placement.

Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ace15f5 04/27/2010 09:33 PM Luca Abeni

Reduce the verbosity of the v4l2 input device

Originally committed as revision 22980 to svn://svn.ffmpeg.org/ffmpeg/trunk

4f54d924 04/27/2010 09:32 PM Luca Abeni

Simplify some output messages in the v4l2 input device

Originally committed as revision 22979 to svn://svn.ffmpeg.org/ffmpeg/trunk

932d775f 04/26/2010 10:07 PM Stefano Sabatini

Implement v4l2 input size autodetection in v4l2_read_header().

Move check on frame size after the device is opened and after
device_try_init() is attempted. If the provided size value is 0x0,
perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the...

c57a8fef 04/26/2010 07:40 PM Stefano Sabatini

Return meaningful error codes, rather than always -1.

Originally committed as revision 22966 to svn://svn.ffmpeg.org/ffmpeg/trunk

18225025 04/25/2010 06:47 PM Stefano Sabatini

Remove unnecessary width and height variables from v4l2_read_header().

Originally committed as revision 22963 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk

2874c81c 04/03/2010 02:15 PM Stefano Sabatini

Replace all remaining occurrences of AVERROR_NOMEM with
AVERROR.

AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.

Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk

fea9bb2f 04/02/2010 01:33 PM Martin Storsjö

Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_

Originally committed as revision 22776 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc947f04 03/31/2010 12:29 PM Jean-Daniel Dupas

Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.

Patch by Jean-Daniel Dupas, devlists shadowlab org

Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd01c393 03/25/2010 12:41 AM Stefano Sabatini

Make audio_read_packet() return AVERROR_EOF rather than AVERROR =
AVERROR = 1.

Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk

85f273c7 03/23/2010 11:35 PM Ramiro Polla

x11grab: AVFormatParameters are always passed from av_open_input_stream(),
there is no need to check for it.

Originally committed as revision 22651 to svn://svn.ffmpeg.org/ffmpeg/trunk

e547328b 03/21/2010 09:24 AM Diego Biurrun

Revert removal of _NETBSD_SOURCE definition.
It is indeed necessary to compile on NetBSD.

Originally committed as revision 22613 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad8eede7 03/17/2010 04:36 AM Ramiro Polla

vfwcap: Free remaining packets on vfw_read_close().

Originally committed as revision 22575 to svn://svn.ffmpeg.org/ffmpeg/trunk

ce03ed4d 03/17/2010 04:24 AM Ramiro Polla

Do not store a copy of AVFormatContext *s in vfw_ctx.
Save *s directly in SetWindowLongPtr instead.

Originally committed as revision 22574 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ae092ee 03/13/2010 07:19 PM Stefano Sabatini

Replace all the occurrences of AVERROR_EIO with AVERROR, and mark
AVERROR_EIO for deletion at the next major bump.

Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk

4f4e4008 03/12/2010 05:29 PM Diego Biurrun

Replace BSD-specific integer types by their POSIX equivalents.
Mark bktr_init function as av_cold.
Tested to work by Michael Kostylev on the NetBSD FATE box.

Originally committed as revision 22487 to svn://svn.ffmpeg.org/ffmpeg/trunk

2138dc99 03/12/2010 05:28 PM Diego Biurrun

Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.

This make NetBSD compile out of the box at the cost of a hack, but a
locally contained one that is preferable to the one used in the wild.
Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work...

e24080f0 03/10/2010 05:25 AM Ramiro Polla

vfwcap: Add support for UYVY pixel format.

Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26e58e3 03/06/2010 10:36 PM Måns Rullgård

Add some missing #includes

Originally committed as revision 22258 to svn://svn.ffmpeg.org/ffmpeg/trunk

d5963ee6 03/03/2010 09:16 AM Jorge Acereda

Add _NETBSD_SOURCE definition to fix compilation on NetBSD.
NetBSD is unlikely to fix their headers and the FATE box passes it
as -D_NETBSD_SOURCE on the command line anyway. In this case, it's
better to keep the hack well-contained within this file.
Closes issue 886....

d7a4961e 02/23/2010 04:49 PM Nash Tsai

vfwcap: support MJPG compressed streams.
Patch by Nash Tsai <nash dot tsai at gmail dot com>

Originally committed as revision 22004 to svn://svn.ffmpeg.org/ffmpeg/trunk

802da0b4 02/21/2010 03:23 AM Ramiro Polla

Indent.

Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk

1dc5c358 02/05/2010 11:24 PM Stefano Sabatini

Satisfy style nits.

Originally committed as revision 21648 to svn://svn.ffmpeg.org/ffmpeg/trunk

90d0379f 01/28/2010 03:45 PM Jai Menon

Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.

Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk

420755dd 01/23/2010 08:58 PM kemuri

vfwcap: Include windows.h before vfw.h since the latter requires defines
from the former.
Patch by kemuri <kemuri9 at gmail dot com>

Originally committed as revision 21411 to svn://svn.ffmpeg.org/ffmpeg/trunk

a482e61b 01/16/2010 04:49 AM Måns Rullgård

Add symbol versioning for shared libraries

Based on patch by Reinhard Tartler <siretart tauware de>

Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk

8040c3b2 01/03/2010 10:43 AM Reinhard Tartler

Define device_try_init() as static in libavdevice/v4l2.c.
Patch by Reinhard Tartler (siretart AT tauware DOT de).

Originally committed as revision 21004 to svn://svn.ffmpeg.org/ffmpeg/trunk

3d1ebac8 12/14/2009 11:23 PM Carl Eugen Hoyos

Define _XOPEN_SOURCE as 600 before including a XSI extension header.

Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk

1f15747f 12/14/2009 10:52 AM Carl Eugen Hoyos

Use enum PixelFormat as type for input_pixfmt to avoid one icc warning.

Originally committed as revision 20859 to svn://svn.ffmpeg.org/ffmpeg/trunk

3db77ccf 12/14/2009 10:34 AM Luca Abeni

Support compressed formats in the V4L2 input device.
Patch by klchxbec AT freenet DOT de.

Originally committed as revision 20858 to svn://svn.ffmpeg.org/ffmpeg/trunk

9eb6e9d9 12/14/2009 10:33 AM Luca Abeni

Add support for V4L2 compressed formats in the table used for converting
between V4L2 formats and ffmpeg's formats/codecs.
Patch by klchxbec AT freenet DOT de.

Originally committed as revision 20857 to svn://svn.ffmpeg.org/ffmpeg/trunk

9202218e 12/14/2009 10:31 AM Luca Abeni

Use the correct type for the V4L2 format.

Originally committed as revision 20856 to svn://svn.ffmpeg.org/ffmpeg/trunk

158aa9f2 12/14/2009 10:30 AM Luca Abeni

Return pkt->size in v4l2_read_packet().
mmap_read_frame() takes care of ensuring that the packet size
is correct.

Originally committed as revision 20855 to svn://svn.ffmpeg.org/ffmpeg/trunk

419bddd3 11/29/2009 11:30 PM Matthieu Castet

Include alsa headers before the internal FFmpeg headers.

This avoids symbol redefinitions problems, for example avoids the "free"
symbol to be redefined before system headers actually using it are
included, thus breaking compilation. In particular this change allows...

244c8d10 11/29/2009 10:39 PM Ivo van Poorten

consistency with other files: av_cold static ---> static av_cold

Originally committed as revision 20662 to svn://svn.ffmpeg.org/ffmpeg/trunk

f6dcc937 11/27/2009 07:36 PM Michael Niedermayer

Add nomouse option to not record the mouse cursor.
Implements issue877

Originally committed as revision 20633 to svn://svn.ffmpeg.org/ffmpeg/trunk

a5a61fac 11/27/2009 06:56 PM Michael Niedermayer

Remove unused stuff.

Originally committed as revision 20632 to svn://svn.ffmpeg.org/ffmpeg/trunk

781c1aa6 11/27/2009 05:58 PM Roxis

Real cursor support in x11grab.
Patch by Roxis /// roxis list dot ru
Slight changes by me to update the patch to current svn.

Originally committed as revision 20631 to svn://svn.ffmpeg.org/ffmpeg/trunk

d3298350 11/27/2009 01:48 PM Michael Niedermayer

Do not invent error codes but pass the error code on.

Originally committed as revision 20630 to svn://svn.ffmpeg.org/ffmpeg/trunk

fed0c2fb 11/27/2009 01:37 PM Michael Niedermayer

Replace very odd and completely broken oss read_packet() by the obvious way to
read.
Fixes issue348.

Originally committed as revision 20629 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1736936 11/18/2009 05:15 PM Diego Biurrun

Add functions to return library license and library configuration.

Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk

d7a0e29f 11/18/2009 05:01 PM Diego Biurrun

Split avdevice.c off from alldevices.c.
alldevices.c is not a good place for avdevice_version().

Originally committed as revision 20546 to svn://svn.ffmpeg.org/ffmpeg/trunk