Log in

View Full Version : How to export videos


drunksunk
2nd May 2023, 14:07
After you applied all your filters to a video, how do you export it?

VoodooFX
2nd May 2023, 15:20
I wrote to you that it's called "encode" and that you should ask "how to encode avs scripts".

coolgit
2nd May 2023, 17:03
After you applied all your filters to a video, how do you export it?

To which country? :D

Do you want to compress the your video using x265 or what?

Which software are you using?

VoodooFX
2nd May 2023, 17:30
I use mostly MeGUI but that probably would be overcomplicated for him.

Does anyone know some very simple FFmpeg GUI?

drunksunk
2nd May 2023, 18:16
To which country? :D

Do you want to compress the your video using x265 or what?

Which software are you using?

Need classic x264 mp4 file as output, possibly keeping the same bitrate of the original video.

coolgit
2nd May 2023, 20:34
Whatever software you use just click on save then choose x264 and type in bitrate.

kedautinh12
3rd May 2023, 01:26
I use mostly MeGUI but that probably would be overcomplicated for him.

Does anyone know some very simple FFmpeg GUI?

I think Megui is very simple than other :D

drunksunk
3rd May 2023, 09:22
Whatever software you use just click on save then choose x264 and type in bitrate.

Where do you see this save button?

videoFred
3rd May 2023, 10:58
Where do you see this save button?

Load your script in VirtualDub and hit F7 :)

Fred.

drunksunk
3rd May 2023, 19:34
Load your script in VirtualDub and hit F7 :)

Fred.

it only asks for avi format, so i have to do a second encoding later.

drunksunk
3rd May 2023, 19:50
I just created a 100GB file out of a 300MB file and can't even reproduce it because it's too heavy. So yeah, this avi thing won't work. Not sure if you can actually ingest an avisynth script into ffmpeg.

poisondeathray
3rd May 2023, 20:52
Not sure if you can actually ingest an avisynth script into ffmpeg.

Yes you can . Most public distributed ffmpeg binaries are compiled with avisynth support

VoodooFX
3rd May 2023, 21:03
This program is first result from Google: clever FFmpeg-GUI (https://forum.doom9.org/showthread.php?t=181206)

I just created a 100GB file out of a 300MB
I guess that's because you didn't selected any encoder so VDub saved it uncompressed.

EDIt:
Btw, you can encode directly from AvsPmod but you need to know FFmpeg commands.

drunksunk
3rd May 2023, 23:25
This program is first result from Google: clever FFmpeg-GUI (https://forum.doom9.org/showthread.php?t=181206)


I guess that's because you didn't selected any encoder so VDub saved it uncompressed.

EDIt:
Btw, you can encode directly from AvsPmod but you need to know FFmpeg commands.

how to encode directly from AvsPmod? i was generally using the -c copy thing to have mp4 file in same quality as source. even if I were using the GUI, it would maybe be harder since i have no clue how you can pass an avisynth script as an input of an exe.

So i think just knowing how to run a ffmpeg command inside an avs script would be better. i don't need any fancy options, just encode h264 and dump into mp4 container and i'm done. worst case juse use CBR of 22k like the original video and call it a day so command shouldn't be hard.

VoodooFX
4th May 2023, 00:02
i was generally using the -c copy thing to have mp4 file in same quality as source.
That's not how video editing works, you can copy only non-edited video. Edited video you need to encode.


So i think just knowing how to run a ffmpeg command inside an avs script would be better.
This is nonsense.


i don't need any fancy options, just encode h264 and dump into mp4 container and i'm done. worst case juse use CBR of 22k like the original video and call it a day so command shouldn't be hard.
Use FFmpeg GUI I posted.

drunksunk
4th May 2023, 02:11
That's not how video editing works, you can copy only non-edited video. Edited video you need to encode.


This is nonsense.


Use FFmpeg GUI I posted.

FFmpeg GUI asks for a source video file, you can't pass an avs script as an input to my knowledge.

lollo2
4th May 2023, 10:20
FFmpeg GUI asks for a source video file, you can't pass an avs script as an input to my knowledge.

If you are familiar with a command line, you can simply open a command shell and type:

ffmpeg.exe -i <input>.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k <output>.mp4

drunksunk
4th May 2023, 14:37
If you are familiar with a command line, you can simply open a command shell and type:

ffmpeg.exe -i <input>.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k <output>.mp4

This worked aside from the sound that didn't get exported somehow, but I can add it back manually without any issues.

lollo2
4th May 2023, 16:52
This worked aside from the sound that didn't get exported somehow, but I can add it back manually without any issues.

Strange. The audio in the source file to the AviSynth script, if not wrongly processed, should be propagated to aac encoder by ffmpeg, and then written in the .mp4 output.
Could you post please your AviSynth script?

VoodooFX
12th May 2023, 00:21
You don't need to add audio to avs scripts if you don't edit audio or change timeline of video.
Just mux it in with mkvtoolnix or other tool.

poisondeathray
12th May 2023, 00:25
You can copy the audio from the source directly in the ffmpeg commandline, you don't need a 2nd step


ffmpeg.exe -i input.avs -i source.ext -map 0:0 -map 1:1 -c:v libx264 -crf 17 -c:a copy output.ext