- 22 Jan, 2012 16 commits
-
-
Carl Eugen Hoyos authored
It is a really bad idea to assign a video codec id when we have set codec_type to audio and vice versa. Prevents detection of mp2 in mxf as mpeg2video. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This replaces the old essence_offset code. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This is not an error and expected behavior for OPAtom files. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This also zeroes new entries for good measure (used by future patches). Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Specifically, this means parsing as before until we run into essence. At that point we seek to the footer and parse until EOF. After that we start seeking backward to the previous partition and parse that until we run into essence or the next partition. This procedure is repeated until we encounter the last partition we parsed in the forward direction. The end result of all this is that large essence containers are not needlessly parsed. This speeds up parsing large files a lot. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
This fixes 0001GL.MXF.V1.mxf_opatom.mxf and 0001GL00.MXF.A1.mxf_opatom.mxf getting two streams each due to both using the same SourcePackageID. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Janne Grunau authored
Based on patch from Tomas Härdin <tomas.hardin@codemill.se> and work by Georg Lippitsch <georg.lippitsch@gmx.at> Changed av_calloc to av_mallocz and added overflow checks.
-
Tomas Härdin authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Joakim Plate authored
Avoid modifying state if avio_seek fails. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Philip de Nier authored
This fixes reading of partition packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Tomas Härdin authored
-
Anton Khirnov authored
Now that 0.8 is out we can reapply this commit. It breaks shared avserver builds due to avserver using internal libavformat symbols, which are now hidden, so this commit also disables avserver with --enable-shared.
-
- 21 Jan, 2012 15 commits
-
-
Dmitry Volyntsev authored
This avoids (for all practical cases) the issue of reusing the same UDP port as for an earlier connection. If the remote doesn't know the previous session was closed, he might keep on sending packets to that port. If we always start off trying to open the same UDP port, we might get those packets intermixed with the new ones. This is occasionally an issue when testing RTSP stuff with DSS, perhaps also with other servers. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Dmitry Volyntsev authored
This check isn't relevant in the way the code currently works. Also change a case of if (x == 0) into if (!x). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The s->ssrc field is the sender's SSRC, we use ssrc + 1 to get a collision free "unique" SSRC for ourselves in the RR part. The SDES block in the RTCP packet should describe ourselves, not the sender. This was fixed for the RR part in 952139a3, but wasn't fixed for the SDES part until now. This could cause some Axis cameras to send RTCP BYE packets to us due to the SSRC collision. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Reinhard Tartler authored
-
Reinhard Tartler authored
-
Janne Grunau authored
Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
-
Janne Grunau authored
They are used to signal the number of slices and offsets of each slice out of band to the decoder.
-
Martin Storsjö authored
Also include stdlib.h explicitly - currently it is used implicitly via avformat.h. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Anton Khirnov authored
This temporarily (until 0.8 is released) reverts commit 8e1340ab. That commit breaks shared builds because of symbol hiding. Reverting it will enable shared builds for 0.8
-
Dustin Brody authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Dustin Brody authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Dustin Brody authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
John Brooks authored
When either video dimension is only one macroblock, subtractions based on v_edge_pos and the macroblock size may be negative. In that situation, an unsigned comparison isn't sufficent to test for MV overruns, because a limit of (unsigned)-1 will let any other value pass. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 20 Jan, 2012 8 commits
-
-
Martin Storsjö authored
Originally, sizeof(struct MOVIentry) was 48, after the reordering, it is 40 in my build configuration. When writing really long mov/mp4 files, this can make a difference - this saves a bit over 2 MB of memory per hour of video (down to 10.3 MB per hour from 12.3 MB per hour initially) for a video with 75 packets per second - 25 fps + 50 audio packets (which is the case for AMR audio). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Without this, the end of the file might not be transmitted/written. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
It also optionally can throttle its operation to a particular speed, to simulate realtime writing. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Felipe Contreras authored
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Janne Grunau authored
The H.264 decoder needs SPS and PPS for initialization during multi-threaded decoding. When probed single-threaded SPS and PPS are copied to extradata and are available for proper initialization of the decoder before the first frame is decoded.
-
Dustin Brody authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
- 19 Jan, 2012 1 commit
-
-
Jindřich Makovička authored
Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
-