Post Reply 
Track and album names displayed with replacement character. How to resolve?
25-01-2024, 19:09 (This post was last modified: 25-01-2024 19:10 by Yukster.)
Post: #21
RE: Track and album names displayed with replacement character. How to resolve?
(25-01-2024 18:44)simbun Wrote:  In order to be able to help you in identifying the problem tracks, I'd need you to create a short version of one of the tracks so I can test it this end.

If you download and install SOX, then run the following command against one of your problem files (one that hasn't been fixed or processed with fsutil) and attach it to a post.
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "file name.flac" "output.flac" trim 0 2

Alternatively you'd need to load your entire collection into Mp3tag and save them all.
Trying to upload a short flac track as is but the website tells me that 'The type of file that you attached is not allowed. Please remove the attachment or choose a different type'. Will it let me upload it if I truncate the flac file using Sox?
Find all posts by this user
Quote this message in a reply
25-01-2024, 20:01
Post: #22
RE: Track and album names displayed with replacement character. How to resolve?
In this case you can zip or compress the file before uploading so that the forum will accept the file. Please don't upload a very large file as the forum has a limited space quota and is not intended to be used for file sharing.
Find all posts by this user
Quote this message in a reply
25-01-2024, 20:06
Post: #23
RE: Track and album names displayed with replacement character. How to resolve?
(25-01-2024 20:01)simoncn Wrote:  In this case you can zip or compress the file before uploading so that the forum will accept the file. Please don't upload a very large file as the forum has a limited space quota and is not intended to be used for file sharing.
Find all posts by this user
Quote this message in a reply
25-01-2024, 20:46 (This post was last modified: 25-01-2024 20:48 by simbun.)
Post: #24
RE: Track and album names displayed with replacement character. How to resolve?
(25-01-2024 20:06)Yukster Wrote:  
(25-01-2024 20:01)simoncn Wrote:  In this case you can zip or compress the file before uploading so that the forum will accept the file. Please don't upload a very large file as the forum has a limited space quota and is not intended to be used for file sharing.
Did you try to upload a file?
To upload a file, in the Attachments section select the Browse button, then once you've chosen the file select the 'Add Attachment' button on the right.


EDIT: It looks like you don't need to click 'Add Attachment' as my image was uploaded without it - unless it's because it was one I'd already uploaded.
Find all posts by this user
Quote this message in a reply
28-01-2024, 15:56 (This post was last modified: 28-01-2024 16:00 by Yukster.)
Post: #25
RE: Track and album names displayed with replacement character. How to resolve?
(25-01-2024 18:44)simbun Wrote:  
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "file name.flac" "output.flac" trim 0 2

Alternatively, you'd need to load your entire collection into Mp3tag and save them all.
I'd be grateful for a bit of help with trimming the flac file with SoX. I copied the file to C:\Program Files (x86)\sox-14-4-2\ for ease. I ran the following command:

"C:\Program Files (x86)\sox-14-4-2\sox.exe" "09 - Mirror Mirro.flac" "output.flac" trim 0 2

An error message appeared: FAIL formats: can't open input file `09 - Mirror Mirro.flac': No such file or directory
Find all posts by this user
Quote this message in a reply
28-01-2024, 16:40 (This post was last modified: 28-01-2024 16:41 by simbun.)
Post: #26
RE: Track and album names displayed with replacement character. How to resolve?
(28-01-2024 15:56)Yukster Wrote:  I'd be grateful for a bit of help with trimming the flac file with SoX. I copied the file to C:\Program Files (x86)\sox-14-4-2\ for ease. I ran the following command:

"C:\Program Files (x86)\sox-14-4-2\sox.exe" "09 - Mirror Mirro.flac" "output.flac" trim 0 2

An error message appeared: FAIL formats: can't open input file `09 - Mirror Mirro.flac': No such file or directory
Firstly, are you sure it shouldn't be "09 - Mirror Mirror.flac"?

Try running:
Code:
cd "C:\Program Files (x86)\sox-14-4-2\"
Then try again.

It appears that SOX is installed, but just to check run:
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" --version
It should output:
Code:
C:\Program Files (x86)\sox-14-4-2\sox.exe:      SoX v14.4.2

Then dir the file to make sure you have spelt it correctly:
Code:
dir /B "09 - Mirror Mirro.flac"
It should print the name of the file.

Because you haven't specified a path the flac file needs to be in the folder that you're running the commands from. Alternatively specify the full path e.g. "C:\Program Files (x86)\sox-14-4-2\09 - Mirror Mirro.flac".

Make sure you include a path for output filename as well if necessary. Depending on your Windows rights it may not let you create it under 'Program Files'.
Find all posts by this user
Quote this message in a reply
28-01-2024, 17:24 (This post was last modified: 28-01-2024 17:54 by simbun.)
Post: #27
RE: Track and album names displayed with replacement character. How to resolve?
Or to keep it simple:
Tap the Windows key on the keyboard (or Ctrl and Escape at the same time) and type %TEMP% then hit enter. Place the source flac file in there and call it input.flac.

Then from a command prompt run:
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "%TEMP%\input.flac" "%TEMP%\output.flac"
and attach output.flac to a post.
Find all posts by this user
Quote this message in a reply
28-01-2024, 18:34 (This post was last modified: 28-01-2024 18:35 by Yukster.)
Post: #28
RE: Track and album names displayed with replacement character. How to resolve?
(28-01-2024 17:24)simbun Wrote:  Or to keep it simple:
Tap the Windows key on the keyboard (or Ctrl and Escape at the same time) and type %TEMP% then hit enter. Place the source flac file in there and call it input.flac.

Then from a command prompt run:
Code:
"C:\Program Files (x86)\sox-14-4-2\sox.exe" "%TEMP%\input.flac" "%TEMP%\output.flac"
and attach output.flac to a post.
Thanks, it worked when I added the 'trim 0 2' bit


Attached File(s)
.zip  output.zip (Size: 109.99 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
28-01-2024, 19:05 (This post was last modified: 28-01-2024 19:06 by simbun.)
Post: #29
RE: Track and album names displayed with replacement character. How to resolve?
(28-01-2024 18:34)Yukster Wrote:  Thanks, it worked when I added the 'trim 0 2' bit
Oops, forgot about that with all the copying and pasting.

Unfortunately it looks like sox has cleaned up the tags as I don't see NUL at the end anymore.

I'm afraid the only way is going to be for you to upload a whole track.
If you're able to upload to a share somewhere (onedrive/google drive etc) and message me the link that's probably going to work best.
Find all posts by this user
Quote this message in a reply
28-01-2024, 19:16
Post: #30
RE: Track and album names displayed with replacement character. How to resolve?
(28-01-2024 19:05)simbun Wrote:  
(28-01-2024 18:34)Yukster Wrote:  Thanks, it worked when I added the 'trim 0 2' bit
Oops, forgot about that with all the copying and pasting.

Unfortunately it looks like sox has cleaned up the tags as I don't see NUL at the end anymore.

I'm afraid the only way is going to be for you to upload a whole track.
If you're able to upload to a share somewhere (onedrive/google drive etc) and message me the link that's probably going to work best.
I hope this https://we.tl/t-viu8vUn9ln works
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)