nesdev.com
http://forums.nesdev.com/

Attachment filenames restricted?
http://forums.nesdev.com/viewtopic.php?f=13&t=14525
Page 1 of 2

Author:  Myask [ Tue Jul 12, 2016 3:50 pm ]
Post subject:  Attachment filenames restricted?

"Screenshot from 2016-07-12 15:58:37.png is an invalid filename." That's, uh…inconvenient.

edit: colon seems to be the the culprit

Author:  tepples [ Tue Jul 12, 2016 3:53 pm ]
Post subject:  Re: Attachment filenames restricted?

Colons are not valid in filenames on Windows or on classic Mac OS.

Author:  Zepper [ Tue Jul 12, 2016 6:19 pm ]
Post subject:  Re: Attachment filenames restricted?

I wonder if you could allow .WAV files. :idea:

Author:  tepples [ Tue Jul 12, 2016 6:55 pm ]
Post subject:  Re: Attachment filenames restricted?

What do you plan to use WAV files for, for which Ogg files aren't better? WAV files are most commonly uncompressed, and there's a size limit for attachments.

Author:  koitsu [ Tue Jul 12, 2016 8:43 pm ]
Post subject:  Re: Attachment filenames restricted?

tepples wrote:
What do you plan to use WAV files for, for which Ogg files aren't better? WAV files are most commonly uncompressed, and there's a size limit for attachments.

Ogg, mp3, etc. are lossy. Now consider this thread -- you don't want to do that kind of analysis using a lossy format if it can be avoided. So, for that circumstance (i.e. it's subjective), WAV is a better choice. Plus it's a "convenient" format that most utilities can read. That's all.

Author:  tepples [ Tue Jul 12, 2016 8:57 pm ]
Post subject:  Re: Attachment filenames restricted?

Zip is supported and lossless.

Author:  rainwarrior [ Tue Jul 12, 2016 9:11 pm ]
Post subject:  Re: Attachment filenames restricted?

FLAC provides better lossless compression of audio than ZIP, if you're looking for something that achieves that, but if there's a file size limit I don't really see what's unacceptable about WAVs either.

Author:  lidnariq [ Tue Jul 12, 2016 9:12 pm ]
Post subject:  Re: Attachment filenames restricted?

Well, I suppose there might be a pedantic argument in favor of FLAC, then...

But that wouldn't solve Zepper's wish, which was not having to do an extra round of processing before uploading it.

(Whether the board should consider accommodating that laziness in its users is, I guess, the actual question. And factors include "just how cheap is disk and bandwidth and how much better is a ZIPed WAV vs in-line http gzip compression vs FLAC")

Author:  koitsu [ Tue Jul 12, 2016 9:54 pm ]
Post subject:  Re: Attachment filenames restricted?

Common audio editing utilities (ex. Audacity) cannot import FLAC. FLAC is intended mainly for audio CD archival purposes.

This is the last time I try to bring up some "semi-related but slightly off-topic" aspect of something in attempt to curb tepples from bringing it up.

Author:  rainwarrior [ Tue Jul 12, 2016 10:31 pm ]
Post subject:  Re: Attachment filenames restricted?

koitsu wrote:
Common audio editing utilities (ex. Audacity) cannot import FLAC.

I frequently both import and export FLAC from Audacity. I think your experience is probably years out of date?

http://wiki.audacityteam.org/wiki/FLAC# ... rt_of_FLAC

Author:  koitsu [ Tue Jul 12, 2016 10:37 pm ]
Post subject:  Re: Attachment filenames restricted?

rainwarrior wrote:
I frequently both import and export FLAC from Audacity. I think your experience is probably years out of date? http://wiki.audacityteam.org/wiki/FLAC# ... rt_of_FLAC

Yup, that was definitely it.

Author:  Bregalad [ Wed Jul 13, 2016 2:07 am ]
Post subject:  Re: Attachment filenames restricted?

Quote:
Common audio editing utilities (ex. Audacity) cannot import FLAC.

They can, but you have to download and install extra plugins, which is always an annoyance. Alternatively you can download flac, and uncompress the data to wav in the command line.

I can see that in some cases for small audio samples, uisng zip or 7z on a wav file can be more desirable than FLAC even if the compresison ration is much worse, because you just want to avoid people to download FLAC plugins for their audio software.

Also there exist a large number of formats providing typically better lossless compression than FLAC, but those are typically not GNU/Free.

Author:  rainwarrior [ Wed Jul 13, 2016 8:26 am ]
Post subject:  Re: Attachment filenames restricted?

Bregalad wrote:
Also there exist a large number of formats providing typically better lossless compression than FLAC, but those are typically not GNU/Free.

I don't know about "large number" that are better than FLAC, but it's true there are a large number of lossless audio formats, and some of them do compress slightly more than FLAC. (There's a significant performance tradeoff as compression increases.)

Comparison: http://wiki.hydrogenaud.io/index.php?ti ... comparison

FLAC and Apple's format are the only two that I commonly encounter, though. Several commonly used utilities handle one or both of these formats at this point without having to download a separate plugin. Audacity, Winamp, VLC, SMPlayer, WMP 12, and many others do FLAC out of the box right now.

The other reason why I don't see a problem with WAV is that lossless audio compression is really only about ~50% compression. So... it makes a difference but it's not like WAV is insane by comparison. Even just ZIP is an reasonable in-between compromise here.

Author:  tepples [ Wed Jul 13, 2016 9:41 am ]
Post subject:  Re: Attachment filenames restricted?

And for unfiltered chiptune rendering, such as raw NES APU output at 0.895 MHz, Zip actually compresses quite well because of long run lengths.

Author:  lidnariq [ Wed Jul 13, 2016 12:34 pm ]
Post subject:  Re: Attachment filenames restricted?

FLAC also explicitly doesn't support sampling rates about 655350 Hz, so couldn't be used for raw 2A03 audio anyway.

Page 1 of 2 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/