Ticket #21 (assigned feature)

Opened 10 months ago

Last modified 6 months ago

Filter non-mp3 files when sending to Flash Player

Reported by: fabio.ornellas@… Owned by: vollmerk
Priority: minor Milestone: 3.5 Beta Release
Component: Interface Design Version: SVN
Keywords: Cc:

Description

Hello,

I guess this could be added to known issues article.

I am unable to play OGG files at 3.3.3.5 using the Flash player without adding these lines to the configuration:

transcode_ogg           = true
transcode_ogg_target    = ogg
stream_cmd_ogg          = ogg123 -d wav -q -f - %FILE% | lame -v -V 4 - -

In the case I set up a "lossless" VBR compression to lame, which could be changed to "lame -b 128 -S - -" or whatever you wish.

Perhaps this could be changed at the default config for 3.3.3.6 and avoid problems to other users.

Thank you.

Attachments

Change History

Changed 10 months ago by vollmerk

  • priority changed from major to minor
  • status changed from new to assigned
  • version changed from 3.3.x to 3.4
  • component changed from Wiki Document to Web Interface

Rather then changing the default I think implementing a special filter for the flash player that overrides normal transcoding settings when the format you are trying to pass would not play. This should be the best way to solve this problem without affecting poeple not using the Flash Player. This is a feature not a bug so it's going in the 3.4 queue.

Changed 10 months ago by fabio.ornellas@…

Nice to know it is going to be set up in a better way.

UPDATE: ogg123 is buggy when it receives a SIGPIPE (eg you close the flash player window) and enters a infinite loop until you SIGKILL it. Instead, using:

stream_cmd_ogg          = oggdec -Q -o - %FILE% | lame -S -v -V 4 - -

solves the issue.

Changed 10 months ago by fabio.ornellas@…

Another update:

I found that the above command sometimes breaks the songs at the middle. Perhaps it should instead use RAW format to convert. But that would need bits, channels and sample rate to be exported through variables also. Otherwise it would require a shell script workaround not very nice...

I gave up on converting things on the fly. I am simply converting all my catalog to MP3... less headaches.

Changed 10 months ago by vollmerk

  • version changed from 3.4.x to SVN
  • type changed from bug to feature
  • summary changed from Fix to OGG + Flash player issue to Filter non-mp3 files when sending to Flash Player
  • milestone set to 3.4 Stable Release

Changed 6 months ago by vollmerk

  • milestone changed from 3.4 Stable Release to 3.5 Beta Release

Add/Change #21 (Filter non-mp3 files when sending to Flash Player)

Author



Action
as assigned
 
Note: See TracTickets for help on using tickets.