<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/ffmpeg.cc, branch main-old</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=main-old</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=main-old'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2022-04-28T21:54:32Z</updated>
<entry>
<title>Improve rejection of "crazy" frame rates (#2238).</title>
<updated>2022-04-28T21:54:32Z</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=f09d57bb4db404b1cff9679eed76b36011d1941f'/>
<id>urn:sha1:f09d57bb4db404b1cff9679eed76b36011d1941f</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-01-25T18:44:56Z</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=9c8d2ed2e112596f7bb970d20f9240ec4519ec3e'/>
<id>urn:sha1:9c8d2ed2e112596f7bb970d20f9240ec4519ec3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a separate AVFrame for each stream when decoding.</title>
<updated>2022-01-11T15:34:26Z</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=32925ee291446cfba8bbd35828ba1719373edb40'/>
<id>urn:sha1:32925ee291446cfba8bbd35828ba1719373edb40</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-24T23:14:36Z</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=fff2c8e7ec45cd4473c0753d67e06ee5b589717b'/>
<id>urn:sha1:fff2c8e7ec45cd4473c0753d67e06ee5b589717b</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>
<entry>
<title>Switch decoding to ffmpeg send/receive API.</title>
<updated>2021-04-30T23:31:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-28T22:27:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e29ce33a36c2e20444d57196defc86d5072bce81'/>
<id>urn:sha1:e29ce33a36c2e20444d57196defc86d5072bce81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up some error handling a little.</title>
<updated>2021-04-30T23:31:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-28T08:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e5ae44fe8287c6a5f91c8f9dfced7cb661f0d79b'/>
<id>urn:sha1:e5ae44fe8287c6a5f91c8f9dfced7cb661f0d79b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some FFmpeg-related warnings by using AVStream::codecpar.</title>
<updated>2021-04-30T23:31:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-28T06:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c93d0271dad86dccdbe518dbbe6e2175adce6804'/>
<id>urn:sha1:c93d0271dad86dccdbe518dbbe6e2175adce6804</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Assorted C++11/formatting cleanups.</title>
<updated>2021-04-07T20:15:01Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-07T20:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7bc2134d658778e04f1756c255e604b4ab5a5831'/>
<id>urn:sha1:7bc2134d658778e04f1756c255e604b4ab5a5831</id>
<content type='text'>
</content>
</entry>
</feed>
