dmcdayton wrote: 
> Thanks for the details. Is there somewhere in the LMS interface where it
> indicates in real time whether a particular file is being played back
> natively or transcoded? I poked around, couldn't see it. Can you suggest
> any reference material to educate myself on this as it relates to LMS?

Not really - the best indication is More Info and you can see the
message 

> I have a rather large collection of audio extracted from various video
> formats, as well as more than a few Apple purchased audio files. It
> seems Apple uses m4a extension, for some reason I thought they used acc.
This is where is starts to get techniocal.  AAC is the audio encoding
just like MP3.  AAC and MP3 encoded audio is organised in frame and
players needs to know where the frame begin - this is easy for file
(there is a clear start) but not so easy when streaming as stream audio
is a continuous of bytes. So audio encoding needs to be wrapped in a
transport format - and this is MPEG4.  MPEG4 is designed ot be general
prupsoe and a MPEG4 files can hold video , audio incl multitrack,
images, slideshows, subtitles etc.

> I'd like to set so the Apple Music is natively decoded, then re-extract
> my video to proper audio format for native decoding to eliminate
> transcoding where possible..
Apple Music is not a format.   It can be both lossy and lossless so
already there are two choices. 

The best way to convert the file is to use ffmpeg where all the output
format options can be carefully controlled.  Conversion tools with GUI
etc tend to make choices for a file based player which may not be the
right ones for LMS streaming.

The following command is a generic simple audio copy so it may not work
with all files (e.g. mulittrack audio).  The faststart flag is required
for streaming.  Not sure if it copies metadata.

Code:
--------------------
    
  ffmpeg -i input.m4a -vn -acodec copy -movflags +faststart output-audio.mp4
  
--------------------


How are you converting files now ?


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110323

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to