INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Provide more info about why "Convert Format" failed  (Read 886 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226
Provide more info about why "Convert Format" failed
« on: August 02, 2022, 01:55:12 am »

currently, it just seems to say "failed" and gives no clue as to why it failed

In my particular case, I eventually found the following in the log

Code: [Select]
0015537: 9160: Encoders: CEncoderFilter::Open: Start
0015537: 9160: Encoders: CFFmpegTranscoder::Open: Start
0015537: 9160: Encoders: CFFmpegTranscoder::CreateOutputFormat: Start
0015537: 9160: Encoders: CFFmpegTranscoder::CreateOutputFormat: Finish (0 ms)
0015537: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Start
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Input video is 90090.09 FPS, AutoFPS 1, target FPS 90090.09
0015538: 9160: Encoders: CFFmpegTranscoder::AVLog: [h264_nvenc @ 000001E4FCCB9140] The encoder timebase is not set.
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Opening codec 'h264_nvenc' failed
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Input video is 90090.09 FPS, AutoFPS 1, target FPS 90090.09
0015538: 9160: Encoders: CFFmpegTranscoder::AVLog: [h264_qsv @ 000001E4FCCB8180] The encoder timebase is not set.
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Opening codec 'h264_qsv' failed
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Input video is 90090.09 FPS, AutoFPS 1, target FPS 90090.09
0015538: 9160: Encoders: CFFmpegTranscoder::AVLog: [libx264 @ 000001E4FCCB71C0] The encoder timebase is not set.
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Opening codec 'libx264' failed
0015538: 9160: Encoders: CFFmpegTranscoder::CreateVideoStream: Finish (0 ms)
0015538: 9160: Encoders: CFFmpegTranscoder::Open: Creating video stream failed
0015538: 9160: Encoders: CFFmpegTranscoder::Open: Finish (0 ms)
0015538: 9160: Encoders: CEncoderFilter::Open: Result:
0015538: 9160: Encoders: CEncoderFilter::Open: Finish (0 ms)
0015538: 9160: Playback: DShowVideoGraph::RenderForTranscoding: Finish (3 ms)
0015538: 9160: Playback: DShowVideoGraph::Render: Rendering success: 0
0015538: 9160: Playback: DShowVideoGraph::Render: Finish (1254 ms)
0015538: 9160: Encoders: CVideoConverterDX::BuildGraph: Rendering transcoding graph failed.
0015538: 9160: Encoders: CVideoConverterDX::BuildGraph: Finish (1432 ms)

exposing at least one of those error codes/messages to the end user would be better than nothing
Logged

aviateur

  • World Citizen
  • ***
  • Posts: 159
Re: Provide more info about why "Convert Format" failed
« Reply #1 on: August 03, 2022, 11:29:55 am »

I experienced a similar problem. I attempted to convert 10 'dsf' file types to 'flac'. Image and log file attached. Any insight into why this error is occurring and how to fix it would be appreciated.
Logged
Two Cows Walk Into a Bar ...

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Provide more info about why "Convert Format" failed
« Reply #2 on: August 03, 2022, 12:39:34 pm »

I experienced a similar problem. I attempted to convert 10 'dsf' file types to 'flac'. Image and log file attached. Any insight into why this error is occurring and how to fix it would be appreciated.

FLAC seems to have a limit to the sample rate with our encoder.

You could use Monkey's Audio.

I converted an 8x DSD to APE and it worked.  I tried FLAC and it failed.
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10932
Re: Provide more info about why "Convert Format" failed
« Reply #3 on: August 03, 2022, 01:57:50 pm »

You really don't want to encode any PCM file at the high DSD sample rate, it just wastes space, and instead should setup DSP to downsample to something reaonable, maybe 176.4kHz.
Logged
~ nevcairiel
~ Author of LAV Filters

aviateur

  • World Citizen
  • ***
  • Posts: 159
Re: Provide more info about why "Convert Format" failed
« Reply #4 on: August 03, 2022, 10:48:45 pm »

Matt & Hendrik,

Thanks for the info and DSP sampling reduction suggestion.

Cheers,
Lawrence
Logged
Two Cows Walk Into a Bar ...

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226
Re: Provide more info about why "Convert Format" failed
« Reply #5 on: August 04, 2022, 03:53:40 am »

Any clues as to why the original post fails? It plays back as is fine in MC
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10932
Re: Provide more info about why "Convert Format" failed
« Reply #6 on: August 04, 2022, 03:59:38 am »

The original file seems to have bad FPS data. You can probably use a mode without AutoFPS for it to work.
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up