Luca Barbato
82569b01a1
mpegtsenc: set muxing type notification to verbose
12 years ago
Paul B Mahol
ee109c6bc2
dtshd: fix seeking
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
73ad355d23
avidec: fix 10l typo
...
found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
229e33a2b6
avidec: override sample size of 1024 for VBR AAC
...
Fixes Ticket1755
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
03cc52a07d
takdec: fix seeking
...
The previous approach was just wrong.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
eb71f027f0
dtshd: remove redundant/wrong avio_tell()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
1470c8a9a3
takdec: remove redundant/wrong avio_tell()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Duncan Salerno
f3f35f7430
crypto should allow passing of options to the underlying protocol via the url_open2 interface
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Duncan Salerno
bd2f8e8f79
Fix second use of AVOptions in HLS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
d5ef9354ce
rtspdec: use av_strlcpy for writing into fixed size buffer
...
Fixes CID231347.
12 years ago
Janne Grunau
4a7c0c4555
http: use av_strlcpy instead of strcpy() without size checks
...
Fixes CID700730.
12 years ago
Andrey Utkin
b6f435fbc8
http: add 'timeout' AVOption
...
This option is passed though to underlying tcp protocol context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
2e009c6042
tcp: accept params through avio_open2() options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
949acefc11
tcp: use timeout option consistently
...
Default _connection_ timeout value 5 seconds is left as i/o timeout also
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
d2b18c8f5b
Introduce ff_network_wait_fd_timeout()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
4ffbe3f3a5
matroskaenc: check cue point validity before reallocation
...
Prevents memory leak and possible access to freed memory.
Fixes CID605744.
12 years ago
Janne Grunau
53e122dd4a
swfenc: error out for more than 1 audio or video stream
...
Prevents CID602000.
12 years ago
Janne Grunau
8dd0650fe6
rtpdec_mpeg4: au_headers is a single array, simple av_free is enough
...
Fixes CID700204.
12 years ago
Martin Storsjö
7bc433b36d
fate: Add tests of the ff_make_absolute_url function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Duncan Salerno
33893e6abc
url: Handle relative urls starting with two slashes
...
This is defined by RFC 3986 section 5.4.1 to be handled this way.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Duncan Salerno
eea003814c
url: Handle relative urls being just a new query string
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Duncan Salerno
a6363e3d89
url: Don't treat slashes in query parameters as directory separators
...
Strip off query parameters from the original url before
applying the new relative path.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
f75f4194d1
Restructure av_log_missing_feature message
...
Some invocations include a verb in the log message, others do not. Yet
av_log_missing_feature expects callers to provide a verb. Change the
function to include a verb instead and update the callers accordingly.
The result is a more natural function API and correct English in the
function invocations.
12 years ago
Paul B Mahol
238e904df3
DTS-HD demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Martin Storsjö
c136a813d7
rtp: Support packetization/depacketization of opus
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Yusuke Nakamura
e04826c34e
file: Set the return value type for lseek to int64_t.
...
This fixes a regression in 4ed5ac5
.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Tim Nicholson
a02762995b
movenc.c: Force correct value for "Samples per packet" for pcm audio
...
Apple spec is for it to always be "1" for uncompressed audio.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
c9b10cc4db
rtpenc_vp8: Update the packetizer to the latest spec version
...
Tested to work with the gstreamer depacketizer.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
66d652cbf3
rtpdec_vp8: Make the depacketizer implement the latest spec draft
...
Not all details are implemented, but it's enough for proper
playback as long as there is no packet loss.
Tested to work with the packetizer in gstreamer (which although
uses a different codec name, to clarify that it is still a spec
draft).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Luca Barbato
0826d8513d
segment: drop global headers setting
...
avconv provides an option to set it externally and there isn't a way for
the outer demuxer to report the inner demuxer flag.
Solves a bad interaction between mpegts and x264, but requires
additional setting for the user.
12 years ago
Paul B Mahol
d7a4739265
TAK demuxer, decoder and parser
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
f7c46d251c
ffserver: fix seeking with ?date=...
...
Regression since 5f847bf61d
.
After this commit, timestamps pushed by FFmpeg won't be relative
anymore, but absolute (based on the date/time at the beginning of the
push). This will allow seeking to work properly. Before this patch, the
seek was done, but ffm timestamps were way smallers than the absolute
requested timestamp (based on a date), so the seek was done, but to the
end of the stream (which was similar to no effect at all).
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Michael Niedermayer
f464b02d22
mpegts: fuzzy crc check for not so spec compliant files
...
Fixes Ticket598
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
adcfc0535d
mxfenc: fix av_log data type for dts paramater
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f2a7e1a62b
mux: change 1 assert->av_assert1()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
27a341518e
avformat: fix typo in comment
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Martin Storsjö
e67b0f9952
gxf: Include the right header for the avpriv_frame_rate_tab declaration
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
87244c8f20
matroskaenc: remove MATROSKA_ID_VIDEODISPLAYUNIT 3
...
Should fix ticket 1754
Thanks-to: Moritz Bunkus <moritz@bunkus.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
537ef8bebf
movenc: support an alternative to edit lists to handle the first DTS != 0 case.
...
Some software does not support edit lists at all, the adobe flash
player seems to be one of these. Which results in AV sync errors when
edit lists are used to adjust AV sync.
2nd try on implementing this, the first try had various issues
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d067e25437
mov: fix integer avoption types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ac6659aff7
movenc: fix regression with yuyv caused by c5f23d
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
11dcddb97b
ffm: do not write or read the audio sample format
12 years ago
Michael Niedermayer
9d19d7c335
segment: reverse pass avoid_negative_ts from the muxer
...
This fixes failures with formats not supporting negative TS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
cde26748ae
smoothstreamingenc: Add a more verbose error message
...
This helps tracking down the cause if this happens to be an issue.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
fadd3a6821
smoothstreamingenc: Ignore the return value from mkdir
...
We don't need to return an error if the directory already existed.
We make sure that the directory actually is properly writeable later
within ism_write_header by writing a manifest anyway.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
8e2763786d
smoothstreamingenc: Try writing a manifest when opening the muxer
...
This allows failing cleaner and earlier if unable to write to
the output directory.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
3ea06ac59e
smoothstreamingenc: Move the output_chunk_list and write_manifest functions up
...
This allows calling write_manifest from ism_write_header without
a forward declaration.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
5fa43f76aa
smoothstreamingenc: Properly return errors from ism_flush to the caller
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
eb2f391018
smoothstreamingenc: Check the output UrlContext before accessing it
...
This code can be called with a NULL UrlContext if writing of the
trailer involves seeking.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago