Michael Niedermayer
cc38e063be
Revert flvdec.c part of r20836
...
Log:
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
arrays of fixed length.
Code from ffmbc with changes to adapt to our metadata API.
Reason: memleak & fix is not trivial
Originally committed as revision 20866 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
8e9efe4392
FLV 8-bit PCM is unsigned, not signed
...
Fixes issue #1569
Originally committed as revision 20853 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
02483df478
Make sure the Metadata: header is not printed if the only metadata will not
...
be displayed. (idea from ffmbc)
Originally committed as revision 20850 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b298daea1a
Move dump_metadata() to where it is in ffmbc, looks better.
...
Originally committed as revision 20849 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
229303d16c
indent
...
Originally committed as revision 20848 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
4d9b678448
Skip dumping language twice.
...
This looks too ugly. Idea also from ffmbc.
Originally committed as revision 20847 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2e720e11bc
dump metadata for AVStreams & AVPrograms too.
...
Originally committed as revision 20846 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8b5e5ec5d7
Factorize dump_metadata() out.
...
Idea from ffmbc, code not, mine is a fraction of the size due to simpler
metadata API.
Originally committed as revision 20845 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
cc20679a41
Try to simplify av_estimate_timings_from_pts() like in ffmbc.
...
Note if this breaks for some file, report it please!
Originally committed as revision 20844 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
35164ffe50
Correct truncated ID3v1 genre name.
...
Originally committed as revision 20843 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0e500e0db2
Debug av_log() about stream probing from ffmbc.
...
Originally committed as revision 20842 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0cd55b0c18
Add CODEC_ID_DNXHD into the 25 fps case.
...
Merged from ffmbc.
Originally committed as revision 20841 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
da457e7086
Simplify code by using av_metadata_set2().
...
somewhat based on ffmbc
Originally committed as revision 20840 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
dfe9ee6b95
More entries for ff_id3v2_metadata_conv from ffmbc.
...
Originally committed as revision 20839 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8a98be1a08
s/author/artist/ for ID3
...
from ffmbc
Originally committed as revision 20838 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
57f36fda56
More ID3v1 genres from ffmbc.
...
Originally committed as revision 20837 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
12ad66712a
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
...
arrays of fixed length.
Code from ffmbc with changes to adapt to our metadata API.
Originally committed as revision 20836 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
a181981eb4
Add flags to prevent strdup() on arguments to av_metadata_set2().
...
I cannot use the same ABI as ffmbc as value 2 is already used in ffmpeg,
besides the name AV_METADATA_NONCONST* makes no sense to me.
Add av_metadata_set2() that takes flags.
Originally committed as revision 20834 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
17986563eb
Get rid of useless casts.
...
Originally committed as revision 20831 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
005d9b57ad
Print extradata in case of failure. I had this in my local tree and it
...
might be usefull for others ...
Originally committed as revision 20828 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c3d1532944
APIChanges & minor bump due to avg_frame_rate addition.
...
Originally committed as revision 20827 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
02b398ef49
Add avg_frame_rate.
...
Originally committed as revision 20826 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
a76cf4e197
Use constant CODEC_ID_NONE instead of 0 where appropriate.
...
Originally committed as revision 20824 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
51ce8c2f87
Remove commented out code.
...
Originally committed as revision 20823 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
0dae3e13e3
Factor out extradata reading code.
...
Borrowed from RM demuxer in FFmbc.
Originally committed as revision 20821 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
119c61a30f
RM audio stream version should be 16-bit followed by header size or reserved
...
word, so treat it this way instead of extracting different parts from 32-bit
value.
Originally committed as revision 20820 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
461ef74116
Make RM demuxer look more like proper demuxer by introducing codec tags
...
instead of many strcmp() on always four-byte strings.
Idea borrowed from RM demuxer in FFmbc by Baptiste Coudurier.
Originally committed as revision 20819 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
851ef8755b
Factor out variable declaration
...
Originally committed as revision 20818 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
5e15c7d95b
Fix PTS for OGM codecs.
...
Fixes issue251
Originally committed as revision 20815 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
John Stebbins
106fa129f4
Reset pts_buffers in av_read_frame_flush().
...
Patch by John Stebbins, jstebbins jetheaddev com
Originally committed as revision 20806 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
cfac91fec3
Dump RTMP packet contents in debug mode
...
Originally committed as revision 20799 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
f8caa5441b
5l trocadero: don't forget to free packet in gen_connect()
...
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)
Originally committed as revision 20798 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
72b870b95b
Do not try to interact with RTMP server after "stop" command was received.
...
Patch by Martin Storsjö ($name at $name dot `Sao Tome and Principe domain`)
Originally committed as revision 20797 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
ab176fdffb
(Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.
...
Originally committed as revision 20796 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
f63e5a7410
Support Etymonix MPEG-2 video codec, fixes issue 1603.
...
Originally committed as revision 20795 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ben Littler
4bae225126
add dvcs to dvvideo, fixes issue 1604
...
Originally committed as revision 20786 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
4b86926b95
Support AVI1 and AVI2 in avi as MJPEG.
...
Fixes issue 1602.
Originally committed as revision 20781 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b68a7679f9
Raise threshold of h263 probe by 1 to avoid misdetection.
...
Fixes issue 1588.
Originally committed as revision 20765 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f76eef99a2
Add out commented av_log to debug h263_probe.
...
Originally committed as revision 20764 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6de5b62790
Also print the number of invalid packets in the debug output.
...
Originally committed as revision 20763 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
55f6524789
Flip the comparission direction of vid+audio+priv1 and pspack, it appears to have
...
been wrong.
Fixes issue1571.
Originally committed as revision 20762 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
4da715cb24
AU : demuxed packet size should be sample size aligned.
...
Fixes issue 1593.
Originally committed as revision 20758 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
e07c92e4bb
cosmetics: insert space between codeword and left parenthesis
...
Originally committed as revision 20746 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
615c287990
Do not send invokes to RTMP server if we are not connected to it.
...
Patch by Sergiy (server.connect("gmail.com").selectAddress("piratfm"))
Originally committed as revision 20745 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sean Soria
b593f7fdef
Calls to url_fseek should have their return value checked in
...
av_seek_frame_binary, just as they do in av_seek_frame_generic.
Otherwise, function may return success even though url_fseek reported
failure.
Patch by Sean Soria, first.last at gmail
Originally committed as revision 20744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
c72406112f
cosmetics: reindent after last commit
...
Originally committed as revision 20732 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
6bf22e18d1
Implement RTMP output (publishing FLV stream to RTMP server).
...
Patch by Sergiy (piratfm at `do-no-evil-mail`.com)
Originally committed as revision 20731 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
84a29dc10a
Compress headers for output RTMP packets.
...
Patch by Sergiy (piratfmGMAIL)
Originally committed as revision 20728 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
2784ede40a
Remove duplicating variable
...
Originally committed as revision 20718 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
6a63e83afc
5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it
...
Originally committed as revision 20717 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago