summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mpegts: Remove disabled extension matching probe.Alex Converse2012-06-07
|
* avformat: Probe codecs at score 0 on buffer exhaustion conditions.Alex Converse2012-06-05
|
* avformat: Factorize codec probing.Alex Converse2012-06-05
|
* Indeo Audio decoderKostya Shishkov2012-06-05
|
* movenc: Write chan atom for all audio tracks in mov mode movies.Alex Converse2012-06-04
|
* mpegtsenc: use avio_open_dyn_buf(), zero pointers after freeingJindřich Makovička2012-06-04
| | | | | | | Per suggestion by Michael Niedermayer. Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* avidec: make scale and rate unsigned.Anton Khirnov2012-06-04
| | | | The specs say they are unsigned 32bit integers.
* librtmp: return AVERROR_UNKNOWN instead of -1.Anton Khirnov2012-06-03
|
* librtmp: don't abuse a variable for two unrelated things.Anton Khirnov2012-06-03
|
* librtmp: add rtmp_app and rtmp_playpath private options.Anton Khirnov2012-06-03
| | | | This makes it easier to switch between native rtmp and librtmp.
* flv: support stream text data as onTextDataLuca Barbato2012-06-03
| | | | | | | Adobe specifies onTextData as the standard message to use to deliver text information. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegtsenc: Support LATM packetization for AACJindrich Makovicka2012-06-03
| | | | | | | | | This adds the avoption mpegts_flags and converts the existing resend_headers option into a flag, keeping the old option as fallback for now. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* adtsenc: Don't expose the muxer internals to the rest of lavfJindrich Makovicka2012-06-03
| | | | | | | | This isn't required any longer, when the mpegts muxer uses it as a proper chained muxer. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegtsenc: use AVFormatContext for AAC packetizationJindrich Makovicka2012-06-03
| | | | | | | | This removes the dependency on adts.c internals, and simplifies adding other packetization formats. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegtsenc: use AVERROR() for return codesJindrich Makovicka2012-06-03
| | | | | Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add the url_shutdown function for https, tooMartin Storsjö2012-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Simplify code by removing a local variableMartin Storsjö2012-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Clear the old URLContext pointer when closedMartin Storsjö2012-06-01
| | | | | | | This fixes issues with opening http urls that have authentication or redirects, introduced in commit e999b641. Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Try enabling SO_REUSEADDR when listeningMartin Storsjö2012-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Check the return values from bind and acceptMartin Storsjö2012-06-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avisynth: Make sure the filename passed to avisynth is in the right code pageOka Motofumi2012-05-31
| | | | | | | | avisynth is a non-unicode application and cannot accept UTF-8 characters. Therefore, the input filename should be converted to the correct code page that it expects. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Pass the proper return code of net IO operationsSamuel Pitoiset2012-05-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add 'post_data', a new option which sets custom HTTP post dataSamuel Pitoiset2012-05-30
| | | | | | | This allows doing http posts with a content-length header sent in advance, avoiding chunked encoding. Signed-off-by: Martin Storsjö <martin@martin.st>
* mp3/ac3 probe: search for PES headers to prevent probing MPEG-PS as MP3.Ronald S. Bultje2012-05-30
|
* http: Add support for reusing the http socket for subsequent requestsSamuel Pitoiset2012-05-28
| | | | | | | Introduce ff_http_do_new_request(), a new function which sends a new HTTP request, reusing the existing connection to the server. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add support for using persistent connectionsSamuel Pitoiset2012-05-28
| | | | | | | Add a new AVOption 'multiple_requests', which indicates if we want to use persistent connections (ie. Connection: keep-alive). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Check for dynamic payload handlers if no static payload mapping was foundMartin Storsjö2012-05-26
| | | | | | | Some systems abuse the static payload types 35 or 36 (which according to IANA are unassigned) for H264. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_chain: Return an error code instead of just a plain pointerMartin Storsjö2012-05-26
| | | | | | Also check the return value in sapenc. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc_chain: Free the URLContext on failureMartin Storsjö2012-05-26
| | | | | | | | If an URLContext is passed in, its ownership is given to this function, and is either owned by the returned AVFormatContext on a successful return, or freed on failure. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Expose the ssrc as an avoptionMartin Storsjö2012-05-26
| | | | | | | This allows the caller to set it, and allows the caller to query what it was set to. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Fix indentationMartin Storsjö2012-05-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: fix url parsingLuca Barbato2012-05-25
| | | | | The application component can have a subcomponent to specify the application instance even if it doesn't have a ":" in the playpath.
* movenc: Don't write the 'wave' atom or its child 'enda' for lpcm audio.Alex Converse2012-05-25
| | | | | It's left over from stsd v0. QuickTime 7 no longer writes 'wave' or 'enda' when 'lpcm' is the audio tag.
* rtmp: Pass the proper return code in rtmp_handshakeSamuel Pitoiset2012-05-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Check return codes of net IO operationsSamuel Pitoiset2012-05-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Return a proper error code instead of -1Samuel Pitoiset2012-05-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Check malloc callsSamuel Pitoiset2012-05-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Check ff_rtmp_packet_create callsSamuel Pitoiset2012-05-24
| | | | | | | Check malloc calls used by ff_rtmp_packet_create, unify error handling and pass on error codes. Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Make sure sample_rate is set to the updated valueMartin Storsjö2012-05-23
| | | | | | | | | | | | | | | | The sample_rate variable is used for checks for audio format changes at the end of the function. This fixes cases where the sample rate was set from the codec id by flv_set_audio_codec (as for nellymoser 8 kHz/16 kHz), so the value set to last_sample_rate wasn't equal to sample_rate at this point. This caused the demuxer otherwise reports a spurious change to 5512 Hz and back to the correct one. Updating channels in the same way is only done for consistency. Currently, flv_set_audio_codec doesn't update that value. Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2Dave Yeo2012-05-23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add support for reading http POST reply headersSamuel Pitoiset2012-05-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add http_shutdown() for ending writing of postsSamuel Pitoiset2012-05-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Allow signalling end of reading/writingSamuel Pitoiset2012-05-22
| | | | | | | tcp_shutdown() isn't needed at the moment, but is added for consistency to explain how the function is supposed to be used. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Add a function for signalling end of reading/writingSamuel Pitoiset2012-05-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove libnut wrapperDiego Biurrun2012-05-21
| | | | libnut is unmaintained and known to be buggy; native NUT code exists.
* avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.James Zern2012-05-20
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* http: Factorize the code by adding http_read_header()Samuel Pitoiset2012-05-20
| | | | | | This function is used for reading http reply headers. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: change some (de)muxer names to lowercaseMans Rullgard2012-05-19
| | | | | | This is consistent with other format names. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: make output format matching case insensitiveMans Rullgard2012-05-19
| | | | | | This is consistent with how input formats are matched. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: enable parsing for VC-1.Anton Khirnov2012-05-18
| | | | | This makes lavf discard broken timestamps for non-B frames in samples/isom/vc1-wmapro.ism.