It is possible to force Audacity to write out like that by choosing
(external program) as the file type when exporting.
Then putting the ffmpeg command line ...
ffmpeg -i - -movflags +faststart "%f"
Below is the resulting log ... and it worked first time when I told LMS
to play it to SB2 via Home/Music Folder.
It does make the process slower because of the 2nd pass but it worked.
Code:
--------------------
ffmpeg -i - -movflags +faststart "L:\music\TestTestTest\Sade - test.m4a"
ffmpeg version 2.2.2 Copyright (c) 2000-2014 the FFmpeg developers
built on May 22 2014 19:56:44 with gcc 4.8.2 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'pipe:':
Duration: N/A, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Output #0, ipod, to 'L:\music\TestTestTest\Sade - test.m4a':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Audio: aac (libvo_aacenc) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libvo_aacenc)
size= 175kB time=00:00:11.18 bitrate= 128.4kbits/s
size= 288kB time=00:00:18.37 bitrate= 128.2kbits/s
size= 449kB time=00:00:28.70 bitrate= 128.2kbits/s
size= 575kB time=00:00:36.74 bitrate= 128.1kbits/s
size= 718kB time=00:00:45.94 bitrate= 128.1kbits/s
size= 862kB time=00:00:55.11 bitrate= 128.1kbits/s
size= 1005kB time=00:01:04.30 bitrate= 128.1kbits/s
size= 1149kB time=00:01:13.50 bitrate= 128.1kbits/s
size= 1292kB time=00:01:22.67 bitrate= 128.1kbits/s
size= 1436kB time=00:01:31.87 bitrate= 128.0kbits/s
size= 1580kB time=00:01:41.06 bitrate= 128.1kbits/s
size= 1724kB time=00:01:50.23 bitrate= 128.1kbits/s
size= 1887kB time=00:02:00.67 bitrate= 128.1kbits/s
size= 2010kB time=00:02:08.62 bitrate= 128.0kbits/s
size= 2154kB time=00:02:17.80 bitrate= 128.0kbits/s
size= 2311kB time=00:02:27.84 bitrate= 128.1kbits/s
size= 2442kB time=00:02:36.19 bitrate= 128.1kbits/s
size= 2584kB time=00:02:45.36 bitrate= 128.0kbits/s
size= 2734kB time=00:02:54.92 bitrate= 128.0kbits/s
size= 2872kB time=00:03:03.75 bitrate= 128.0kbits/s
size= 3015kB time=00:03:12.92 bitrate= 128.0kbits/s
size= 3180kB time=00:03:23.48 bitrate= 128.0kbits/s
size= 3302kB time=00:03:31.31 bitrate= 128.0kbits/s
size= 3446kB time=00:03:40.48 bitrate= 128.0kbits/s
[ipod @ 022420e0] Starting second pass: moving the moov atom to the beginning of the file
size= 3581kB time=00:03:46.44 bitrate= 129.5kbits/s
video:0kB audio:3539kB subtitle:0 data:0 global headers:0kB muxing overhead 1.193069%
--------------------
Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109756