summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AVIDump.cpp
AgeCommit message (Collapse)Author
2017-02-06AVIDump: use a separate AVCodecContextMichael Maltese
Using the AVCodecContext contained in AVStream for muxing is officially discouraged[1] and AVStream::codec was deprecated in favor of AVStream::codecpar in libavformat 57.33.100 / 57.5.0. 1: [FFmpeg-cvslog] lavf: replace AVStream.codec with AVStream.codecpar: https://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-April/099152.html
2017-02-06AVIDump: open codec before streamMichael Maltese
Minor oversight in the existing code.
2017-02-06AVIDump: use avformat_free_contextMichael Maltese
This function frees all associated streams and codec contexts, and has existed since libavformat 52.96.0 (February 2011).
2017-02-06AVIDump: Replace deprecated avcodec_encode_video2Michael Maltese
2017-01-29AVIDump: Rename CloseFile to CloseVideoFileLioncash
Retains symmetry with CreateVideoFile.
2017-01-23AVIDump: rename CreateFile -> CreateVideoFile (conflict with windows.h)Michael Maltese
2016-11-07Renderer: Threaded frame dumping.degasus
2016-11-04AVIDump: Drop frames which are delayed over a savestate.degasus
2016-11-04AVIDump: Add a struct for the state.degasus
So AddFrame use no global state and can be threaded well.
2016-11-04AVIDump: Inline OSD error handling.degasus
This fixes a review feedback in PR #4345.
2016-11-04AVIDump: Merge redundant variables.degasus
They were always the same. We also don't scale at all.
2016-11-04AVIDump: Drop stored frame.degasus
This used an invalid pointer, which was only valid within AddFrame. This drops a feature which shall dump the last frame as it might was dropped before. A good implementation however should "overwrite" the last frame if the time matches. But this needs to delay every frame a bit.
2016-10-10AVIDump: Move CoreTiming into caller.degasus
2016-10-08AVIDump: Hard code rgba.degasus
2016-10-08VideoCommon: Add custom stride for framedumping.degasus
2016-10-04Fix frame dumps on file close in certain situationsChris Burgener
2016-10-03Fix frame dump crash when resolution changesChris Burgener
2016-09-06Fix recursive codeChris Burgener
2016-08-24Fix frame dump issues where frame dumping stops before next drawn frameChris Burgener
2016-08-04Remove Global Declarations from MovieChris Burgener
2016-07-21Check for zero height when splitting video dumpChris Burgener
2016-07-10Use newer ffmpeg APIs to avoid deprecation warnings.comex
2016-06-25Split Video Dumps on Resolution ChangeChris Burgener
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-02-19Properly Handle Video Dumping from Power OnChris Burgener
2016-01-28Fix warningsTillmann Karras
2016-01-28Merge pull request #3426 from Sonicadvance1/ES_fix_framedumpRyan Houdek
Add support for framedumping to OpenGL ES.
2016-01-21VideoInterface: Change a global into a translation-unit local variableLioncash
2016-01-19AVIDump: coded_frame is deprecatedSilvan Jegen
Setting this is not required anymore as of commit 40cf1bbacc622 of FFmpeg. For users of older versions of the libavcodec library we guard the change with an #if.
2016-01-17VideoCommon: Header cleanupLioncash
Also remedies places where the video backends and core rely on things being indirectly included.
2016-01-09Add support for framedumping to OpenGL ES.Ryan Houdek
2016-01-08Force XVID FourCC for MPEG4 outputChris Burgener
2016-01-07Use ffmpeg for Windows Video Dumping instead of VFWChris Burgener
2016-01-03AVIDump Clean Up and FixesChris Burgener
2015-08-21AVIDump: fix -Wsign-compare warningTillmann Karras
Cast the other side of the comparison to avoid a warning with newer ffmpeg/libav versions (cb3591e69738c808d26ba15eb02414fedfcd91cc).
2015-08-19Fix some compilation warningsDominic Chen
2015-06-04Use PanicAlertT instead of PanicAlert when appropriateJosJuice
I tried to change messages that contained instructions for users, while avoiding messages that are so technical that most users wouldn't understand them even if they were in the right language.
2015-05-25Merge pull request #2382 from RisingFog/vfwfixRyan Houdek
Fix video dumping incorrect lengths for some games in Windows
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-09Fix video dumping incorrect lengths for some gamesFog
2015-02-14Windows AVIDump: support "silent" frame dumpingPierre Bourdon
When enabled, the silent option will avoid popping up dialog boxes for overwrite confirmation or codec selection. The codec selection defaults to uncompressed RGB. This is required for FifoCI on Windows which needs to drive Dolphin from the command line exclusively.
2015-01-26Revert "Merge pull request #1903 from RisingFog/libav"Pierre Bourdon
This reverts commit 34079a00379d8fb773e570c2d6fbf8750c0cd7b2, reversing changes made to 3274df71588640b4648628e513cc59d6bdbdae26.
2015-01-21Use ffmpeg for Windows Video Dumping instead of VFWFog
2014-11-18Renamed EuRGB60 to PAL60Stevoisiak
2014-11-02Fix warnings about non-static variablesTillmann Karras
2014-10-23Fix timing of AVI files dumped on LinuxSylvain Gadrat
The timing information is set on s_scaled_frame->pts, giving precise timing information to the encoder. Frames arriving too early (less than one tick after the previous frame) are droped. The setting of packet's timestamps and flags is done after the call to avcodec_encode_video2() as this function resets these fields according to its documentation.
2014-10-12Merge pull request #1261 from lioncash/mesa-resonance-cascadeskidau
AVIDump: Add missing CoreTiming header
2014-10-11AVIDump: Add missing CoreTiming headerLioncash
Fixes build on the mesa buildbot
2014-10-09Proper Audio/Video DumpingFog