title
Products            Buy            Support Forum            Professional            About            Codec Central
 

TuneFUSION writing files with size 0 KB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PeterP
    Super Moderator
    • Jul 2011
    • 1463

    #16
    Re: TuneFUSION writing files with size 0 KB

    Please try with:
    https://www.dbpoweramp.com/beta/TF-d...TuneFUSION.exe ( replace your TuneFUSION.exe in program files and run )
    It will write more detailed logs about apparent blank files appearing in the process; please post interesting lines from detailed logs that it writes.
    Thanks.

    Comment

    • Cooksons

      • Mar 2017
      • 26

      #17
      Re: TuneFUSION writing files with size 0 KB

      Many thanks for your help, PeterP. I ran your beta .exe file. The resulting log entry was generated:

      Sync started on Tuesday, March 7, 2023, 8:28:16 AM to Sync Music_Stereo to Music_Stereo_Lossy
      Library contains 54521 tracks, 8 tracks requiring syncing
      Error: Encoder created a blank file for source file: O:\Davis, Miles\Miles in the Sky [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Stuff.dsf
      Error: Encoder created a blank file for source file: O:\Father John Misty\Bootleg Tapes_ Live at Cine Joia, São Paulo, Brazil 11_08_2022, The [24-Bit_48 kHz PCM]\1-5-Nancy from Now On [Live].flac
      Error: Encoder created a blank file for source file: O:\Father John Misty\Bootleg Tapes_ Live at Cine Joia, São Paulo, Brazil 11_08_2022, The [24-Bit_48 kHz PCM]\1-8-Funny Girl [Live].flac
      Error: Encoder created a blank file for source file: O:\Davis, Miles\Jack Johnson [A Tribute to Jack Johnson] [Soundtrack] [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Yesternow.dsf
      Error: Encoder created a blank file for source file: O:\Davis, Miles\Sketches of Spain [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Concierto de Aranjuez (Adagio).dsf
      Error: Encoder created a blank file for source file: O:\Davis, Miles\On the Corner [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-On the Corner_New York Girl_Thinkin' One Thing and Doin' Another_Vote for Miles.dsf
      Error: Encoder created a blank file for source file: O:\Pink Floyd\Animals [2018 Remix] [Analogue Productions Reissue] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Dogs.dsf
      Error: Encoder created a blank file for source file: O:\Davis, Miles\In a Silent Way [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Shhh_Peaceful.dsf
      Sync incomplete (see detailed log).

      Is there anything else I can provide? Thank you.

      Comment

      • PeterP
        Super Moderator
        • Jul 2011
        • 1463

        #18
        Re: TuneFUSION writing files with size 0 KB

        Thanks for the details.

        New build with more extensive logging:



        Please place these both in TuneFUSION folder, run problematic scenario again.
        This will create files named DBDebug-***.txt in your Document folder, where *** is a number; one file per each conversion task.
        Please post contents of these files (if they're long, one or two should be enough).

        Comment

        • Cooksons

          • Mar 2017
          • 26

          #19
          Re: TuneFUSION writing files with size 0 KB

          Thanks for the new debug build. I followed your instructions. The new log shows:

          Sync started on Wednesday, March 8, 2023, 13:01:05 PM to Sync Music_Stereo to Music_Stereo_Lossy
          Library contains 54521 tracks, 7 tracks requiring syncing
          Error: Encoder created a blank file for source file: O:\Davis, Miles\Miles in the Sky [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Stuff.dsf
          Error: Encoder created a blank file for source file: O:\Davis, Miles\Jack Johnson [A Tribute to Jack Johnson] [Soundtrack] [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Yesternow.dsf
          Error: Encoder created a blank file for source file: O:\Davis, Miles\Sketches of Spain [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Concierto de Aranjuez (Adagio).dsf
          Error: Encoder created a blank file for source file: O:\Davis, Miles\On the Corner [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-On the Corner_New York Girl_Thinkin' One Thing and Doin' Another_Vote for Miles.dsf
          Error: Encoder created a blank file for source file: O:\Pink Floyd\Animals [2018 Remix] [Analogue Productions Reissue] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Dogs.dsf
          Error: Encoder created a blank file for source file: O:\Davis, Miles\In a Silent Way [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Shhh_Peaceful.dsf
          Sync incomplete (see detailed log).

          7 debug files were written, corresponding to these 7 files. Here are the contents of one debug file:

          ------------------------------------
          Splitting Command Line:"C:\Program Files\TuneFUSION\CoreConverter.exe" -dbcmd="C:\Users\scott\AppData\Local\Temp\dBT97D.tm p"
          ->-> [dBCoreConverter::ReaddBCommandFile]
          <-<- [dBCoreConverter::ReaddBCommandFile]
          Decodes [clDecoder::Get]
          Decodes [clDecoder::Get]
          BatchID [clDecoder::Set]
          ->-> [cldBCodecHandler::LoadEncoder]
          Loading Encoder 'C:\Program Files\TuneFUSION\encoder\mp3 (Lame).DLL'
          <-<- [cldBCodecHandler::LoadEncoder]
          BatchID [clEncoder::Set]
          ->-> [dBCoreConverter::StripCoreConverterCmds]
          <-<- [dBCoreConverter::StripCoreConverterCmds]
          SendRawUnCompressed [clEncoder::Get]
          IsLive [clDSP::Get]
          SendOverReplayGainTags [clDSP::Get]
          BatchID [clDSP::Set]
          IsLive [clDSP::Get]
          SendOverReplayGainTags [clDSP::Get]
          BatchID [clDSP::Set]
          IsLive [clDSP_BitDepth::Get]
          SendOverReplayGainTags [clDSP_BitDepth::Get]
          BatchID [clDSP_BitDepth::Set]
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          NeedHQAudio [clEncoder::Get]
          Decode As [clDecoder::Set]
          ->-> [clDecoder::Open]
          Opening file 'O:\Pink Floyd\Animals [2018 Remix] [Analogue Productions Reissue] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Dogs.dsf' for read access: Opened
          ->-> [clDecoder::FillAudioProps]
          Sample Count: 49,286,832
          <-<- [clDecoder::FillAudioProps]
          ->-> [clDecoder::FillAudioInfo]
          Uncompressed WFX (sent to db): Format Tag: 1 Channels: 2 Bits per Sample: 24 Samples Per Second: 48000 Bytes Per Second: 288000 Block Align: 6 CB Size: 0
          Audio Length: 1026809 mili-seconds 295720992 bytes 2304 kbps
          <-<- [clDecoder::FillAudioInfo]
          Creating Decode Buffer: Created
          <-<- [clDecoder::Open]
          Setting Priority: low [dBCoreConverter::SetConversionPriority]
          Priority [clEncoder::Set]
          SendOverReplayGainTags [clEncoder::Get]
          ->-> [clDSP_BitDepth::BeginConversion]
          DSP Set Bits is Active:
          Source Audio Format Tag: 1 Channels: 2 Bits per Sample: 24 Samples Per Second: 48000 Bytes Per Second: 288000 Block Align: 6 CB Size: 0
          Destination Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 48000 Bytes Per Second: 192000 Block Align: 4 CB Size: 0
          Dithering using: Triangular (TPDF)
          <-<- [clDSP_BitDepth::BeginConversion]
          ->-> [clDSP::BeginConversion]
          DSP Resample is Active:
          Source Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 48000 Bytes Per Second: 192000 Block Align: 4 CB Size: 0
          Destination Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 176400 Block Align: 4 CB Size: 0
          <-<- [clDSP::BeginConversion]
          ->-> [clDSP::BeginConversion]

          Calculate Trackgain: Yes
          Calculate Albumgain: Yes
          R128 Calculation: Yes [-18 LUFS] [clDSP::BeginConversion]
          <-<- [clDSP::BeginConversion]
          ->-> [clEncoder::BeginConversion]
          Converting to 'C:\Users\scott\AppData\Local\Temp\_tf97A.tmp.mp3. tmp.mp3' encoder settings ' -b="320"'
          Lame encoder settings: -b 320 --noreplaygain -r --little-endian --bitwidth 16 - "C:\Users\scott\AppData\Local\Temp\_TF97A~2.MP 3"
          <-<- [clEncoder::BeginConversion]
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          Encoding To: mp3 (Lame)
          Encoder Cmd Line: -b="320"
          DSP Effects:
          Bit Depth: -depth="16" -dither="tpdf"
          Resample: -frequency="44100"
          ReplayGain: -albummode="0" -r128lufs="-18" -maxtgain="25 dB"

          ============= CONVERSION BEGIN =============
          ============= CONVERSION END =============
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          ->-> [dBCoreConverter::CloseDecoder]
          ->-> [clDecoder::Close]
          <-<- [clDecoder::Close]
          ->-> [clDSP_BitDepth::EndConversion]
          <-<- [clDSP_BitDepth::EndConversion]
          ->-> [clDSP::EndConversion]
          <-<- [clDSP::EndConversion]
          ->-> [clDSP::EndConversion]
          Loudness=-23.23LUFS, TruePeak=-6.91LUFS [clDSP::EndConversion]
          Track ReplayGain: +5.23 dB Peak: 0.451477
          <-<- [clDSP::EndConversion]
          ->-> [clEncoder::EndConversion]
          <-<- [clEncoder::EndConversion]
          File Size Check (before overwrite final): 41073893 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tf97A.tmp.mp3.t mp.mp3
          File Size Check (before ID Tags Written): 41073893 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tf97A.tmp.mp3
          ->-> [dBCoreConverter::IDTagWriter]
          Decodes [clDecoder_MP3_MPG123::Get]
          IDTags [clDecoder_MP3_MPG123::Set]
          ->-> [clDecoder_MP3_MPG123::WriteIDTags]
          Opening file 'C:\Users\scott\AppData\Local\Temp\_tf97A.tmp.mp3' for write access: Opened
          <-<- [clDecoder_MP3_MPG123::WriteIDTags]
          <-<- [dBCoreConverter::IDTagWriter]
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          ->-> [clDSP_BitDepth::AfterConversion]
          <-<- [clDSP_BitDepth::AfterConversion]
          ->-> [clDSP::AfterConversion]
          <-<- [clDSP::AfterConversion]
          ->-> [clDSP::AfterConversion]
          <-<- [clDSP::AfterConversion]
          Conversion completed in 1 minute 44 seconds x9.8 realtime encoding
          File Size Check (core converter exit): 41388188 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tf97A.tmp.mp3
          ->-> [clDecoder::Close]
          <-<- [clDecoder::Close]
          ------------------------------------


          Here are the contents of a second debug file:
          ------------------------------------
          Splitting Command Line:"C:\Program Files\TuneFUSION\CoreConverter.exe" -dbcmd="C:\Users\scott\AppData\Local\Temp\dBTC8AA.t mp"
          ->-> [dBCoreConverter::ReaddBCommandFile]
          <-<- [dBCoreConverter::ReaddBCommandFile]
          Decodes [clDecoder::Get]
          BatchID [clDecoder::Set]
          ->-> [cldBCodecHandler::LoadEncoder]
          Loading Encoder 'C:\Program Files\TuneFUSION\encoder\mp3 (Lame).DLL'
          <-<- [cldBCodecHandler::LoadEncoder]
          BatchID [clEncoder::Set]
          ->-> [dBCoreConverter::StripCoreConverterCmds]
          <-<- [dBCoreConverter::StripCoreConverterCmds]
          SendRawUnCompressed [clEncoder::Get]
          IsLive [clDSP::Get]
          SendOverReplayGainTags [clDSP::Get]
          BatchID [clDSP::Set]
          IsLive [clDSP::Get]
          SendOverReplayGainTags [clDSP::Get]
          BatchID [clDSP::Set]
          IsLive [clDSP_BitDepth::Get]
          SendOverReplayGainTags [clDSP_BitDepth::Get]
          BatchID [clDSP_BitDepth::Set]
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          NeedHQAudio [clEncoder::Get]
          Decode As [clDecoder::Set]
          ->-> [clDecoder::Open]
          Opening file 'O:\Father John Misty\Bootleg Tapes_ Live at Cine Joia, São Paulo, Brazil 11_08_2022, The [24-Bit_48 kHz PCM]\1-5-Nancy from Now On [Live].flac' for read access: Opened
          Init FLAC:
          Reading Meta Data:
          contained 23 tags:
          TOOL NAME: Media Center
          HDCD: 0
          TRACK TRANSITION DURATION: -1
          REPLAYGAIN_TRACK_GAIN: -8.18 dB
          PEAK LEVEL (SAMPLE): -0.1 dB;-0.1 Left;-0.1 Right
          VOLUME LEVEL (R128): -13.1765499114990234
          REPLAYGAIN_TRACK_PEAK: 0.989000
          WAVEFORM: .0161;.0099;.0241;.0374;.037;.0316;.0316;.0165;.01 3;.0104;.0093;.0098;.0465;.0318;.0318;.0427;.0935; .1037;.0838;.0704;.0597;.0448;.0452;.0441;.0315;.0 489;.0399;.0432;.0412;.051;.1253;.0964;.0973;.0903 ;.1437;.1675;.2752;.2725;.1935;.1935;.1523;.137;.0 817;.0744;.0821;.1054;.106;.1229;.0949;.0972;.0966 ;.0773;.0729;.0706;.097;.1271;.1504;.1351;.1106;.0 776;.081;.0894;.0938;.1073;.1351;.1803;.1574;.1245 ;.1114;.087;.0816;.0831;.0836;.1094;.1291;.161;.15 66;.1395;.0991;.0823;.0872;.0919;.1524;.1807;.1544 ;.1466;.1446;.1028;.0909;.0885;.13;.1503;.1264;.15 42;.1546;.164;.2105;.2036;.1539;.1601;.182;.1289;. 0914;.115;.1208;.1668;.2267;.2837;.2471;.1877;.164 6;.1888;.211;.2106;.2021;.2111;.2503;.2084;.2196;. 2295;.2109;.2168;.2215;.1418;.1767;.1509;.152;.121 4;.2173;.1674;.1834;.1926;.1198;.1446;.1533;.1444; .1584;.1895;.1613;.1788;.1612;.1454;.1586;.1427;.1 44;.1415;.1575;.1663;.1791;.1774;.1702;.1823;.2081 ;.295;.1683;.2012;.1948;.2447;.2418;.2299;.2195;.2 42;.2446;.2474;.2357;.1822;.1909;.1536;.1371;.223; .2242;.2538;.2504;.2297;.1697;.167;.1279;.1199;.18 99;.2306;.2171;.2205;.225;.237;.2507;.1665;.1335;. 2153;.2277;.2526;.2405;.2447;.1645;.1614;.1262;.12 48;.1263;.1922;.2572;.2575;.2319;.1499;.1482;.1401 ;.1335;.146;.1903;.1898;.1654;.2421;.2037;.1814;.1 884;.1594;.2914;.258;.1812;.2027;.249;.2479;.2266; .2049;.1709;.1653;.2165;.3156;.2913;.2639;.2372;.2 466;.2604;.1888;.2083;.2281;.2504;.2556;.2564;.226 6;.1878;.1766;.1635;.158;.1677;.2244;.2431;.2273;. 2114;.2119;.1813;.1678;.1681;.1776;.1918;.2311;.22 45;.2289;.2618;.1811;.1672;.2586;.2153;.2485;.2693 ;.2545;.2311;.1754;.1604;.1364;.2506;.2411;.2653;. 2275;.2058;.2489;.2505;.1988;.2726;.2179;.2142;.26 08;.1998;.2005;.2038;.1829;.1857;.1965;.1973;.2271 ;.1943;.1398;.2197;.2257;.219;.2075;.2135;.2262;.2 435;.2105;.201;.2193;.2071;.2285;.1744;.1692;.1408 ;.1848;.1591;.2512;.1884;.1995;.2175;.2168;.1404;. 1321;.1529;.1242;.155;.1658;.1634;.1751;.1673;.169 6;.1547;.1716;.1436;.1185;.1472;.1831;.1725;.161;. 1667;.1845;.2932;.2455;.1867;.2042;.2319;.2383;.23 93;.2539;.2264;.259;.2199;.209;.165;.215;.2235;.15 47;.1427;.1581;.1555;.155;.2003;.1938;.2008;.2059; .1531;.1362;.1296;.1599;.1721;.164;.2198;.2041;.19 94;.1859;.1718;.169;.2835;.2617;.2059;.278;.2687;. 315;.2747;.2957;.2659;.2472;.2492;.2303;.3006;.279 2;.2974;.2893;.2346;.2978;.2914;.3053;.293;.3089;. 2891;.2862;.2489;.2433;.2374;.3197;.2531;.215;.196 1;.2168;.2069;.1862;.1879;.2082;.2126;.2396;.2084; .1884;.174;.1586;.1509;.2331;.2472;.2566;.2723;.25 22;.1934;.1505;.1369;.1424;.2163;.1877;.2144;.2332 ;.2337;.2358;.2823;.1619;.1483;.2359;.2381;.2836;. 2524;.2633;.1821;.1682;.1382;.1437;.1489;.1726;.24 02;.2821;.2697;.1946;.2078;.1872;.2009;.237;.2347; .2268;.1896;.2114;.155;.1186;.1369;.156;.1508;.132 ;.1066;.0912;.0825;.0686;.0816;.071;.0602;.0443;.0 274;.0212;.0275;.0242;.028;.0336;.0202;.0216;.024; .0274;.0298;.0384;.0427;.0459;.0652;.0752;.0723;.0 759;.0895;.1007;.1073;.1028;.0807;.0716;.0587;.065 3;.0641;.0691;.0725;.057;.0349;.0182;.0169;.0186;. 0141;.0135;.0093;.0079;.0063;.006;.009;.0086;.0066 ;.0064;.0067;.006;.0068;.0049;.0047;.0045;.0051;.0 031;.0047;.0058;.0052;.0053;.0069;.002;.0022
          AUDIO CRC: 0xB27A8B4E
          DYNAMIC RANGE (DR): 7
          PEAK LEVEL (R128): +0.2 dBTP;+0.2 Left;+0.2 Right
          BPM: 106
          DYNAMIC RANGE (R128): 10.2233104705810547
          VOLUME LEVEL (REPLAYGAIN): -8.1765499114990234
          TITLE: Nancy from Now On [Live]
          ALBUM: Bootleg Tapes: Live at Cine Joia, São Paulo, Brazil 11/08/2022, The [24-Bit/48 kHz PCM]
          GENRE: Rock: Alternative Rock
          ARTIST: Father John Misty
          Disc: 1
          COMMENT: Visit https://fatherjohnmisty.bandcamp.com
          Year: 2022
          Track: 5
          Album Artist: Father John Misty
          Contains picture block, size (bytes): 217986 type: 3
          ->-> [clDecoder::ReadIDTags]
          <-<- [clDecoder::ReadIDTags]
          ->-> [clDecoder::FillAudioProps]
          Encoder: FLAC reference libFLAC 1.3.3 20190804
          Sample Count: 12,621,116
          ID Tag: Vorbis Comments
          Contains: Album Art, CRC, ReplayGain, ID Tag [Vorbis Comments]
          <-<- [clDecoder::FillAudioProps]
          ->-> [clDecoder::FillAudioInfo]
          Uncompressed WFX (sent to db): Format Tag: 1 Channels: 2 Bits per Sample: 24 Samples Per Second: 48000 Bytes Per Second: 288000 Block Align: 6 CB Size: 0
          Audio Length: 262939 mili-seconds 57168372 bytes 2304 kbps
          <-<- [clDecoder::FillAudioInfo]
          Creating Decode Buffers: Created
          <-<- [clDecoder::Open]
          Setting Priority: low [dBCoreConverter::SetConversionPriority]
          Priority [clEncoder::Set]
          SendOverReplayGainTags [clEncoder::Get]
          ->-> [clDSP_BitDepth::BeginConversion]
          DSP Set Bits is Active:
          Source Audio Format Tag: 1 Channels: 2 Bits per Sample: 24 Samples Per Second: 48000 Bytes Per Second: 288000 Block Align: 6 CB Size: 0
          Destination Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 48000 Bytes Per Second: 192000 Block Align: 4 CB Size: 0
          Dithering using: Triangular (TPDF)
          <-<- [clDSP_BitDepth::BeginConversion]
          ->-> [clDSP::BeginConversion]
          DSP Resample is Active:
          Source Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 48000 Bytes Per Second: 192000 Block Align: 4 CB Size: 0
          Destination Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 176400 Block Align: 4 CB Size: 0
          <-<- [clDSP::BeginConversion]
          ->-> [clDSP::BeginConversion]

          Calculate Trackgain: Yes
          Calculate Albumgain: Yes
          R128 Calculation: Yes [-18 LUFS] [clDSP::BeginConversion]
          <-<- [clDSP::BeginConversion]
          ->-> [clEncoder::BeginConversion]
          Converting to 'C:\Users\scott\AppData\Local\Temp\_tfC8A7.tmp.mp3 .tmp.mp3' encoder settings ' -b="320"'
          Lame encoder settings: -b 320 --noreplaygain -r --little-endian --bitwidth 16 - "C:\Users\scott\AppData\Local\Temp\_TFC8A~2.MP 3"
          <-<- [clEncoder::BeginConversion]
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          Encoding To: mp3 (Lame)
          Encoder Cmd Line: -b="320"
          DSP Effects:
          Bit Depth: -depth="16" -dither="tpdf"
          Resample: -frequency="44100"
          ReplayGain: -albummode="0" -r128lufs="-18" -maxtgain="25 dB"

          ============= CONVERSION BEGIN =============
          ============= CONVERSION END =============
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          ->-> [dBCoreConverter::CloseDecoder]
          ->-> [clDecoder::Close]
          <-<- [clDecoder::Close]
          ->-> [clDSP_BitDepth::EndConversion]
          <-<- [clDSP_BitDepth::EndConversion]
          ->-> [clDSP::EndConversion]
          <-<- [clDSP::EndConversion]
          ->-> [clDSP::EndConversion]
          Loudness=-9.82LUFS, TruePeak=0.00LUFS [clDSP::EndConversion]
          Track ReplayGain: -8.18 dB Peak: 1
          <-<- [clDSP::EndConversion]
          ->-> [clEncoder::EndConversion]
          <-<- [clEncoder::EndConversion]
          File Size Check (before overwrite final): 10520031 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tfC8A7.tmp.mp3. tmp.mp3
          File Size Check (before ID Tags Written): 10520031 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tfC8A7.tmp.mp3
          ->-> [dBCoreConverter::IDTagWriter]
          Decodes [clDecoder_MP3_MPG123::Get]
          IDTags [clDecoder_MP3_MPG123::Set]
          ->-> [clDecoder_MP3_MPG123::WriteIDTags]
          Opening file 'C:\Users\scott\AppData\Local\Temp\_tfC8A7.tmp.mp3 ' for write access: Opened
          <-<- [clDecoder_MP3_MPG123::WriteIDTags]
          <-<- [dBCoreConverter::IDTagWriter]
          Communicate [clDecoder::Get]
          Communicate [clEncoder::Get]
          ->-> [clDSP_BitDepth::AfterConversion]
          <-<- [clDSP_BitDepth::AfterConversion]
          ->-> [clDSP::AfterConversion]
          <-<- [clDSP::AfterConversion]
          ->-> [clDSP::AfterConversion]
          <-<- [clDSP::AfterConversion]
          Conversion completed in 6.7 seconds x39 realtime encoding
          File Size Check (core converter exit): 10746761 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tfC8A7.tmp.mp3
          ->-> [clDecoder::Close]
          <-<- [clDecoder::Close]
          ------------------------------------

          Comment

          • Cooksons

            • Mar 2017
            • 26

            #20
            Re: TuneFUSION writing files with size 0 KB

            Hi PeterP,

            I posted the results of this test, but they are awaiting moderator approval.

            In the meantime, I looked in the directory referenced toward the end of one of these DBDebug-***.txt files, pasted here:

            File Size Check (core converter exit): 10746761 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tfC8A7.tmp.mp3

            I have 4710 mp3 files in this Temp directory with filename _tf****.tmp.mp3 (e.g. _tf1A25.tmp.mp3), so perhaps the converted files are accumulating here?

            Comment

            • PeterP
              Super Moderator
              • Jul 2011
              • 1463

              #21
              Re: TuneFUSION writing files with size 0 KB

              Thanks for the details.
              Yes, it looks like a fault in our temp file management. I recommend deleting these files in temp.

              New build:

              - Keep yesterday's CoreConverter.exe
              - Hold shift pressing [menu] to see a toggle for writing debug logs in Documents. Default: off, intentionally reset on app restart.
              - Attempted fix assuming it's a temp file ops fault.
              - More logging: "Encoder created a blank file for source" will say WHAT file it's looking at, sounds like temp files clashed.
              Last edited by PeterP; March 09, 2023, 12:05 PM.

              Comment

              • Cooksons

                • Mar 2017
                • 26

                #22
                Re: TuneFUSION writing files with size 0 KB

                Thanks PeterP.

                I deleted all .mp3 files in the temp directory. In doing so, I noticed that ~30 of the 4710 files had names of "_tf****.tmp.mp3.tmp.mp3", as if the extension was appended twice while naming. I thought that this might be a clue. Another odd file had the name "_TFD57~1.MP3" (caps sensitive).

                Then I followed your new build instructions.

                The new TuneFUSION log is pasted here:

                Sync started on Thursday, March 9, 2023, 7:48:57 AM to Sync Music_Stereo to Music_Stereo_Lossy
                Library contains 54521 tracks, 6 tracks requiring syncing
                Error: Encoder created a blank file: C:\Users\scott\AppData\Local\Temp\_tf-27460-8.mp3 for source file: O:\Pink Floyd\Animals [2018 Remix] [Analogue Productions Reissue] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Dogs.dsf
                Error: Encoder created a blank file: C:\Users\scott\AppData\Local\Temp\_tf-27460-7.mp3 for source file: O:\Davis, Miles\Miles in the Sky [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Stuff.dsf
                Error: Encoder created a blank file: C:\Users\scott\AppData\Local\Temp\_tf-27460-15.mp3 for source file: O:\Davis, Miles\Sketches of Spain [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Concierto de Aranjuez (Adagio).dsf
                Error: Encoder created a blank file: C:\Users\scott\AppData\Local\Temp\_tf-27460-19.mp3 for source file: O:\Davis, Miles\Jack Johnson [A Tribute to Jack Johnson] [Soundtrack] [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Yesternow.dsf
                Error: Encoder created a blank file: C:\Users\scott\AppData\Local\Temp\_tf-27460-23.mp3 for source file: O:\Davis, Miles\In a Silent Way [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-Shhh_Peaceful.dsf
                Error: Encoder created a blank file: C:\Users\scott\AppData\Local\Temp\_tf-27460-27.mp3 for source file: O:\Davis, Miles\On the Corner [Mobile Fidelity Sound Lab Remaster] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-1-On the Corner_New York Girl_Thinkin' One Thing and Doin' Another_Vote for Miles.dsf
                Sync incomplete (see detailed log).

                --------------------------------------

                The contents of a new log written to the Documents folder (DBDebug-7240.txt) is pasted here:

                Splitting Command Line:"C:\Program Files\TuneFUSION\CoreConverter.exe" -dbcmd="C:\Users\scott\AppData\Local\Temp\dBT-27460-14"
                ->-> [dBCoreConverter::ReaddBCommandFile]
                <-<- [dBCoreConverter::ReaddBCommandFile]
                Decodes [clDecoder::Get]
                Decodes [clDecoder::Get]
                BatchID [clDecoder::Set]
                ->-> [cldBCodecHandler::LoadEncoder]
                Loading Encoder 'C:\Program Files\TuneFUSION\encoder\mp3 (Lame).DLL'
                <-<- [cldBCodecHandler::LoadEncoder]
                BatchID [clEncoder::Set]
                ->-> [dBCoreConverter::StripCoreConverterCmds]
                <-<- [dBCoreConverter::StripCoreConverterCmds]
                SendRawUnCompressed [clEncoder::Get]
                IsLive [clDSP::Get]
                SendOverReplayGainTags [clDSP::Get]
                BatchID [clDSP::Set]
                IsLive [clDSP::Get]
                SendOverReplayGainTags [clDSP::Get]
                BatchID [clDSP::Set]
                IsLive [clDSP_BitDepth::Get]
                SendOverReplayGainTags [clDSP_BitDepth::Get]
                BatchID [clDSP_BitDepth::Set]
                Communicate [clDecoder::Get]
                Communicate [clEncoder::Get]
                NeedHQAudio [clEncoder::Get]
                Decode As [clDecoder::Set]
                ->-> [clDecoder::Open]
                Opening file 'O:\Pink Floyd\Animals [2018 Remix] [Analogue Productions Reissue] [Hybrid SACD] [Stereo 1-Bit_2.8224 MHz DSD]\1-2-Dogs.dsf' for read access: Opened
                ->-> [clDecoder::FillAudioProps]
                Sample Count: 49,286,832
                <-<- [clDecoder::FillAudioProps]
                ->-> [clDecoder::FillAudioInfo]
                Uncompressed WFX (sent to db): Format Tag: 1 Channels: 2 Bits per Sample: 24 Samples Per Second: 48000 Bytes Per Second: 288000 Block Align: 6 CB Size: 0
                Audio Length: 1026809 mili-seconds 295720992 bytes 2304 kbps
                <-<- [clDecoder::FillAudioInfo]
                Creating Decode Buffer: Created
                <-<- [clDecoder::Open]
                Setting Priority: low [dBCoreConverter::SetConversionPriority]
                Priority [clEncoder::Set]
                SendOverReplayGainTags [clEncoder::Get]
                ->-> [clDSP_BitDepth::BeginConversion]
                DSP Set Bits is Active:
                Source Audio Format Tag: 1 Channels: 2 Bits per Sample: 24 Samples Per Second: 48000 Bytes Per Second: 288000 Block Align: 6 CB Size: 0
                Destination Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 48000 Bytes Per Second: 192000 Block Align: 4 CB Size: 0
                Dithering using: Triangular (TPDF)
                <-<- [clDSP_BitDepth::BeginConversion]
                ->-> [clDSP::BeginConversion]
                DSP Resample is Active:
                Source Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 48000 Bytes Per Second: 192000 Block Align: 4 CB Size: 0
                Destination Audio Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 176400 Block Align: 4 CB Size: 0
                <-<- [clDSP::BeginConversion]
                ->-> [clDSP::BeginConversion]

                Calculate Trackgain: Yes
                Calculate Albumgain: Yes
                R128 Calculation: Yes [-18 LUFS] [clDSP::BeginConversion]
                <-<- [clDSP::BeginConversion]
                ->-> [clEncoder::BeginConversion]
                Converting to 'C:\Users\scott\AppData\Local\Temp\_tf-27460-8.mp3.tmp.mp3' encoder settings ' -b="320"'
                Lame encoder settings: -b 320 --noreplaygain -r --little-endian --bitwidth 16 - "C:\Users\scott\AppData\Local\Temp\_T4166~1.MP 3"
                <-<- [clEncoder::BeginConversion]
                Communicate [clDecoder::Get]
                Communicate [clEncoder::Get]
                Encoding To: mp3 (Lame)
                Encoder Cmd Line: -b="320"
                DSP Effects:
                Bit Depth: -depth="16" -dither="tpdf"
                Resample: -frequency="44100"
                ReplayGain: -albummode="0" -r128lufs="-18" -maxtgain="25 dB"

                ============= CONVERSION BEGIN =============
                ============= CONVERSION END =============
                Communicate [clDecoder::Get]
                Communicate [clEncoder::Get]
                ->-> [dBCoreConverter::CloseDecoder]
                ->-> [clDecoder::Close]
                <-<- [clDecoder::Close]
                ->-> [clDSP_BitDepth::EndConversion]
                <-<- [clDSP_BitDepth::EndConversion]
                ->-> [clDSP::EndConversion]
                <-<- [clDSP::EndConversion]
                ->-> [clDSP::EndConversion]
                Loudness=-23.23LUFS, TruePeak=-6.91LUFS [clDSP::EndConversion]
                Track ReplayGain: +5.23 dB Peak: 0.451508
                <-<- [clDSP::EndConversion]
                ->-> [clEncoder::EndConversion]
                <-<- [clEncoder::EndConversion]
                File Size Check (before overwrite final): 41073893 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tf-27460-8.mp3.tmp.mp3
                File Size Check (before ID Tags Written): 41073893 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tf-27460-8.mp3
                ->-> [dBCoreConverter::IDTagWriter]
                Decodes [clDecoder_MP3_MPG123::Get]
                IDTags [clDecoder_MP3_MPG123::Set]
                ->-> [clDecoder_MP3_MPG123::WriteIDTags]
                Opening file 'C:\Users\scott\AppData\Local\Temp\_tf-27460-8.mp3' for write access: Opened
                <-<- [clDecoder_MP3_MPG123::WriteIDTags]
                <-<- [dBCoreConverter::IDTagWriter]
                Communicate [clDecoder::Get]
                Communicate [clEncoder::Get]
                ->-> [clDSP_BitDepth::AfterConversion]
                <-<- [clDSP_BitDepth::AfterConversion]
                ->-> [clDSP::AfterConversion]
                <-<- [clDSP::AfterConversion]
                ->-> [clDSP::AfterConversion]
                <-<- [clDSP::AfterConversion]
                Conversion completed in 2 minutes 57 seconds x5.8 realtime encoding
                File Size Check (core converter exit): 41388188 bytes Filename: C:\Users\scott\AppData\Local\Temp\_tf-27460-8.mp3
                ->-> [clDecoder::Close]
                <-<- [clDecoder::Close]

                Comment

                • PeterP
                  Super Moderator
                  • Jul 2011
                  • 1463

                  #23
                  Re: TuneFUSION writing files with size 0 KB

                  Thanks.

                  I'm sorry to say that I still can't find the cause - one part of our program reports having successfully written the file, then the other part sees a null file (using same method to check it).

                  It would be most helpful if you could make a log of the incident with Process Monitor:
                  Monitor file system, Registry, process, thread and DLL activity in real-time.


                  Attaching it will probably be problematic - please email to peter@dbpoweramp.com

                  Thanks again.

                  Comment

                  • Cooksons

                    • Mar 2017
                    • 26

                    #24
                    Re: TuneFUSION writing files with size 0 KB

                    Hi PeterP,

                    I just generated that log file and sent you an email. I'm new to ProcMon, so I hope that I recorded the event correctly.

                    Thank you.

                    Comment

                    • PeterP
                      Super Moderator
                      • Jul 2011
                      • 1463

                      #25
                      Re: TuneFUSION writing files with size 0 KB

                      Thanks for your patience.

                      Bug fixed-

                      Comment

                      • Cooksons

                        • Mar 2017
                        • 26

                        #26
                        Re: TuneFUSION writing files with size 0 KB

                        Woohoo! I can confirm that you've fixed the issue. All tracks now convert and sync properly.

                        Thank you for your perseverance and for trusting my troubleshooting. I truly appreciate your help!

                        Comment

                        • Cooksons

                          • Mar 2017
                          • 26

                          #27
                          Re: TuneFUSION writing files with size 0 KB

                          Hi PeterP,

                          I apologize in advance for somewhat hijacking my own thread here, but I have another partially related issue:

                          Before you started troubleshooting my 0 KB problem, I tried to solve it by installing TuneFUSION on my 2022 Mac Studio and running it from there with the same settings. Otherwise, this is the same setup where I'm syncing from and to the same NAS. I'm running Mac OS Ventura 13.2.1 and TuneFUSION 1.7.

                          Here, I encountered a different issue where the log file displays this error for each audio file:

                          Error: Error opening file '/Volumes/Audiobooks/Ganapes, John/Blues You Can Use [CD]/1-3-Blues Rock Tune.flac' check no other program has it open.Operation timed out (errno:60) [Open] for source file: /Volumes/Audiobooks/Ganapes, John/Blues You Can Use [CD]/1-3-Blues Rock Tune.flac

                          The result is that no files are synced. Any idea what could be limiting access to these files?

                          Thank you again.

                          Comment

                          • PeterP
                            Super Moderator
                            • Jul 2011
                            • 1463

                            #28
                            Re: TuneFUSION writing files with size 0 KB

                            No problem about thread hijacking - especially that the original problem has been found & fixed.

                            Please try TuneFUSION 1.8 betas-
                            Current version: beta 4 Download: https://www.dbpoweramp.com/beta/TF-R18b4.dmg Changes since 1.7: Workaround for file-busy &amp; operation-timed-out errors when syncing. Changes in beta 2: Additional workaround for file busy errors. Changes in beta 3: Mitigated crashing when scanning for music in a folder with too

                            I added a specific workaround for file operations timing out (errno:60), should help with this case.

                            Comment

                            • Cooksons

                              • Mar 2017
                              • 26

                              #29
                              Re: TuneFUSION writing files with size 0 KB

                              Thanks PeterP. I downloaded the latest Mac beta and ran the profile again.

                              One strange thing is that the profile window showed "Indexing: * tracks found", where * rose to >35,000. I only have 107 music files in this NAS source share, and perhaps a dozen .txt files with ripping info. It seemed like maybe it was scanning outside of the source directory (i.e. other NAS shares?).

                              The good news is that the file operations timeout error is gone, and all 107 files synced correctly.

                              Thanks for your help!

                              Comment

                              • Cooksons

                                • Mar 2017
                                • 26

                                #30
                                Re: TuneFUSION writing files with size 0 KB

                                New info: This long indexing step seems to only occur during the first sync. Subsequent syncs where nothing has changed complete in under 1 min.

                                Comment

                                Working...

                                ]]>