OSDN Git Service

coroid/libav_saccubus.git
12 years agodoxygen: fix wrong comment syntax, //< vs. ///<
Diego Biurrun [Fri, 5 Aug 2011 11:15:04 +0000 (13:15 +0200)]
doxygen: fix wrong comment syntax, //< vs. ///<

12 years agodoxygen: drop pointless star from pointer variable names
Diego Biurrun [Mon, 8 Aug 2011 10:06:26 +0000 (12:06 +0200)]
doxygen: drop pointless star from pointer variable names

12 years agoReplace deprecated av_find_stream_info() by avformat_find_stream_info().
Diego Biurrun [Fri, 26 Aug 2011 15:40:07 +0000 (17:40 +0200)]
Replace deprecated av_find_stream_info() by avformat_find_stream_info().

12 years agoxmv: eliminate superfluous zeroing of zero data
Sven Hesse [Thu, 18 Aug 2011 17:03:28 +0000 (19:03 +0200)]
xmv: eliminate superfluous zeroing of zero data

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoconfigure: fix typo in avconv dependency list
Diego Biurrun [Thu, 25 Aug 2011 19:47:47 +0000 (21:47 +0200)]
configure: fix typo in avconv dependency list

12 years agovp6: partially propagate huffman tree building errors during coeff model parsing...
Dustin Brody [Tue, 16 Aug 2011 20:46:34 +0000 (16:46 -0400)]
vp6: partially propagate huffman tree building errors during coeff model parsing and fix misspelling

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agompeg12: propagate chunk decode errors and fix conditional indentation
Dustin Brody [Tue, 16 Aug 2011 15:35:04 +0000 (11:35 -0400)]
mpeg12: propagate chunk decode errors and fix conditional indentation

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agovc1: fix VC-1 Pulldown handling.
John Stebbins [Thu, 25 Aug 2011 19:36:13 +0000 (12:36 -0700)]
vc1: fix VC-1 Pulldown handling.

Pulldown flags are being set incorrectly and AVFrame->repeat_pict is not
being set.  Also, skipped frames exit header parsing too early and do not
set pulldown flags appropriately. Ticks_per_frame needs to be set and
time_base adjusted so player can extend frame duration by a field time.

This fixes problems encountered when attempting to transcode HD-DVD EVOB
files with HandBrake. Also makes these files play smoothly in avplay.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoVC1: Fix first/last row checks with slices
Alberto Delmás [Thu, 25 Aug 2011 09:00:37 +0000 (11:00 +0200)]
VC1: Fix first/last row checks with slices

In some places 0/mb_height were used in place of start_mb_y/end_mb_y.

Fixes SA00049, SA00058, SA10091, SA10097, SA10131, SA20021, SA30030

Improves PSNR in SA00054, SA00059, SA00060, SA10096, SA10098, SA20022,
SA30031, SA30032, SA40012, SA40013

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agomp4: Handle non-trivial ES Descriptors.
Alex Converse [Wed, 24 Aug 2011 23:59:30 +0000 (16:59 -0700)]
mp4: Handle non-trivial ES Descriptors.

12 years agovc1: properly zero coded_block[] edges on new slice entry.
Ronald S. Bultje [Wed, 24 Aug 2011 21:36:16 +0000 (14:36 -0700)]
vc1: properly zero coded_block[] edges on new slice entry.

Previously, we would leave the left edge uninitialized, which led to
CBP prediction errors on slice edges, e.g. in SA10098.vc1.

12 years agoavconv: Replace goto redo on decode fail with continue.
Alex Converse [Tue, 23 Aug 2011 20:47:31 +0000 (13:47 -0700)]
avconv: Replace goto redo on decode fail with continue.

This checks for sigterm but otherwise is identical to the previous
behavior.

12 years agoavconv: Remove dead store.
Alex Converse [Tue, 23 Aug 2011 21:30:11 +0000 (14:30 -0700)]
avconv: Remove dead store.

12 years agolibx264: add 'crf_max' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'crf_max' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'weightp' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'weightp' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'rc_lookahead' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'rc_lookahead' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'psy_trellis' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'psy_trellis' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'psy_rd' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'psy_rd' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'aq_strength' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'aq_strength' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'aq_mode' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'aq_mode' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'cqp' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'cqp' private option.

Deprecate corresponding global option.

12 years agolibx264: add 'crf' private option.
Anton Khirnov [Mon, 22 Aug 2011 05:55:34 +0000 (07:55 +0200)]
libx264: add 'crf' private option.

Deprecate corresponding global option.

Ideally all x264 private options should be generated automatically, but
x264 doesn't provide the API for this yet.

12 years agolavc: remove vbv_delay option
Anton Khirnov [Tue, 23 Aug 2011 15:28:33 +0000 (17:28 +0200)]
lavc: remove vbv_delay option

It's broken and serves no purpose as it's a read-only field.

12 years agolavf utils: Fix bad indentation.
Alex Converse [Tue, 23 Aug 2011 01:47:24 +0000 (18:47 -0700)]
lavf utils: Fix bad indentation.

12 years agoavconv: use av_clip_int16 for audio clipping
Alex Converse [Mon, 22 Aug 2011 17:38:35 +0000 (10:38 -0700)]
avconv: use av_clip_int16 for audio clipping

12 years agoavconv: print the codecs names in the stream mapping.
Nicolas George [Sat, 20 Aug 2011 10:40:26 +0000 (12:40 +0200)]
avconv: print the codecs names in the stream mapping.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoavconv: move the avcodec_find_decoder() call to add_input_streams().
Anton Khirnov [Mon, 22 Aug 2011 10:48:06 +0000 (12:48 +0200)]
avconv: move the avcodec_find_decoder() call to add_input_streams().

This makes the code simpler to understand, though it results in an
unnecessary call to avcodec_find_decoder() if the stream won't be
decoded.

12 years agoWindows Media Image decoder (WMVP/WVP2)
Alberto Delmás [Wed, 17 Aug 2011 12:24:42 +0000 (14:24 +0200)]
Windows Media Image decoder (WMVP/WVP2)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoac3enc: remove outdated TODO comment for apply_channel_coupling()
Justin Ruggles [Mon, 22 Aug 2011 16:14:57 +0000 (12:14 -0400)]
ac3enc: remove outdated TODO comment for apply_channel_coupling()

12 years agolibx264: only use ABR mode when the user explicitly set bitrate.
Anton Khirnov [Sat, 20 Aug 2011 14:59:47 +0000 (16:59 +0200)]
libx264: only use ABR mode when the user explicitly set bitrate.

12 years agolibx264: use medium preset by default.
Anton Khirnov [Sat, 20 Aug 2011 14:47:36 +0000 (16:47 +0200)]
libx264: use medium preset by default.

12 years agomp2 encoder: make 128k the default bitrate.
Anton Khirnov [Sat, 20 Aug 2011 14:20:27 +0000 (16:20 +0200)]
mp2 encoder: make 128k the default bitrate.

12 years agomovenc: use libx264 by default when possible for mov, mp4 and psp
Anton Khirnov [Sat, 20 Aug 2011 14:14:58 +0000 (16:14 +0200)]
movenc: use libx264 by default when possible for mov, mp4 and psp

12 years agoavienc: saner default audio codec.
Anton Khirnov [Sat, 20 Aug 2011 14:05:17 +0000 (16:05 +0200)]
avienc: saner default audio codec.

libmp3lame if available, ac3 otherwise.

12 years agomatroskaenc: saner default codecs.
Anton Khirnov [Sat, 20 Aug 2011 14:02:22 +0000 (16:02 +0200)]
matroskaenc: saner default codecs.

libvorbis/libx264 for video if available, otherwise ac3/mpeg4.

12 years agoavplay: add examples of how to specify size/pixel format through private options
Stefano Sabatini [Sun, 21 Aug 2011 14:20:37 +0000 (16:20 +0200)]
avplay: add examples of how to specify size/pixel format through private options

Clarify with an example what the user should use instead of the
deprecated (and no longer working) -s/-pix_fmt options.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavc: add A|E|D flags to "ac" and "ar" options
Stefano Sabatini [Sun, 17 Jul 2011 13:28:42 +0000 (13:28 +0000)]
lavc: add A|E|D flags to "ac" and "ar" options

Fix setting of the corresponding AVCodecContext fields via
cmdutils.c:filter_codec_opts().
In particular, fix ffplay -ac and -ar options.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoWavPack demuxer: do not rely on index when timestamp is not in indexed range.
Kostya Shishkov [Sat, 20 Aug 2011 11:11:14 +0000 (13:11 +0200)]
WavPack demuxer: do not rely on index when timestamp is not in indexed range.

This fixes the situation when there are not enough entries in the index
(e.g. on initial seek there's only one index entry in the index) and index
search returns just the last known entry. That causes seeking function just to
seek there instead of trying harder to get at the requested position.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoWavPack demuxer: store position of the first block in index.
Kostya Shishkov [Sat, 20 Aug 2011 16:14:58 +0000 (18:14 +0200)]
WavPack demuxer: store position of the first block in index.

Currently for multichannel audio position for the last block position is
stored in index (and used for seeking), which is obviously not correct.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoWavPack decoder: implement flush function
Kostya Shishkov [Sat, 20 Aug 2011 16:14:44 +0000 (18:14 +0200)]
WavPack decoder: implement flush function

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoavconv: Separate initialization from the main transcode loop.
Alex Converse [Fri, 19 Aug 2011 21:45:02 +0000 (14:45 -0700)]
avconv: Separate initialization from the main transcode loop.

12 years agodoc/avconv: replace forgotten av by avconv.
Anton Khirnov [Fri, 19 Aug 2011 15:52:49 +0000 (17:52 +0200)]
doc/avconv: replace forgotten av by avconv.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoavconv: reset input_ts_offset between files.
Anton Khirnov [Fri, 19 Aug 2011 15:52:48 +0000 (17:52 +0200)]
avconv: reset input_ts_offset between files.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agodoc/avconv: extend -ss documentation.
Anton Khirnov [Fri, 19 Aug 2011 15:52:47 +0000 (17:52 +0200)]
doc/avconv: extend -ss documentation.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoavconv: call flush_encoders() from transcode() directly.
Anton Khirnov [Fri, 19 Aug 2011 15:52:46 +0000 (17:52 +0200)]
avconv: call flush_encoders() from transcode() directly.

And remove now pointless parameter.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoavconv: fix broken indentation.
Anton Khirnov [Fri, 19 Aug 2011 15:52:45 +0000 (17:52 +0200)]
avconv: fix broken indentation.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoavconv: rescue poor abused limit_filesize global.
Anton Khirnov [Fri, 19 Aug 2011 15:52:44 +0000 (17:52 +0200)]
avconv: rescue poor abused limit_filesize global.

Keep a per-OutputFile instance of it, thus making -fs work with multiple
output files.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoavconv: Set error code before before jumping to fail.
Alex Converse [Fri, 19 Aug 2011 18:26:21 +0000 (11:26 -0700)]
avconv: Set error code before before jumping to fail.

12 years agoh264: fix PCM intra-coded blocks in monochrome case
Jeff Downs [Tue, 5 Jul 2011 17:20:06 +0000 (13:20 -0400)]
h264: fix PCM intra-coded blocks in monochrome case

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoh264: correct implicit weight table computation for long ref pics
Jeff Downs [Wed, 6 Jul 2011 15:54:36 +0000 (11:54 -0400)]
h264: correct implicit weight table computation for long ref pics

Correct computation of implicit weight tables when referencing pictures
that are marked for long reference.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoh264: correct the check for invalid long term frame index in MMCO decode
Jeff Downs [Tue, 5 Jul 2011 18:21:54 +0000 (14:21 -0400)]
h264: correct the check for invalid long term frame index in MMCO decode

The current check on MMCO parameters prohibits a "max long term frame index
plus 1" of 16 (frame idx of 15) for the "set max long term frame index" MMCO.
Fix this off-by-one error to allow the full range of legal values.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoavconv: Fix spelling errors.
Alex Converse [Thu, 18 Aug 2011 19:09:17 +0000 (12:09 -0700)]
avconv: Fix spelling errors.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoaac: Only set sample rate and object type from ADTS if output hasn't been configured.
Alex Converse [Tue, 16 Aug 2011 18:04:03 +0000 (11:04 -0700)]
aac: Only set sample rate and object type from ADTS if output hasn't been configured.

Long term it would be nice to support error resilient reconfiguration
but right now setting this every frame does more harm than help.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoaac: Set SBR and PS to unsignalled during headerless and ADTS initialization.
Alex Converse [Wed, 10 Aug 2011 23:37:32 +0000 (16:37 -0700)]
aac: Set SBR and PS to unsignalled during headerless and ADTS initialization.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoaac: Only output configure if audio was found.
Alex Converse [Tue, 16 Aug 2011 18:03:26 +0000 (11:03 -0700)]
aac: Only output configure if audio was found.

Audio found is not triggered on a CCE because a CCE alone has no output.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoavconv: save two levels of indentation in flush_encoders()
Anton Khirnov [Tue, 16 Aug 2011 09:19:20 +0000 (11:19 +0200)]
avconv: save two levels of indentation in flush_encoders()

By replacing
if (foo)
    <do stuff>

with
if (!foo)
    continue;
<do stuff>

12 years agoavconv: factor flushing encoders out of output_packet().
Anton Khirnov [Thu, 18 Aug 2011 06:55:29 +0000 (08:55 +0200)]
avconv: factor flushing encoders out of output_packet().

12 years agoavconv: factor out initializing input streams.
Anton Khirnov [Wed, 6 Jul 2011 06:49:07 +0000 (08:49 +0200)]
avconv: factor out initializing input streams.

12 years agoavconv: remove -intra option.
Anton Khirnov [Wed, 17 Aug 2011 17:26:49 +0000 (19:26 +0200)]
avconv: remove -intra option.

It's equivalent to -g 0.

12 years agoavconv: reset streamid_map between output files.
Anton Khirnov [Wed, 17 Aug 2011 17:11:54 +0000 (19:11 +0200)]
avconv: reset streamid_map between output files.

12 years agoavconv: make timer_start a local var in transcode().
Anton Khirnov [Wed, 17 Aug 2011 16:46:36 +0000 (18:46 +0200)]
avconv: make timer_start a local var in transcode().

12 years agoavconv: cosmetics, move OutputStream.
Anton Khirnov [Wed, 17 Aug 2011 16:40:40 +0000 (18:40 +0200)]
avconv: cosmetics, move OutputStream.

Allows us to get rid of forward InputStream declaration.

12 years agoavconv: remove two unused macros.
Anton Khirnov [Wed, 17 Aug 2011 16:35:43 +0000 (18:35 +0200)]
avconv: remove two unused macros.

12 years agoh264: hide reference frame errors unless requested
Dustin Brody [Wed, 17 Aug 2011 22:08:09 +0000 (18:08 -0400)]
h264: hide reference frame errors unless requested

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoswscale: split hScale() function pointer into h[cy]Scale().
Ronald S. Bultje [Wed, 3 Aug 2011 18:25:01 +0000 (11:25 -0700)]
swscale: split hScale() function pointer into h[cy]Scale().

This allows using more specific implementations for chroma/luma, e.g.
we can make assumptions on filterSize being constant, thus avoiding
that test at runtime.

12 years agoMove clipd macros to x86util.asm.
Ronald S. Bultje [Wed, 17 Aug 2011 04:23:53 +0000 (21:23 -0700)]
Move clipd macros to x86util.asm.

This allows sharing them between multiple .asm files.

12 years agoavconv: reindent.
Anton Khirnov [Wed, 17 Aug 2011 10:08:41 +0000 (12:08 +0200)]
avconv: reindent.

12 years agoavconv: rescue poor abused start_time global.
Anton Khirnov [Wed, 17 Aug 2011 09:42:44 +0000 (11:42 +0200)]
avconv: rescue poor abused start_time global.

Keep a per-OutputFile instance of it, thus making -ss work with multiple
output files.

12 years agoavconv: rescue poor abused recording_time global.
Anton Khirnov [Wed, 17 Aug 2011 09:42:44 +0000 (11:42 +0200)]
avconv: rescue poor abused recording_time global.

Keep a per-OutputFile instance of it, thus making -t work with multiple
output files.

12 years agoavconv: merge two loops in output_packet().
Anton Khirnov [Wed, 17 Aug 2011 12:09:22 +0000 (14:09 +0200)]
avconv: merge two loops in output_packet().

12 years agoavconv: fix broken indentation.
Anton Khirnov [Wed, 17 Aug 2011 09:33:30 +0000 (11:33 +0200)]
avconv: fix broken indentation.

12 years agoavconv: get rid of the arbitrary MAX_FILES limit.
Anton Khirnov [Wed, 17 Aug 2011 08:27:17 +0000 (10:27 +0200)]
avconv: get rid of the arbitrary MAX_FILES limit.

12 years agoavconv: get rid of the output_streams_for_file vs. ost_table schizophrenia
Anton Khirnov [Wed, 17 Aug 2011 08:21:37 +0000 (10:21 +0200)]
avconv: get rid of the output_streams_for_file vs. ost_table schizophrenia

Instead store output streams in the same way as input streams.

12 years agoavconv: add a wrapper for output AVFormatContexts and merge output_opts into it
Anton Khirnov [Wed, 17 Aug 2011 07:56:08 +0000 (09:56 +0200)]
avconv: add a wrapper for output AVFormatContexts and merge output_opts into it

12 years agoavconv: make itsscale syntax consistent with other options.
Anton Khirnov [Wed, 17 Aug 2011 07:12:04 +0000 (09:12 +0200)]
avconv: make itsscale syntax consistent with other options.

Move the stream specifier to the option name.

12 years agoavconv: factor out adding input streams.
Anton Khirnov [Tue, 5 Jul 2011 17:38:50 +0000 (19:38 +0200)]
avconv: factor out adding input streams.

12 years agoavconv: Factorize combining auto vsync with format.
Alex Converse [Wed, 17 Aug 2011 02:06:46 +0000 (19:06 -0700)]
avconv: Factorize combining auto vsync with format.

12 years agoavconv: Factorize video resampling.
Alex Converse [Wed, 17 Aug 2011 01:43:27 +0000 (18:43 -0700)]
avconv: Factorize video resampling.

12 years agoavconv: Don't unnecessarily convert ipts to a double.
Alex Converse [Tue, 16 Aug 2011 21:41:16 +0000 (14:41 -0700)]
avconv: Don't unnecessarily convert ipts to a double.

12 years agoffmpeg: remove unsed variable nopts
Diego Biurrun [Wed, 17 Aug 2011 13:35:42 +0000 (15:35 +0200)]
ffmpeg: remove unsed variable nopts

12 years agoRV3/4 parser: remove unused variable 'off'
Kostya Shishkov [Wed, 17 Aug 2011 13:07:49 +0000 (15:07 +0200)]
RV3/4 parser: remove unused variable 'off'

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoadd XMV demuxer
Sven Hesse [Tue, 16 Aug 2011 19:26:45 +0000 (21:26 +0200)]
add XMV demuxer

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agormdec: parse FPS in RealMedia properly
Kostya Shishkov [Tue, 16 Aug 2011 07:10:57 +0000 (09:10 +0200)]
rmdec: parse FPS in RealMedia properly

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoUse parsers for RealVideo 3/4 to determine correct PTS
Kostya Shishkov [Mon, 15 Aug 2011 10:03:40 +0000 (12:03 +0200)]
Use parsers for RealVideo 3/4 to determine correct PTS

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agormdec: correct DTS calculation in RealMedia container.
Kostya Shishkov [Thu, 11 Aug 2011 12:44:05 +0000 (14:44 +0200)]
rmdec: correct DTS calculation in RealMedia container.

First, container stores only DTS and not PTS as it was believed.
Second, multiple frames in a packet store timestamp instead of position
after the frame length.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agorv10/20: tell decoder to use edge emulation
Kostya Shishkov [Wed, 17 Aug 2011 08:36:33 +0000 (10:36 +0200)]
rv10/20: tell decoder to use edge emulation

This removes out-of-edge motion compensation artifacts (easily spotted green
blocks in avplay, gray blocks in transcoding), for example here:
http://samples.libav.org/samples/real/tv_watching_t1.rm

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoRevert "avconv: use stream copy by default when possible."
Anton Khirnov [Tue, 16 Aug 2011 18:59:14 +0000 (20:59 +0200)]
Revert "avconv: use stream copy by default when possible."

This reverts commit 4f4f33844a7369e5579912cc02f3c5376b1e6872.

This commit has some ugly corner cases and needs to be discussed
further.

12 years agoavconv: print stream copy information.
Anton Khirnov [Tue, 16 Aug 2011 04:58:52 +0000 (06:58 +0200)]
avconv: print stream copy information.

12 years agoavconv: use stream copy by default when possible.
Anton Khirnov [Sat, 13 Aug 2011 06:37:13 +0000 (08:37 +0200)]
avconv: use stream copy by default when possible.

12 years agomatroskaenc: vertical alignment.
Anton Khirnov [Tue, 16 Aug 2011 04:52:50 +0000 (06:52 +0200)]
matroskaenc: vertical alignment.

12 years agomatroskaenc: implement query_codec()
Anton Khirnov [Thu, 11 Aug 2011 18:35:46 +0000 (20:35 +0200)]
matroskaenc: implement query_codec()

12 years agolavf: add avformat_query_codec().
Anton Khirnov [Thu, 11 Aug 2011 18:34:45 +0000 (20:34 +0200)]
lavf: add avformat_query_codec().

It allows to check if a given codec can be written into a container.

12 years agolavc: add avcodec_get_type() for mapping codec_id -> type.
Anton Khirnov [Thu, 11 Aug 2011 15:45:50 +0000 (17:45 +0200)]
lavc: add avcodec_get_type() for mapping codec_id -> type.

12 years agoflvenc: use int64_t to store offsets
Luca Barbato [Wed, 8 Jun 2011 14:32:07 +0000 (14:32 +0000)]
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>
12 years agoavconv: don't segfault on 0 input files.
Anton Khirnov [Tue, 16 Aug 2011 09:32:57 +0000 (11:32 +0200)]
avconv: don't segfault on 0 input files.

12 years agoDo not write ID3v1 tags by default
Diogo Franco [Tue, 16 Aug 2011 09:43:23 +0000 (09:43 +0000)]
Do not write ID3v1 tags by default

ID3v1 are legacy tags with several limitations; furthermore
avconv/ffmpeg writes the tags in UTF-8 which probably has near-0
software support.

Add a -write_id3v1 option to be able to turn it on; disabled by default.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agompegts: log into an AVFormatContext rather than MpegTSContext.
Alex Converse [Tue, 16 Aug 2011 01:14:12 +0000 (18:14 -0700)]
mpegts: log into an AVFormatContext rather than MpegTSContext.

MpegTSContext's AVClass member can be NULL.

12 years agomovenc: change AV_LOG_INFO to AV_LOG_WARNING for some warnings
Anton Khirnov [Thu, 11 Aug 2011 14:33:03 +0000 (16:33 +0200)]
movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warnings

12 years agoavconv: remove a write-only variable
Anton Khirnov [Mon, 15 Aug 2011 16:26:56 +0000 (18:26 +0200)]
avconv: remove a write-only variable

12 years agoavconv: remove pointless parameter from new_*_stream().
Anton Khirnov [Sat, 13 Aug 2011 06:23:44 +0000 (08:23 +0200)]
avconv: remove pointless parameter from new_*_stream().

New streams are always added to the last output file.