Loading...

Extended Video Export 0.4.4 [BETA]

Download
Nightingale
IMPORTANT: Due to the way this mod works, the original Rockstar Editor video file will NOT be saved to the disk (actually it does, but it will be empty). The complete video will be exported to the folder specified in the .ini file.

NOTE: For high resolution exports without DSR, use this guide by Kravencedesign

NOTE: If you want to know how to install and use this mod, check this great tutorial from whanowa.

Source code for this mod is available on github.

You can watch a showcase of some of the features here.

Extended Video Export

Extended Video Export is an enhancement mod for GTA V, aimed at directors who want better export options from Rockstar editor.


Requirements




How to install:

Just extract all the files to the game directory.


Configuration:

You can change the configuration by editing ExtendedVideoExport.ini file. Help about each option can be found in ExtendedVideoExport.txt


Current Features:

  • High Quality Export:
    Whenever you export a video via Rockstar Editor, this script saves it with a custom quality in the current user’s video folder. The quality of the exported video can be configured using the .ini file. Even lossless exports are possible too.
  • Custom Video Encoder:
    Supported video encoders include (but not limited to) x264, x265, FFV1, VP8, VP9 and more.
  • Custom Audio Encoder:
    Supported audio encoders include FLAC, AC3, Vorbis and more.
  • ReShade/ENB Support:
    If you are using ReShade or ENB graphics mods, your exported videos will have the effects too.
  • Nvidia DSR Support:
    You can now export higher resolution videos using Nvidia DSR. Note that this will only work if you use DSR in Fullscreen mode. Windowed and Borderless Windowed modes are not supported. ATI VSR might work too, but it is not tested.
  • Custom frame rate (Experimental):
    You can now set the frame rate in the config file. Be careful that setting it too high might disable the exported file’s audio. Also note that this feature has only been tested on 1.0.350.1 version of the game. If you tested on another version and it worked, please leave a comment and let me know.
  • Motion blur (Experimental):
    Videos can have high quality motion blur effect. Be careful when setting motion_blur_samples config, setting it too high will make the exporting take a very long time.
  • OpenEXR Export (High Dynamic Range):
    Exporting of floating point R16G16B16 version of the scene is now possible in OpenEXR format. When enabled, the mod will create a new folder beside the exported video that contains one .exr file for each frame. This file also contains the depth and stencil buffers but they aren’t implemented the right way. These files are only usable in professional image and video manipulation programs. Enable this feature only if you know what you’re doing.


Important things to note:

  • The default video codec is libx264, but you can change it in the .ini file. There are a number of example codec configurations in the .ini file, you can try them or change the configuration as you like.
  • Exporting a video using this mod might take much longer times than the original export, especially towards the end. You might think that the process has freezed, but most probably it’s not.
  • Lossless video files tend to get really large (around 1GB for 20 seconds of 1080p video @60fps in my case). These files are to be used with video editing software. They can also be played using MPC-HC and VLC, but it requires a lot of CPU power. The stuttering you may experience is because of the large size of the file and the complexity of the decoding process, the rendered files themselves have no stutter.



Changelog

Changes in v0.4.4beta

  • Changed shutter position parameter to motion_blur_strength and made it work correctly. The value should be between 0 and 1. Zero means no motion blur and one means full frame length blur.



Changes in v0.4.3beta

  • Fixed the problem with importing exported files into video editing applications (Sony Vegas, Adobe Premiere, ...). The default preset was tested with Sony Vegas 12
  • Added shutter position parameter for motion blur.


Changes in v0.4.2beta

  • Added GIF preset.
  • Fixed some compatibility issues.
  • Fixed presets again.
  • Fixed some minor bugs.



Changes in v0.4.1beta

  • Fixed missing/wrong presets.



Changes in v0.4.0beta

  • Updated FFMPEG to v3.2.x. So "aac" codec is available now.
  • Exported videos should have better compatibility with video editing software.
  • Better audio/video syncing.
  • Image sequence (JPG, PNG, ...) support added.
  • Audio only or Video only exports possible now.
  • Added a number of presets for common exporting scenarios.



Changes in v0.3.0beta

  • IMPORTANT: Remove old dlls, log, and ini file from the GTA directory. Here a list of files you have to delete:
    • ExtendedVideoExport.ini
    • ExtendedVideoExport.log
    • ExtendedVideoExport.txt
    • avcodec-56.dll
    • avdevice-56.dll
    • avfilter-5.dll
    • avformat-56.dll
    • avutil-54.dll
    • postproc-53.dll
    • swresample-1.dll
    • swscale-3.dll

  • Moved dlls and config files to a folder.
  • Separated config from format preset.
  • Fixed a crash with MSAA set to off.



Changes in v0.2.2beta

  • Fixed crash when using DirectX 10 or DirectX 10.1



Changes in v0.2.1beta

  • Depth and stencil (mask) channels are now exported correctly in OpenEXR format
  • Enabled multithreading on OpenEXR exports
  • Removed unused hooks



Changes in v0.2.0beta

  • OpenEXR export added
  • Reimplemented frame capturing logic. This solves some crashes and blank videos.


Changes in v0.1.6beta

  • Custom FPS and Motion Blur should now work in more recent versions of the game.


Changes in v0.1.5beta

  • Fixed a parsing error in .ini file that made the mod always export as .mkv
  • Added auto use of custom fps is it is supported by the game version


Changes in v0.1.4beta (Experimental)

  • Added custom frame rate support
  • Added motion blur support


Changes in v0.1.3beta

  • Added option to export mp4 and avi files too.
  • Fixed a number of crashes.


Changes in v0.1.2beta

  • Fixed a bug where game freezed when exporting a video.


Changes in v0.1.1beta

  • ReShade/ENB support added.
  • High resolution export added using Nvidia DSR
  • Fixed some random crashes.


Changes in v0.1.0beta

  • Changed the way the frames are captures, so now full RGB exports are possible.
  • Added configurable video and audio codecs support.
  • Better memory management.
  • Automatically reload the .ini file before each export.
  • Different log levels.
  • Experimental ENB/ReShade support removed since it was not good enough (actually it sucked).


Changes in v0.0.5alpha

  • Added experimental ReShade/ENB support


Changes in v0.0.4alpha

  • Added .ini configuration file support.
  • Fixed a crash due to a race condition in the encoder.


Changes in v0.0.3alpha

  • Added audio to the exported video file (also lossless).
  • Better memory management


Changes in v0.0.2alpha

  • Fixed crash in some resolutions/configurations.


Changes in v0.0.1alpha:

  • Lossless video export



Configuration

enable_mod

  • Description: If set to false, the script won’t be run.
  • Values: true, false
  • Warning: Auto reload feature does not update this value, you have to restart the game for it to take effect
  • Example:
    • enable_mod = true



auto_reload_config

  • Description: If set to true, this config file will be automatically reloaded whenever you export a new video.
    Especially useful if you want to toy with encoder settings
  • Values: true, false
  • Example:
    • auto_reload_config = true



output_folder

  • Description: Videos will be exported to this folder. If left empty, current user’s videos directory will be used.
  • Values: [empty] or a valid path
  • Warning:
  • Example:
    • output_folder = D:\MyVideos\



log_level

  • Description: Sets the detail of the mod’s logging feature. Please use “trace” level to report bugs.
  • Values: error, warn, info, debug, trace
  • Example:
    • log_level = trace



[EXPORT] Section

format

  • Description: Output file format.
  • Values: mkv, mp4, avi
  • Example:
    • format = avi



fps

  • Description: FPS value.
  • Values: It can be a floating point value (like 20.3), or a fraction (like 30000/1001)
  • Warning:
  • Examples:
    • fps = 60
    • fps = 23.976
    • fps = 30000/1001



motion_blur_samples

  • Description: Number of motion blur samples. The higher the value, the higher the quality of motion blur, and higher exporting time. A value of zero means motion blur is disabled.
  • Values: 0-255 (0 means disabled)
  • Warning: Setting this to a high value will make export take a very long time.
  • Example:
    • motion_blur_samples = 10



export_openexr

  • Description: If enabled, each frame is exported as a floating point HDR OpenEXR file containing “RGBA” channels and “depth.Z”
  • Values: true, false
  • Warning: Enabling this slows the exporting process significantly
  • Example:
    • export_openexr = false



[VIDEO] Section

encoder



pixel_format

  • Description: Pixel format of the output video
  • Values: Any format supported by the selected encoder. Most common formats are “yuv444p” and “yuv420p”.
  • Warning: The game might crash if the encoder does not support the pixel format.
  • Example:
    • pixel_format = yuv444p



options

  • Description: Video encoder options
  • Values: Any number of key=value pairs seperated by ‘/’. See https://ffmpeg.org/ffmpeg-codecs.html#Video-Encoders for each encoder’s available settings.
  • Note: “b” is for bitrate
  • Example:
    • options = preset=slow / b=40000000




[AUDIO] Section

encoder



sample_format

  • Description: Sets the audio sample format.
  • Values: Any format supported by the selected encoder. Most common formats are “s16” and “fltp”.
  • Warning:
  • Example:
    • sample_format = fltp



sample_rate

  • Description: Audio sampling rate.
  • Values: Any sampling rate you want. Sampling rates above 48000 are not useful since the game doesn’t support them.
  • Example:
    • sample_rate = 48000



options

  • Description:
  • Values:
  • Note: “b” is for bitrate
  • Example:
    • b=320000



Example [VIDEO] presets

Lossless H.264 (Very slow)

  • encoder = libx264
  • pixel_format = yuv420p
  • options = preset=veryslow / crf=0


Lossless H.264 (Fast)

  • encoder = libx264
  • pixel_format = yuv420p
  • options = preset=ultrafast / crf=0


H.265 (HEVC) (Slow)

  • encoder = libx265
  • pixel_format = yuv420p
  • options = preset=slow / b=40000000


H.265 (HEVC) (Very slow)

  • encoder = libx265
  • pixel_format = yuv420p
  • options = preset=veryslow / b=40000000


Lossless FFV1 (Full RGB, Very Large Files)

  • enocder = ffv1
  • pixel_format = bgr0
  • options = slices=16 / slicecrc=1


Example [AUDIO] presets

Lossless FLAC

  • encoder = flac
  • sample_format = s16
  • sample_rate = 48000
  • options =


AC3 320Kbps

  • encoder = ac3
  • sample_format = fltp
  • sample_rate = 48000
  • options = b=320000
View topic on GTA5-Mods.com Forums »
First Uploaded: November 22, 2016
Last Updated: February 08, 2017
Last Downloaded: 1 hour ago
5,733

Sponsored Link

803 Comments

  • 5031c8 photo 2016 11 22 17 59 03
    nightingale
    Pinned Comment

    Got a problem or crash after installing the mod? Follow these steps to send me a complete log file so I can help you:
    1. Modify "EVE\ExtendedVideoExport.ini" file and set the "log_level" option to "trace" like this:
    log_level = trace
    2. Restart the game and export your video again.
    3. Upload the "EVE\ExtendedVideoExport.log" file somewhere (like https://www.mediafire.com)
    4. Describe your problem here in the comments and include the link to the uploaded file.

    January 30, 2017
  • Default

    Stopped working for me again... tried to delete asiloader and reinstall the mod while running steam in admin mode but no success can't seem to get the mod to work. Every time I export it just goes straight into the rockstar file where the preset low quality rockstar exports are.. Anything else I can try to do?

    March 11, 2017
  • Adaf36 stancedboss logo 3

    @woergl Nope, it stopped working :/

    March 11, 2017
  • Gtao01

    @el_charco MODS change (crf=2) to (crf=1)

    March 12, 2017
  • Adaf36 stancedboss logo 3

    @Peace_to_jo I've just tried but doesn't work. Anyway, thanks. I think I'll wait for the next update and see if it works.

    March 12, 2017
  • 672c89 2016 02 s07

    @Nightingale
    works good but i have like encoder = libx264
    pixel_format = yuv420p
    options = b=140000000 / bf=2 / flags=+cgop

    what is BF=2 ??

    March 14, 2017
  • Gtao01

    Guys script hook gvs me an error that its version doesn't match with the game, anybody else?

    March 14, 2017
  • 672c89 2016 02 s07

    wait for update of the script hook cause the game updated today

    March 14, 2017
  • 672c89 2016 02 s07

    for best motion blur effect what to use 60 or 30 fps?

    March 14, 2017
  • 845b18 honda
    JCM

    @nightingale while recording when my recording time is full, then it auto record again but after 5 sec of the new record game crash!!! i don't know what to do

    March 16, 2017
  • 672c89 2016 02 s07

    @Spitfire_2600
    did you find a solution ? when i render at 30 the video will come 30.219 ... how do i render at 30 or 29.97 ?

    March 18, 2017
  • 672c89 2016 02 s07

    also my projects come in different frames.... 30.142 30.212 etc so this will cause shutter

    March 18, 2017
  • Default

    It crash when export video I have game steam version with add-on car mods, mod run by script hook v

    March 18, 2017
  • 672c89 2016 02 s07
  • Gtao01

    @Himura dayum man that's really good

    8 days ago
  • Gtao01

    Guys sometimes i get an error saying failed to create threaded function, any ideas?

    8 days ago
  • Default

    Here my log code, it's crash when i start render . https://gist.github.com/anonymous/dddd8fd73eb36df712bb52deddcbb7bc
    please help me fix .

    5 days ago
  • Default

    Also there is no video on my D:\videos folder, it's stil export to my defautl location in driver C appdata . it's mean mod not work, i dont understand .

    5 days ago
  • Default

    Does the depth channel work?

    4 days ago
  • Chop

    This is a great mod... I just want to say this... I exported a vid, but the file won't open In the windows media.. Help?

    3 days ago
  • 672c89 2016 02 s07

    change format

    23 hours ago
Join the conversation! Log In or register for an account to be able to comment.