Save intermediate recoded streams on Error 15 = muxing fail
-
- Amateur
- Posts: 68
- Joined: Fri Dec 21, 2012 6:56 am
Save intermediate recoded streams on Error 15 = muxing fail
I'm getting an average of around 10% failed transcoding that fail with Error 15.
most of my recoding targets
from: avi/xvid/mp3 or avi/xvid/ac3 or mp4/x264/aac or mkv/x264/ac3
to: mp4/x264/aac (lower bitrates)
One example preset will be added below.
The request is that when Error 15 (or any other muxing error) occurs, the already transcoded streams (audio, video) are not deleted.
In my understanding, the basic sequence of a recode is
* demux
* recode individual streams & save to intermediate (temp) files
* mux the intermediate files to final output file
* delete intermediate files.
The request is to skip the last step (delete) if (and only if) the mux step has failed (e.g. with Error 15). At least, then the (advanced) user has a chance to manually mux the intermediate streams, as opposed to having to repeat the multi-hour recoding entirely.
To keep this no-delete-on-error behaviour on-demand only, it could be opt-in via a Setting.
I understand there already is a "do-not-delete-all-intermediate-files" Setting, but that can leave too much TEMP disk space growth.
most of my recoding targets
from: avi/xvid/mp3 or avi/xvid/ac3 or mp4/x264/aac or mkv/x264/ac3
to: mp4/x264/aac (lower bitrates)
One example preset will be added below.
The request is that when Error 15 (or any other muxing error) occurs, the already transcoded streams (audio, video) are not deleted.
In my understanding, the basic sequence of a recode is
* demux
* recode individual streams & save to intermediate (temp) files
* mux the intermediate files to final output file
* delete intermediate files.
The request is to skip the last step (delete) if (and only if) the mux step has failed (e.g. with Error 15). At least, then the (advanced) user has a chance to manually mux the intermediate streams, as opposed to having to repeat the multi-hour recoding entirely.
To keep this no-delete-on-error behaviour on-demand only, it could be opt-in via a Setting.
I understand there already is a "do-not-delete-all-intermediate-files" Setting, but that can leave too much TEMP disk space growth.
-
- Amateur
- Posts: 68
- Joined: Fri Dec 21, 2012 6:56 am
Re: Save intermediate recoded streams on Error 15 = muxing f
This is inspired by, or possibly the exact same idea as expressed by user zefiie in the Basics Discussion forum
viewtopic.php?f=17&t=12667
Below an example preset that I use for transcoding high bitrate x264/aac to lower bitrate.
It's using mostly the default encoders (x264, Nero AAC) and default muxer for mp4
I've seen this avg 10-20% Error 15 on many of the recent Mediacoder versions, over the last 12+ months. I use the 32-bit version.
viewtopic.php?f=17&t=12667
Below an example preset that I use for transcoding high bitrate x264/aac to lower bitrate.
It's using mostly the default encoders (x264, Nero AAC) and default muxer for mp4
I've seen this avg 10-20% Error 15 on many of the recent Mediacoder versions, over the last 12+ months. I use the 32-bit version.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs>
<node key="overall.generic.priority">Lowest</node>
<node key="overall.ui.noWelcome">5395</node>
<node key="overall.ui.console">false</node>
<node key="overall.task.destdir">C:\videos\recoded\new\</node>
<node key="overall.subtitle.mode">Disabled</node>
<node key="overall.audio.autoEncoder">false</node>
<node key="overall.audio.source">Default</node>
<node key="overall.audio.format">HE-AAC</node>
<node key="overall.video.mode">VBR</node>
<node key="overall.video.autoBitrate">By Ratio</node>
<node key="overall.video.quality">56</node>
<node key="overall.preview.mode">Off</node>
<node key="audioenc.aacplus.mode">Stereo</node>
<node key="audioenc.nero.mode">Target Bitrate</node>
<node key="audioenc.nero.bitrate">64</node>
<node key="videoenc.x264.preset">Slower</node>
<node key="videoenc.x264.frameref">5</node>
<node key="videoenc.x264.bframes">3</node>
</MediaCoderPrefs>
Re: Save intermediate recoded streams on Error 15 = muxing f
There is such an optin existing already, at settings->overall->task->keep intermediate files.
When things work together, things work.
-
- Amateur
- Posts: 68
- Joined: Fri Dec 21, 2012 6:56 am
Re: Save intermediate recoded streams on Error 15 = muxing f
Hello Stanley.
Indeed, that option exists, but to my understanding it will save ALL intermediate files, also for successful recodings.
If I do a batch recode of 50 files, and only 5 fail with Error 15, then this request is about only saving the intermediate files for those failed recodes.
The main reason being that I might run out of disk space otherwise - if the batch is big
kindly, F.
Indeed, that option exists, but to my understanding it will save ALL intermediate files, also for successful recodings.
If I do a batch recode of 50 files, and only 5 fail with Error 15, then this request is about only saving the intermediate files for those failed recodes.
The main reason being that I might run out of disk space otherwise - if the batch is big
kindly, F.
Re: Save intermediate recoded streams on Error 15 = muxing f
I see. Will add that feature.
When things work together, things work.
-
- Amateur
- Posts: 68
- Joined: Fri Dec 21, 2012 6:56 am
Re: Save intermediate recoded streams on Error 15 = muxing f
I noticed the feature on changelog for build 5510 released few days ago. I'll be giving it a try asap
Thanks for the responsiveness
Thanks for the responsiveness
-
- Amateur
- Posts: 68
- Joined: Fri Dec 21, 2012 6:56 am
Re: Save intermediate recoded streams on Error 15 = muxing f
I'm trying to use this feature "keep intermediate/temp files on Error".
I'm under the impression that it doesn't work as intended. It seems to keep intermediate files always.
Note: I'm on 32-bit build 5566 (current/latest), and I see that activating this setting has produced the following in my presets:
I'm under the impression that it doesn't work as intended. It seems to keep intermediate files always.
Note: I'm on 32-bit build 5566 (current/latest), and I see that activating this setting has produced the following in my presets:
Code: Select all
<node key="overall.task.keepTemp">On Error</node>
-
- Amateur
- Posts: 30
- Joined: Sun Aug 03, 2008 7:39 am
Re: Save intermediate recoded streams on Error 15 = muxing f
I'm very glad that this feature was added, its saved my bacon a number of times!