This code generates an H.264 file (-c libx264 switch).
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 31 to 57 of 57
Thread
-
It doesn't work. I've tried -i A Christmas Carol (1999) 4K Upscale AI.mkv -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k A Christmas Carol (1999) 4K Upscale AI.mp4
AND
ffmpeg -i A Christmas Carol (1999) 4K Upscale AI.mkv -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k A Christmas Carol (1999) 4K Upscale AI.mp4
neither works. They say no such file or directory. Am I putting the command in wrong ?Think about this. Once bread becomes toast, you can't make it back into bread. -
Think about this. Once bread becomes toast, you can't make it back into bread.
-
How long does this take ? It looks like the speed is .05x. If the file is 3.97gb, won't it take forever ? It's been a couple hours so far. I can't check the progress as the cmd doesn't say anything about the time it'll take and the resulting file doesn't have a size to it yet.
Think about this. Once bread becomes toast, you can't make it back into bread. -
It depends on the speed of your computer. The size of the resulting file can be estimated based on the bitrate, but why?
-
It uses -preset slower, depending on your cpu it may take a while.
4k video, even slower.
You could change it to -preset medium, should be much faster
with the trade-off of a bit larger final file (medium preset is the default if it's not specified
at all)
Could have set this up in HB or Vidcoder in about 5 minutes
Some people like to learn the command line but not everyoneLast edited by davexnet; 23rd Oct 2024 at 12:50.
-
Yes, because he placed emphasis on quality, and slower offers higher quality.
with the trade-off of a bit larger final file (medium preset is the default if it's not specified
at all) -
Interesting, I see in H.264 the slow preset often produces a smaller file than medium - slower behaves differently?
In HEVC, I've noticed they get bigger as they get slower
Here's a short test I did this morning with a 720p, 20 minutes short clip encoded to H.264
The only thing changed in the encode was the choice of presetLast edited by davexnet; 23rd Oct 2024 at 16:29.
-
Think about this. Once bread becomes toast, you can't make it back into bread.
-
time is estimated time, bitrate-kbits is the average bitrate.
You can also look at speed and fps to infer the amount time it will take -
I understood the kbits part. I was wondering about the Kib part. From what I could find, it's some weird way of measuring the size of the file.
About the estimated time thing....is that estimated until the file is finished encoding ? Because the number keeps going up.
bitrate is about 11000 and the fps is 1.6.....not sure what that means.Think about this. Once bread becomes toast, you can't make it back into bread. -
speed= and fps= are directly related. (It's just math)
if the original play back rate of your file is 24 fps (typical movie)
and speed =2x, fps should be 48 fps.
It means the encode time will be half that of the original movie playback time
time= is not accurate, ignore it.
any other questions put up a screenshot of this window see we can see what you're referring toLast edited by davexnet; 23rd Oct 2024 at 17:54.
-
Think about this. Once bread becomes toast, you can't make it back into bread.
-
Last edited by davexnet; 23rd Oct 2024 at 18:24.
-
Think about this. Once bread becomes toast, you can't make it back into bread.
-
The size of the source is irrelevant. In any operation like this, the file is internally uncompressed before being encoded and recompressed.
You can infer the final size and get a ball park figure.
Using the frame= in the display, the actual frame count of the source and the current size you can
do a rough calculation for final size. (I'lll leave the math to you) -
Last edited by Spottedfeather; 23rd Oct 2024 at 20:03.
Think about this. Once bread becomes toast, you can't make it back into bread. -
To get the frame count from the source open it in vdub2 and you'll see it at the bottom right on the timeline
For an approximation:
a - total frame count from the source
b - frame= from the ffmpeg window
c - size= from the window
d - final size
d=(a/b) * c (divide this result by 1024 to get the size in MB's) -
I just checked and it was at 61000 frames or so. I did what you suggested and checked the frame number of the original file...which was something like 168000.
I'm sorry, but the file was encoding for at least 9 hours and it only got to 61000 frames. That is NOT happening. There is no way that I'm going to be doing this for 3 days.
Guess I'm just out of luck in getting an mp4 that will play on my PS4.
I don't know why people use mkv. My computer can't play them and my playstation can't play them, either.Think about this. Once bread becomes toast, you can't make it back into bread. -
Think about this. Once bread becomes toast, you can't make it back into bread.
-
Why don't you scale it to 1080p and use a faster preset?
Try Handbrake. If you need some help setting it up, provide a short clip from your source file.
On my PC, with its old AMD FX CPU and 8GB of DDR3, I get about 15 fps encoding 4k scaled down to 1080p using the "faster" preset
See if this file plays OK on your deviceLast edited by davexnet; 23rd Oct 2024 at 22:14.
-
Use clever FFmpeg-GUI.
Start it an follow the instructions.
Then load your carol.mkv and follow the steps shown below.
[Attachment 83067 - Click to enlarge] -
Think about this. Once bread becomes toast, you can't make it back into bread.
-
Look in the command line rgr gave you
Change -preset slower to -preset medium -
-
I actually tried fast and it got about 5 times faster than slow. So only about 8 or 9 hours to encode...which failed badly. I can watch the mp4 on my computer, which is good since my computer doesn't play mkv....but it doesn't work on my PS4. The file will show up on the PS4. I can click it, and get the standard Playstation symbols spinning around as it loads. After a few seconds, I can hear the intro music start....then it says it can't play the file.
Honestly, I have no idea what to do at this point. I first converted the mkv to an mp4 because that's what playstation can use. It wouldn't play because it was H.265, which playstation DOESN'T play. I then converted it to mp4 but one that was H.264, which playstation DOES play....and it still doesn't work.Think about this. Once bread becomes toast, you can't make it back into bread.
Similar Threads
-
Formatting SSDs in PC as Mac
By dellsam34 in forum ComputerReplies: 18Last Post: 13th Oct 2024, 18:38 -
Can’t play discs with BD Rebuilder’s quickplay menu on PS4
By TenPen in forum Authoring (Blu-ray)Replies: 0Last Post: 26th Sep 2024, 13:39 -
Txt2sup ignores italics formatting
By spiritgumm in forum SubtitleReplies: 16Last Post: 30th Jul 2024, 03:36 -
yt-dlp file formatting
By Jay123210599 in forum Video Streaming DownloadingReplies: 6Last Post: 22nd Nov 2023, 07:02 -
BD-RE discs on PS4
By younso in forum DVD & Blu-ray PlayersReplies: 3Last Post: 12th Jul 2020, 03:43