<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/ffmpeg.cc, branch davidpowers</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=davidpowers</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=davidpowers'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2023-03-03T00:17:41Z</updated>
<entry>
<title>Setup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.</title>
<updated>2023-03-03T00:17:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-02-23T22:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=69957d093fd1cb798449271e6212cd86321d5528'/>
<id>urn:sha1:69957d093fd1cb798449271e6212cd86321d5528</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Return AVERROR_EOF from the avio_read method when appropriate.</title>
<updated>2022-11-25T23:09:27Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-10-01T18:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bc6fd8c020ad27c86c463876f76c8add042cb660'/>
<id>urn:sha1:bc6fd8c020ad27c86c463876f76c8add042cb660</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: whitespace.</title>
<updated>2022-11-12T00:11:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-12T00:11:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c2f74bf15f6f2a88138119a42a44f4241169f6e5'/>
<id>urn:sha1:c2f74bf15f6f2a88138119a42a44f4241169f6e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve rejection of "crazy" frame rates (#2238).</title>
<updated>2022-04-22T21:28:14Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-22T21:06:19Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9dbf21fd28991898e61020de0809497999282562'/>
<id>urn:sha1:9dbf21fd28991898e61020de0809497999282562</id>
<content type='text'>
Firstly, look for other video streams even if one is not suitable.
Secondly, ignore very low frame rates as well as very high ones.
</content>
</entry>
<entry>
<title>Cleanup: move some methods from util to memory_util.</title>
<updated>2022-04-04T21:09:10Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-01-24T21:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8eb951b71fa90e54c8da64e54cf5ddf6bf0809cf'/>
<id>urn:sha1:8eb951b71fa90e54c8da64e54cf5ddf6bf0809cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>C++11 and whitespace cleanups.</title>
<updated>2022-04-03T21:25:19Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-02T22:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f'/>
<id>urn:sha1:d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a separate AVFrame for each stream when decoding.</title>
<updated>2022-01-11T21:16:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-01-11T15:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b703142e8750c509174b4d964009aecf93f3d834'/>
<id>urn:sha1:b703142e8750c509174b4d964009aecf93f3d834</id>
<content type='text'>
This seems to be what ffplay does and it feels like it makes sense
as frames may be built from multiple packets AFAICS.
</content>
</entry>
<entry>
<title>If there is no end time in an AVSubtitle it seems we should use the AVPacket's duration.</title>
<updated>2021-10-25T08:15:24Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-24T22:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=442eb6a8b78735c2987b16443646e9350b3d68e8'/>
<id>urn:sha1:442eb6a8b78735c2987b16443646e9350b3d68e8</id>
<content type='text'>
This fixes #2110.  I don't have a particular justification for it being
the right thing to do.
</content>
</entry>
<entry>
<title>Add another believed-correct subtitle timing fix.</title>
<updated>2021-09-12T23:22:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-12T20:51:09Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=fc1441eeaa3c0805c37809685ea7a3f5ca173666'/>
<id>urn:sha1:fc1441eeaa3c0805c37809685ea7a3f5ca173666</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix missing subtitles embedded in files decoded by FFmpeg (#2060).</title>
<updated>2021-09-12T23:22:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-12T20:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=60450bd93af0b331d7b98c88aa199366305f0721'/>
<id>urn:sha1:60450bd93af0b331d7b98c88aa199366305f0721</id>
<content type='text'>
Since the FFmpeg 4.4 update it seems that AVSubtitle::pts is no longer
set (it's AV_NOPTS_VALUE, i think).

Instead we apparently need to get the PTS from the packet, which in
turn requires the stream's timebase.
</content>
</entry>
</feed>
