Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th March 2023, 00:29   #241  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
You can also remux it with clever FFmpeg-GUI.
I haven't gotten around to using that, yet.

I think you call it Multiplex ?

Anyway, I tried your suggestion, and after the remux, it retained it's HDR10 flag, and it's P-level of 5.1.

However, after a cut, the HDR10 flag was gone, and it was down to P-level 5. I think this happens due to the default setting being level 5.

Here's another suggestion, could you make the P-level adjustment available when doing ANY video editing/cutting, instead of having it as a separate option ?

Or, as I have suggested before, if there was a simple .ini type file that the user could edit, to suit their regular usage settings.

Baby steps..
__________________
Long term RipBot264 user.

RipBot264 modded builds..

Last edited by TDS; 29th March 2023 at 02:27.
TDS is offline   Reply With Quote
Old 29th March 2023, 10:28   #242  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Newest beta (v3.1.0.01), online now.
Added: Keep section open checkbox (for audio and video encoding section).
ProWo is offline   Reply With Quote
Old 30th March 2023, 06:39   #243  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
Newest beta (v3.1.0.01), online now.
Added: Keep section open checkbox (for audio and video encoding section).
OK, I've just had a play with this, and I'm a little disappointed

But like you said, that "Keep" option is only for main video & audio encoding but not for the "Cut" function.

And I have to say, I don't think the frame accurate option is that accurate, it seems to use the keyframe position's
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 30th March 2023, 10:37   #244  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Quote:
Originally Posted by TDS View Post
But like you said, that "Keep" option is only for main video & audio encoding but not for the "Cut" function.
In the next beta it's avaiable for the cut section too.

Quote:
Originally Posted by TDS View Post
And I have to say, I don't think the frame accurate option is that accurate, it seems to use the keyframe position's
This is not a contradiction.
It uses the keyframe AFTER the start cut point. Up to this point the video is re-encoded from the start point.
ProWo is offline   Reply With Quote
Old 30th March 2023, 11:38   #245  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
In the next beta it's available for the cut section too.
That will be nice

Quote:
This is not a contradiction.
It uses the keyframe AFTER the start cut point. Up to this point the video is re-encoded from the start point.
So, it's not truly "frame" accurate !!!

Correct me if I'm wrong, but were the earlier builds more "accurate." ?

Can this be changed to be cut on the frame you want ?, generally keyframes can be a long way apart, and not that suitable for certain cuts.
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 30th March 2023, 13:56   #246  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Quote:
Originally Posted by TDS View Post
That will be nice

So, it's not truly "frame" accurate !!!

Correct me if I'm wrong, but were the earlier builds more "accurate." ?

Can this be changed to be cut on the frame you want ?, generally keyframes can be a long way apart, and not that suitable for certain cuts.
It is frame accurate.
In order not to re-encode the complete video and thus enable smart rendering, several steps are performed here. First it is determined which part can be cut with keyframe cut, then the missing part (in the start area) is completely newly coded, (it is coded exactly from the start frame), then all audio tracks and subtitle tracks are cut frame accurate, then the two video parts are combined and finally everything is muxed together.
This is a really complicated process.
ProWo is offline   Reply With Quote
Old 30th March 2023, 13:58   #247  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Newest beta (v3.1.0.02), online now.
Added: Keep section open checkbox (for cut section), switch background color (with color button on start screen).
ProWo is offline   Reply With Quote
Old 30th March 2023, 14:22   #248  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
It is frame accurate.
In order not to re-encode the complete video and thus enable smart rendering, several steps are performed here. First it is determined which part can be cut with keyframe cut, then the missing part (in the start area) is completely newly coded, (it is coded exactly from the start frame), then all audio tracks and subtitle tracks are cut frame accurate, then the two video parts are combined and finally everything is muxed together.
This is a really complicated process.
Fair enough, but I can't get it to cut where I want it to, it just seems to choose the closest Keyframe, which is rarely at the correct time, it's either before or after the desired cut point , when using frame accurate.
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 1st April 2023, 01:10   #249  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
Newest beta (v3.1.0.02), online now.
Added: Keep section open checkbox (for cut section), switch background color (with color button on start screen).
Just tried the latest beta, and it's just not doing what I need it to, like I said above, even in Frame Accurate, it's using the Keyframes, and they are not in the right place for the cuts I want to do

If there was some way of removing, or moving the Keyframes, that would be nice...

Like the colour button
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 3rd April 2023, 19:08   #250  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Quote:
Originally Posted by TDS View Post
Just tried the latest beta, and it's just not doing what I need it to, like I said above, even in Frame Accurate, it's using the Keyframes, and they are not in the right place for the cuts I want to do

If there was some way of removing, or moving the Keyframes, that would be nice...
The keyframes cannot be moved, they are set by the encoder during encoding.

I just did a test with a h264 video.
I loaded the video in Virtualdub2 and chose a B-Frame as startpoint.
As endpoint I looked for an I-frame.
I noted start time and end time and entered them into clever FFmpeg GUI,
selected Frame accurate cut above, pressed check times and then pressed cut.
Then checked the cut video in Virtualdub2.
The start frame fits exactly, the last frame is as desired the last P-frame before the entered I-frame (this guarantees a closed GOP).
So everything as desired, frame accurate and smart rendered.
ProWo is offline   Reply With Quote
Old 4th April 2023, 01:16   #251  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
The keyframes cannot be moved, they are set by the encoder during encoding.

I just did a test with a h264 video.
I loaded the video in Virtualdub2 and chose a B-Frame as startpoint.
As endpoint I looked for an I-frame.
I noted start time and end time and entered them into clever FFmpeg GUI,
selected Frame accurate cut above, pressed check times and then pressed cut.
Then checked the cut video in Virtualdub2.
The start frame fits exactly, the last frame is as desired the last P-frame before the entered I-frame (this guarantees a closed GOP).
So everything as desired, frame accurate and smart rendered.
Well, it seems to be the "luck of the draw", EVERY video is different, the one you tested obviously had the keyframes in the correct position for the cut, I mean, some of the episodes I've done have been perfect, and others don't come close to the desired cut point.

It's not your fault, it's just the way it is, unfortunately, it just doesn't work for me, on the videos I want to cut

I was hoping that I might have been able to do it with an avisynth script in the encoding app I use, but I can't get it to cut the audio, so that's even worse.

I have tried a couple of other app's, one I'd never heard of, "Lossless Cut", but it's got it's own problems.

So it's unfortunate, for me, that I can't use "clever" for my project, as far as video cutting is concerned, but it's still very good for audio processing
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 9th April 2023, 14:33   #252  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Hi ProWo,

Just wondering if there is a possibility to add a frame rate converter to "clever" ?

I understand that it can be done with FFmpeg, so hopefully just type in the new fps you want, and let it do it's magic?

Regards
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 9th April 2023, 14:56   #253  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Quote:
Originally Posted by TDS View Post
Hi ProWo,

Just wondering if there is a possibility to add a frame rate converter to "clever" ?

I understand that it can be done with FFmpeg, so hopefully just type in the new fps you want, and let it do it's magic?

Regards
Do you mean change frame rate without reencode?
If so, this will not be added, because the result is a video poorly supported by many players.
ProWo is offline   Reply With Quote
Old 9th April 2023, 15:39   #254  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
Do you mean change frame rate without reencode?
If so, this will not be added, because the result is a video poorly supported by many players.
Not necessarily, if it has to be re-encoded, so be it.
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 9th April 2023, 15:56   #255  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Quote:
Originally Posted by TDS View Post
Not necessarily, if it has to be re-encoded, so be it.
.
With reencode the frame rate change is already implemented.
Set the fps value like you want (in the video encode section) and reencode.
ProWo is offline   Reply With Quote
Old 9th April 2023, 19:28   #256  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
.
With reencode the frame rate change is already implemented.
Set the fps value like you want (in the video encode section) and reencode.
Oh, OK....I did look thru before I asked...maybe I didn't look in the right place.

Sorry & thanks.

Update:- couldn't get it to change fps
__________________
Long term RipBot264 user.

RipBot264 modded builds..

Last edited by TDS; 10th April 2023 at 13:53.
TDS is offline   Reply With Quote
Old 10th April 2023, 08:24   #257  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
The fps of a video stream can be changed without recode with eac3to for .h264 streams, or can be changed at container level with mkvtoolnix for mkv files.

I can't help you how make that with ffmpeg.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 10th April 2023, 15:40   #258  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 309
Quote:
Originally Posted by TDS View Post
Update:- couldn't get it to change fps
Here in the example a 23.976 fps video is transcoded into a 25 fps video. The change length checkbox is used to adjust the duration of the video to the new frame rate, so all frames remains unchanged.
If it is not checked, the duration remains unchanged, but frames are dropped or added.

ProWo is offline   Reply With Quote
Old 10th April 2023, 19:04   #259  |  Link
locotus
Registered User
 
Join Date: Nov 2005
Posts: 112
Do that solution work for telecined content?
locotus is offline   Reply With Quote
Old 11th April 2023, 01:56   #260  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 993
Quote:
Originally Posted by ProWo View Post
Here in the example a 23.976 fps video is transcoded into a 25 fps video. The change length checkbox is used to adjust the duration of the video to the new frame rate, so all frames remains unchanged.
If it is not checked, the duration remains unchanged, but frames are dropped or added.
Well, it's nice to get the instructions from the creator, HOWEVER, this is NOT doing what I was expecting it to...

This actually increases the video playback speed, and reduces the length of the clip

I need it to increase the frame rate from 23.9xx to 60 fps without ANY increase in "speed".

This clip was about an hour long, but it's now less than half, and after doing all those settings & clicking "Encode", it was done in an instant, and produced a 0kb file
__________________
Long term RipBot264 user.

RipBot264 modded builds..

Last edited by TDS; 13th April 2023 at 06:40.
TDS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.