Luca Barbato
8b97ae6484
avf: fix faulty check in has_duration
...
An invalid duration is AV_NOPTS_VALUE not 0.
2012-04-25 11:40:22 -07:00
Luca Barbato
1381081cdb
avconv: fix off by one check in complex_filter
...
nb_input_files is already an invalid index.
2012-04-22 17:23:50 -07:00
Luca Barbato
ac97d47d9b
mkv: use av_reduce instead of av_d2q for framerate estimation
...
It avoids some rounding errors.
2012-04-17 16:37:42 -07:00
Luca Barbato
204bcdf56c
mkv: report average framerate as minimal as well
...
This is in line with other demuxers and overall seems more correct
than assuming codec time base.
2012-04-17 15:47:22 -07:00
Luca Barbato
6943fb47d3
avplay: update get_buffer to be inline with avconv
...
The buffer must have its dimension, pixel format and aspect ratio
set.
2012-04-16 15:12:03 -07:00
Luca Barbato
cbf767a87c
avf: has_duration does not check the global one
...
Some container formats report a global duration, but not a per stream
one.
2012-04-13 12:03:16 -07:00
Luca Barbato and Martin Storsjö
ebbede2265
movenc: small refactor mov_write_packet
...
Share the formerly internal write_packet with the hinter and move the
fragment flush logic to the user facing one since it is not concerned
about movtrack-only streams.
Fixes bug #263
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-04-11 14:38:37 +03:00
Luca Barbato and Martin Storsjö
18b59956e0
movenc: remove redundant check
...
The proper check is already in mov_write_header.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-04-11 14:38:36 +03:00
Luca Barbato
93f6d0475f
avf: make the example output the proper message
...
av_dump_format needs the codecs opened in order to print
them.
2012-03-29 17:07:19 -07:00
Luca Barbato
28db30aa29
avf: fix audio writing in the output-example
...
av_init_packet does not reset data and size fields in AVPacket,
avcodec_encode_audio2 can use preallocated AVPacket.
2012-03-29 17:07:19 -07:00
Luca Barbato
af49e1766b
v4l2: update documentation
...
Update the examples and remove stale information.
Video4linux support had been already removed.
2012-03-07 10:03:10 -08:00
Luca Barbato
0c1759ac4b
segment: implement wrap around
...
Provide a way to wrap around the segment index so pseudostreaming
live through a web server and html5 browser is simpler.
Also ensure that 0 (disable) is a valid value across the options
providing wrap around.
2012-02-28 15:01:20 +01:00
Luca Barbato
ee42df8a35
avf: reorder AVStream and AVFormatContext
2012-02-28 15:01:20 +01:00
Luca Barbato
6b8b0fe2bc
doxy: remove reference to removed api
2012-02-19 19:10:28 +01:00
Luca Barbato
aac63cef20
examples: unbreak compilation
...
Update api so it will compile again.
2012-02-19 19:10:28 +01:00
Luca Barbato
0c50edb789
doc: fix stray reference to FFmpeg
2012-01-10 05:04:22 +01:00
Luca Barbato
b6db385922
v4l2: use C99 struct initializer
...
Remove some unneeded memsets.
2012-01-10 05:04:22 +01:00
Luca Barbato
0efd48dfd1
v4l2: poll the file descriptor
...
Instead of busy waiting use poll();
2012-01-10 05:04:22 +01:00
Luca Barbato
b8c310cb0a
v4l2: support compressed formats
...
Let pass the codec name to -pixel_format and introduce -input_format.
2012-01-10 05:04:22 +01:00
Luca Barbato
a6a4793d04
v4l2: list available formats
...
Make use of the experimental framesize enumeration ioctl if available.
2012-01-04 13:10:20 +01:00
Luca Barbato
cd2bbad303
v4l2: set the proper codec_tag
...
Unbreak direct streamcopy.
2012-01-04 13:10:20 +01:00
Luca Barbato
eb89b4fc09
v4l2: refactor device_open
...
Check capabilities directly in the function, further simplify the code.
2012-01-04 13:10:20 +01:00
Luca Barbato
246007d370
v4l2: simplify away io_method
...
Only mmap is supported.
2012-01-04 13:10:20 +01:00
Luca Barbato
a896d7f45a
v4l2: cosmetics
2012-01-04 13:10:20 +01:00
Luca Barbato
21aa6ae4fb
v4l2: uniform and format options
2012-01-04 13:10:20 +01:00
Luca Barbato
af7123b2ad
v4l2: do not force interlaced mode
...
Video4linux2 supports both interlaced and non-interlaced mode, do not
ask for interlaced if not necessary.
2012-01-04 13:10:20 +01:00
Luca Barbato
762b21f9f7
doxygen: cleanup style to support older doxy
...
Doxygen 1.7.5.1 had been used as reference while certain distributions
provide older and not fully compatible versions.
2011-12-29 17:19:46 +01:00
Luca Barbato
9f3c77dd2a
fate: account for NUT 10bit support
...
Some libavifilter tests use NUT as output even if the produced
files were not decodable. The support for 10bit introduced in
432f0e5b7d and 91b1e6f0c changed the hashes.
2011-12-21 03:01:18 +01:00
Luca Barbato
91b1e6f0c6
raw: add 10bit YUV definitions
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-21 00:00:03 +01:00
Luca Barbato
432f0e5b7d
nut: support 10bit YUV
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-21 00:00:03 +01:00
Luca Barbato
1c66862472
mpegts: rename payload_index to payload_size
...
It holds the size of the current payload.
2011-12-19 18:31:28 +01:00
Luca Barbato
02e8f03296
segment: introduce segmented chain muxer
...
It behaves similarly to image2 muxer
2011-12-19 18:31:28 +01:00
Luca Barbato
1ee5b5e823
lavu: add AVERROR_BUG error value
...
It should be used to mark codepath that can be reached only through
programming error.
2011-12-19 18:31:28 +01:00
Luca Barbato
4badb386ce
lavf: dealloc private options in av_write_trailer
...
Fix the iformat/oformat typo.
2011-12-13 17:03:08 +01:00
Luca Barbato
d32eed5c73
yadif: support 10bit YUV
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-13 17:02:55 +01:00
Luca Barbato
4f3667ba59
vc1: mark with ER_MB_ERROR bits overconsumption
...
This patch is a generalization of what Michael Niedermayer
fixed in a single case.
The wmv8-drm fate test had been updated accordingly.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-13 16:20:58 +01:00
Luca Barbato
63ccd46687
lavc: introduce ER_MB_END and ER_MB_ERROR
...
Simplify a little error resilience calls
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-13 16:20:58 +01:00
Luca Barbato
5bf2ac2b37
error_resilience: use the ER_ namespace
...
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-13 16:20:58 +01:00
Luca Barbato
708060d7d1
doc: update to refer to avconv
2011-12-10 15:15:05 +01:00
Luca Barbato
0395d37abb
doc: remove some stale entries from the faq
...
Some entries should be still amended.
2011-12-10 15:15:05 +01:00
Luca Barbato
d5837d7fe9
doc: update documentation to use avconv
2011-12-09 18:26:31 +01:00
Luca Barbato
ca410b4eb0
doc: update demuxers section
...
Cleanup tags usage and update commandline examples.
2011-12-09 18:26:31 +01:00
Luca Barbato
9bdfe9ac1c
doc: extend external library coverage
2011-12-09 18:26:31 +01:00
Luca Barbato
1de6e14efe
doc: split platform specific information
...
Move the platform-specific information in its own file.
2011-12-09 18:26:31 +01:00
Luca Barbato
2f017d9791
doc: port the git-howto to texinfo
2011-12-09 18:26:31 +01:00
Luca Barbato
c1f5da698b
doc: provide fallback css and customize @float
...
Add "note" or "important" class to the generated div.
2011-12-09 18:26:31 +01:00
Luca Barbato
1ebbdda1d2
doc: document fate in a texinfo
...
Summarize the information provided in the wiki and the one provided
in fate.txt
2011-12-09 18:26:17 +01:00
Luca Barbato
b73a01eaf1
doxy: change hue value to match our green
2011-12-09 04:20:41 +01:00
Luca Barbato
12dca02e9e
doc: add pulseaudio to the input list
2011-12-08 12:47:39 +01:00
Luca Barbato
f75e3d25d0
avconv: remove unsubstantiated comment
...
All the currently supported OS-es manage to use return values
properly.
2011-12-08 12:47:34 +01:00
Luca Barbato
78212cefe1
drawtext: remove typo
...
It slipped through the last two iterations.
2011-12-07 20:40:18 +01:00
Luca Barbato
f5edfc9e92
drawtext: introduce rand(min, max)
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-07 12:11:14 +01:00
Luca Barbato
73585620b8
drawtext: introduce explicit draw/hide variable
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-07 12:11:14 +01:00
Luca Barbato
a0338b598b
doc: break some long lines in developer.texi
2011-12-03 01:35:38 +01:00
Luca Barbato
2cf74eca70
drawtext: make x and y parametric
...
Introduce variables "E", "PHI", "PI", "main_w"/"W", "main_h"/"H",
"text_w"/"w", "text_h"/"h", "x", "y", "n" and "t" in line with
vf_overlay and refactor the code accordingly.
2011-12-03 01:35:29 +01:00
Luca Barbato
ec11ff8407
drawtext: manage memory allocation better
...
Call dtext_prepare_text as early as possible
Do not draw if the memory allocation failed
2011-12-03 01:35:28 +01:00
Luca Barbato
a2fb4bcb01
drawtext: refactor draw_text
...
Split the memory allocation from the actual drawing.
2011-12-03 01:35:28 +01:00
Luca Barbato
5a2e251645
fate: update asf seektest
2011-12-02 16:43:05 +01:00
Luca Barbato
7d68f592f6
doc: improve general documentation for MacOSX
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-02 11:16:24 +01:00
Luca Barbato
73f027c17b
asf: do not call av_read_frame
...
The asf_read_pts should read the bitstream directly.
2011-12-02 11:11:47 +01:00
Luca Barbato
1f948745c3
vc1: use an enum for Frame Coding Mode
...
Document it a little and possibly fix a bug in dxva2_vc1.
2011-11-28 00:40:22 +01:00
Luca Barbato
9270b8a3d1
doc: cleanup filter section
...
Use the @command{} tag when needed and cleanup the examples.
2011-11-28 00:39:59 +01:00
Luca Barbato
035af998ad
nullenc: drop AVFMT_RAWPICTURE from the flags
...
This makes the two pass encoding with x264 working with -f null - as
first pass.
2011-11-25 13:16:01 +01:00
Luca Barbato
7f1b427018
snow: split snow in snowdec and snowenc
...
The common non inlined code goes in snow.c, the common inlined code in
snow.h, tables move in snowdata.h (included only by snow.c)
2011-11-24 21:35:47 +01:00
Luca Barbato
e361b5089a
doxy: structure libavformat groups
2011-11-22 17:16:02 +01:00
Luca Barbato
e97e5a2e02
doxy: introduce an empty structure in libavcodec
2011-11-22 17:16:02 +01:00
Luca Barbato
757cd8d876
doxy: provide a start page and document libavutil
...
Introduce a basic layout, the subpages are currently left empty.
Split libavutil in multiple groups as example of the structure
2011-11-22 17:16:02 +01:00
Luca Barbato
384bdaceeb
doxy: cleanup pixfmt.h
...
Remove the dubious warning about the header being private and
add some formatting
2011-11-22 17:16:02 +01:00
Luca Barbato
b7d939d998
cinepack: return non-generic errors
2011-11-18 12:10:41 +01:00
Luca Barbato
2625b621ce
pulse: compute frame_duration once and fix it
...
The frame duration was calculated without taking in account the
bytes per sample.
Thanks to Lorenzo Pistone <blaffablaffa@gmail.com > for pointing
the issue and providing an initial fix.
2011-11-14 16:16:41 +01:00
Luca Barbato
caf27e37b6
lavf: simplify format_child_class_next()
...
And fix the error introduced when adding private option to avio.
See 32caa7b13c
2011-11-14 16:16:32 +01:00
Luca Barbato
58b68d6b36
texi2html: remove stray \n
...
Single-quoted strings are printed verbatim in perl.
2011-11-13 12:42:39 +01:00
Luca Barbato
84fb63ed23
doc: prettyfy the texi2html documentation
...
make it use the website css and start structuring it so it is consistent
2011-11-13 12:00:44 +01:00
Luca Barbato
299809defb
doc: update libavfilter documentation
...
Update the reference to the conversion tool to use avconv and
make sure the example line works as supposed.
Remove the paragraph pointing to the svn repo
2011-11-10 15:55:29 -08:00
Luca Barbato and Martin Storsjö
07b172fe8f
avstring: Add locale independent implementations of toupper/tolower
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2011-11-06 11:52:54 +02:00
Luca Barbato
c4b97fbdfa
pulse: documentation
...
Specify avoptions and how to use pactl to list devices.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-10-26 16:39:33 -07:00
Luca Barbato
0de9c41ff4
pulse: introduce pulseaudio input
...
It currently use the simple api and is using the latency information
provided only to offset the stream start.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-10-26 16:39:33 -07:00
Luca Barbato
ec5e521298
macosx: use the default surface on newer sdl
...
SDL 1.2.14 works fine with default colorspace on macosx and seems
to have some issues with 24bit surfaces and resize in addition.
2011-10-17 22:27:12 -07:00
Luca Barbato
30c3d976f1
mov: do not misreport empty stts
...
Return -1 instead of ENOMEM if entries is 0.
Fixes a av_malloc(0) crash in macosx.
2011-10-11 15:06:50 +02:00
Luca Barbato
5a7ba58657
mov: cosmetics, fix for and if spacing
2011-10-11 15:06:11 +02:00
Luca Barbato
0e5cc174bb
win32: improve threading algorithm warning
...
If no threading is requested do not issue warning about unsupported
threading algorithm.
2011-10-02 08:58:08 +02:00
Luca Barbato and Anton Khirnov
6450f26c9a
libvpxenc: use libvpx's own defaults for some parameters
...
Specifically, qmin/qmax, gop_size and keyint_min.
Fixes bug 47.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-01 07:16:56 +02:00
Luca Barbato and Anton Khirnov
e3eb015ba4
vpxenc: add private options
...
Make libvpx support close to the libx264 one. Thanks to
Jan Gerber <j@v2v.cc > for the support.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-10-01 07:16:56 +02:00
Luca Barbato
d554b33efe
ratecontrol: update last_qscale_for sooner
...
In order to make ratecontrol converge properly update the
last_qscale_for values when populating the qscale array.
It fixes the issue reported on
http://lists.libav.org/pipermail/libav-tools/2011-September/000050.html
2011-09-22 17:25:48 -07:00
Luca Barbato
3a78fb57de
libx264: introduce slice-max-size option
...
Yet another option useful for low latency streaming.
2011-09-16 07:56:17 -07:00
Luca Barbato
d162994a81
doc: explain __STDC_CONSTANT_MACROS in C++
...
In order to build C++ programs using libav you need
-D__STDC_CONSTANT_MACROS appened to the CXXFLAGS.
2011-09-10 15:21:22 -04:00
Luca Barbato
5ee5dc4e9a
nutenc: add namespace to the api facing functions
...
Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer}
in order to make easier debugging them.
2011-09-04 11:09:06 +02:00
Luca Barbato
dde372934a
avcodec: remove misleading comment
...
coded_width is the width before lowres scaling,
coded_height is the height before lowres scaling.
2011-08-31 09:57:46 +02:00
Luca Barbato
22141917a9
Revert "h264: Properly set coded_{width, height} when parsing H.264."
...
This reverts commit b47904d158 .
coded_{width, height} overwrites width and height in avcodec_open and
it currently just report the non-lowres size.
2011-08-29 18:32:31 +02:00
Luca Barbato and Anton Khirnov
7f5bf4fbaf
flvenc: use int64_t to store offsets
...
Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2011-08-16 20:24:20 +02:00
Luca Barbato
3304a1e69a
swscale: add dithering to yuv2yuvX_altivec_real
...
It just does that part in scalar form, I doubt using a vector store
over 2 array would speed it up particularly.
The function should be written to not use a scratch buffer.
2011-08-13 00:06:04 +02:00
Luca Barbato
1bf6cb85be
applehttp: fix variant discard logic
...
The v->ctx is always not NULL now, check for streams presence to
mark the read_header state.
Fixes bug #25 , possibly introduced by 603b8bc
2011-08-04 11:21:33 +02:00
Luca Barbato
5038f9b268
apichange: add an entry for AV_PKT_FLAG_CORRUPT
2011-08-02 02:43:10 +02:00
Luca Barbato
9d39cbf6cf
avpacket: signal possibly corrupted packets
...
Use AV_PKT_FLAG_CORRUPT flag to mark packets that might be incomplete
or have errors. Formats that have a mean to validate their packets
should use this flag to deliver such information instead of silently
dropping the packets.
2011-08-02 02:19:31 +02:00
Luca Barbato
8a54bfe83f
build: make examples build normally
...
The link target was missing $(EXAMPLES)
2011-07-30 13:42:44 +02:00
Luca Barbato
0e28e9ca8f
flvenc: propagate error properly
...
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
2011-06-06 10:53:19 -05:00
Luca Barbato
2c6fb9f032
v4l2: do not force NTSC as standard
...
Setting a standard is meaningful only for analog capture devices.
2011-06-05 14:20:56 -05:00
Luca Barbato
6348a96c06
configure: report yasm/nasm presence properly
...
If the secondary assembler is in use report the proper name
2011-05-27 09:42:14 +02:00
Luca Barbato
ebb6b27ad9
tcp: make connect() timeout properly
...
The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.
2011-05-27 09:42:14 +02:00
Luca Barbato
e3b540b424
Make ffmpeg support generic data stream
...
The patch is the first step to support -dcodec copy
2011-05-03 11:51:55 +02:00