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. |
3rd June 2020, 02:02 | #1941 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
Well, it is an old convention used in many video tools, that the video range is [start;end[
meaning that last frame is not included. It is not a bug, it is intentional. The reason it was made was the keyframes: when you cut between keyframes (which is the case in programs like Virtualdub), you select a range that starts at a keyframe Kb, and ends at Keyframe Ke. Then the resulting range is [ Kb ; Ke [ Ke is EXCLUDED. You can cut video and save it without re-encoding. I don't know if that still has a meaning. Last edited by 44vince44; 3rd June 2020 at 02:14. |
6th June 2020, 13:37 | #1942 | Link |
Registered User
Join Date: Nov 2019
Posts: 25
|
I was hoping to use staxrip to encode a bunch of frames I have stored as images in a folder. So I made a simple avisynth input script [ ImageSource("Frames%04d.png", 0001, 1199, 24, pixel_type="RGB24") ] to generate a 24fps clip from the desired range of frames and saved it as input.avs in the folder. When opening this in Staxrip it appears to open correctly and I can preview the video, but if I try an x265 encode it errors out complaining of a missing y4m header.
I can open the same script in virtualdub and export an uncompressed AVI which staxrip can encode without any problems. I could also just encode the frames with ffmpeg. But it would be nice if I could open them directly as a clip in staxrip as I was initially attempting, so if anyone has any ideas on how I could best import this frame range into staxrip without running into the y4m header error later I'd appreciate any suggestions. |
6th June 2020, 18:13 | #1943 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Maybe it has something to do with the color format, if you right-click Filters and choose Info, which color format does it show? Maybe try another piping tool, in the x265 dialog search field at the left bottom enter pipe. Or maybe try VapourSynth (Filters > Filter Setup > VapourSynth), the image source filter of VapourSynth is more convenient.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 6th June 2020 at 18:16. |
7th June 2020, 09:44 | #1944 | Link | |
Registered User
Join Date: Nov 2019
Posts: 25
|
Quote:
Thanks for the continued development of staxrip which I use all the time. |
|
7th June 2020, 10:07 | #1945 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
Filters > Edit Code > Right-Click > Advanced Info > Info() Filters > Edit Code > Right-Click > Advanced Info > avsmeter info Filters > Edit Code > Right-Click > Advanced Info > avs2pipemod info
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 7th June 2020 at 10:16. |
|
7th June 2020, 14:08 | #1946 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
ImageSource("Frames%04d.png", 0001, 1199, 24, pixel_type="RGB24",
So you have a RGB24 format. You need to convert it YUV I would try in staxrip to insert the filter ConvertToYUV420(matrix="Rec709") or if your video is strictly less than 720 lines resolution: ConvertToYUV420(matrix="Rec601") Last edited by 44vince44; 7th June 2020 at 14:14. |
8th June 2020, 10:52 | #1947 | Link | ||
Registered User
Join Date: Nov 2019
Posts: 25
|
Quote:
Quote:
Thanks to you both for your time, this is very convenient now. |
||
9th June 2020, 12:26 | #1948 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
Question, is the x265 in staxrip a compile of this?
https://bitbucket.org/multicoreware/x265/wiki/Home |
9th June 2020, 12:48 | #1949 | Link | |
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
Last edited by Patman; 9th June 2020 at 12:50. |
|
10th June 2020, 13:19 | #1951 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
You can try:
Options > Paths > Default Target Name Requires using macros. And also: Tools > Advanced > Event Command
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
11th June 2020, 21:40 | #1954 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
I'm thinking having the average bitrate is more useful. Do any of your other versions show average bitrate? For example when you have a slow encode that is taking 2-3 days, it's good to know the average final bitrate at the moment. Having the current bitrate is not more useful than average.
|
12th June 2020, 11:36 | #1958 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
Question. Why the current bitrate is important? It means nothing. Actually it is not very useful. Here is an example. You are doing a slow encode. It is saying it is at 11236.99 kb/s. This doesn't help anything at all. You don't know if it is going up much later or if it was much lower. At any point of the encoding, even the last minute, you don't have a useful information.
On the other hand if it was the average bitrate, it is very useful. At any moment you know how the end result will be. The more you get to the end of the encoding, the more the bitrate information is accurate. So please explain why the current bitrate is important? |
12th June 2020, 12:01 | #1959 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
I understand your concern, but in that case why ALL encoders show current bitrate if it has no meaning.
If Patman removes the current bitrate and replaces it with average bitrate, there will be many people complaining because the current bitrate is expected. But I am not saying that the average bitrate is useless, this is why I put the formula to show it is easy to calculate. It's up to Patman to decide. Now, on the other hand, in Patman's builds: there is a very useful information: the estimated file size. |
12th June 2020, 12:17 | #1960 | Link |
Registered User
Join Date: Aug 2016
Posts: 1
|
Hey, anyone here were using batch in staxrip? Let's say I have like 26 anime episodes in .mkv with .ass subtitles muxed in it. I want to encode it from .mkv to .mp4 with hardcoded subtitle. Were trying options > subtitles > every option and it just don't hardcode subtitles into .mp4 file. At the moment I have to open 26 stances of staxrip and in everyone manually open episode and then via ctrl + h add subtitle. Please help
|
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
|
|