summaryrefslogtreecommitdiff
path: root/src/combined/ffmpeg/ff_video_decoder.c
AgeCommit message (Collapse)Author
2015-08-08ff_video_decoder: refcount AVFrames.HEADmasterTorsten Jager
And do flush via a separate AVFrame. Maybe this fixes some rare race. BTW. libavcodec 56 left an ambigous impression to me. It does now respect flush requests even in multithread mode. Good. On the flipside, that "too many DR1 frames in MPEG-TS" issue returned. The very same stream needed between 7 and 17 frames, depending on the start time of playback :-/ Also, the future of MPEG4 style postprocessing seems uncertain again.
2015-08-08ff_video_decoder: conditionalize AVCodecContext.stream_codec_tag.Torsten Jager
2014-12-09ff_video_decoder: default deep color to SD matrix.Torsten Jager
HD color matrix (ITU-R 709/SMTE 240) serves to provide a bit more depth at least for greens where it strikes the most. Having more than 8 bits for real makes this trick obsolete, so deep color defaults to good old SD mode. Bad thing: now we need real support in video out to benefit. Has anyone got an idea how to integrate that into xine video out API (capability flags are nearly used up)? I found some UHD tests on Astra 19.2°E 11.406GHz V 22Msym/s 2/3 8PSK and 10.995GHz 22Msym/s 9/10 8PSK showing this.
2014-08-30Add simple deep color support.Torsten Jager
After putting this little diff to my old Kaffeine: - - - kaffeine-1.2.2/src/dvb/dvbsi.cpp 2011-04-17 21:17:19.000000000 +0200 + + + kaffeine-1.2.2/src/dvb/dvbsi.cpp 2014-08-24 15:41:08.000000000 +0200 @@ -1206,6 +1206,7 @@ DvbPmtParser::DvbPmtParser(const DvbPmtS case 0x02: // MPEG2 video case 0x10: // MPEG4 video case 0x1b: // H264 video + case 0x24: // H265 video if (videoPid < 0) { videoPid = entry.pid(); } else { I stumbled upon "UHD TV" on Astra 19.2E, 11.406Ghz V, 22000, 2/3, 8-PSK, 0.35, Video PID 255. DSP version? Anyway, my box is far too slow for 3840x2160p50 H.265 10bit :-/
2014-08-02Fix AVCodecContext/AVFrame freeing.Torsten Jager
2014-08-02Uniform ffmpeg version test.Torsten Jager
2014-06-18ff_video_decoder: fix multithreading #7.Torsten Jager
Rename var to avoid possible macro name collision.
2014-06-12ff_video_decoder: fix multithreading #6.Torsten Jager
Make sure thread count is sane.
2014-06-12ff_video_decoder: fix multithreading #5.Torsten Jager
Avoid rv30/rv40 heap corruption after reading bitstream from invalid location. BTW. Should ff better be more robust there as well?
2014-06-12ff_video_decoder: fix multithreading #4.Torsten Jager
Avoid H.265 image size pumping on x86, for example. This really is a workaround for an ff bug. They should issue emms when done with a frame instead.
2014-05-24ff_video_decoder: fix multithreading #3.Torsten Jager
This one seems to prevent "too many DR1 frames" freezes on heavy seeking.
2014-05-24ff_video_decoder: fix multithreading #2.Torsten Jager
2014-05-20ff_video_decoder: fix multithreading.Torsten Jager
2014-05-20ff_video_decoder: add DR1 reenable message.Torsten Jager
This happens when multithreading, for example.
2014-05-17Simplify ffmpeg video edge handling.Torsten Jager
Re-enable DR1 for suitably sized video when vo does not crop. So, this one is tested with 4k vp9 video on both AMD Athlon x2 and AMD FX x6. Seems these boxes throw ordinary segfaults not bus errors on misaligned data. Anyway, vp9 soft decoding is terribly slow still. BTW. H.265 and probably vp9 allow variable size macroblocks up to 64 squared luma pixels. For some reason, ffmpeg still wants only 16 pixel edges ??
2014-05-13Attempt to fix ffmpeg vp9 segfault.Torsten Jager
Try not to add a lot of extra padding.
2014-04-19added constPetri Hintukainen
2014-03-13Fix build regression #12508.Torsten Jager
2014-03-12Fix compilation if AV_BUFFER is not defined.Darren Salt
2014-03-11Work around removal of av_frame_get_qp_table in libavutil53.Darren Salt
There are deprecated fields still in use here.
2014-01-04Copyright year update by hg log #4.Torsten Jager
BTW. Happy 2014 to you! Didnt think xine will survive this far :-) And yes, I finally got an ffmpeg patch through. That kind of rounds the circle :-)
2014-01-04ffmpeg: auto use (AV_)CODEC_ID/(AV_)PIX_FMT part 2.Torsten Jager
HG #12298 + #12335 obsolete the decoder side #define's. Tweaking libavcodec.h after building that lib may be risky or future useless anyway.
2013-12-10YCgCo: enable ffmpeg software decoder.Torsten Jager
2013-12-02ff_video_decoder: yet another DR1 image size fix.Torsten Jager
Dont output 1920x1080 as MB padded 1920x1088, for example. And make code more readable. BTW. VAAPI handles padding internally, and only needs to know the pure visible size?
2013-11-28ff_video_decoder: attempt to really fix the orphaned DR1 frames issue.Torsten Jager
2013-11-28ff_video_decoder.c: cosmetics (fix source view folding).Torsten Jager
2013-11-23ff_video_decoder: use AVBuffer API.Torsten Jager
AVFrame.qscale_table had been deprecated at the same time.
2013-11-23ff_video_decoder: fix palette side data freeing.Torsten Jager
2013-09-22Fix VC1 decodingPetri Hintukainen
2013-09-13Copyright year update by hg log infoTorsten Jager
script execution time: 55"
2013-08-15ffmpeg_video_decoder: avoid CODEC_FLAG_EMU_EDGETorsten Jager
libavcodec 54. 86.100 wmv2 and mpeg4 decoders ignore this flag (probably inside some dsp routine), provoking segfault. Turning off direct rendering is a quick but nasty workaround. If vo plugin can crop, we may drop that emulation without performance penalty, and sometimes even speed up a little.
2013-08-15ffmpeg_video_decoder: default to square pixelsTorsten Jager
Prevent vo loop from calculating undefined aspect ratio from _padded_ image size, leading to black bars and unnecessary scaling.
2013-07-27Reinitialize VAAPI in get_buffer() when image size changesTorsten Jager
2013-04-15ff_video_decoder/vaapi: removed setting deprecated dsp_maskPetri Hintukainen
2013-04-11ff video decoder: made use of AVCodecContext.sub_id conditionalTorsten Jager
2013-03-21Fix up build with recent libav*.Darren Salt
2013-02-21ffmpeg_video_decoder: re-enabled palette video decodingTorsten Jager
2013-01-30ff_video_decoder: fix VAAPI decodingTorsten Jager
2013-01-21ff_video_dec: single-pass rgb -> yuy2 conversionTorsten Jager
2013-01-17VAAPI decoder and video output plugin from ↵Petri Hintukainen
https://github.com/huceke/xine-lib-vaapi
2013-01-17ff_video_decoder: delay calling set_stream_info() instead of calling it from ↵Petri Hintukainen
get_buffer() (merged from https://github.com/huceke/xine-lib-vaapi)
2013-01-17ffmpeg mpeg1/2: copy progressive and top_field_first flagsPetri Hintukainen
(merged from https://github.com/huceke/xine-lib-vaapi)
2013-01-17Pass frame as parameter to ff_convert_frame()Petri Hintukainen
(merged from https://github.com/huceke/xine-lib-vaapi)
2013-01-17Silenced warningPetri Hintukainen
2012-06-29Add color matrix support to video out interfaceTorsten Jager
2012-06-25ff_video_decoder.c: fix: free _all_ DR1 framesTorsten Jager
Fixes laming/freezing after manually stopping VP6 or WMV video. That issue does not hit when we let the stream play to its end.
2012-06-05Merge from 1.1Petri Hintukainen
2012-06-05Added missing ifdef AVCODEC_HAS_REORDERED_OPAQUECarlo Bramini
2012-06-05Added check for AVCodecContext.color_range and AVCodecContext.colorspacePetri Hintukainen
2012-05-28Merge from 1.1Petri Hintukainen