View Single Post
Old 30th May 2010, 00:04   #15  |  Link
mackworth
Registered User
 
Join Date: Mar 2009
Posts: 46
Have a question, hoping someone can help.

I am trying to use this for my subsonic server so I can stream via aac instead of mp3 to my mobile device.

[5/29/10 6:51:18 PM EDT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-i] [G:\Music\iTunes\Arctic Monkeys\Arctic Monkeys EP\03 Fake Tales Of San Francisco.mp3] [-f] [wav] [-]
[5/29/10 6:51:18 PM EDT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\qaac] [-a] [128] [--adts] [-] [-]
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) initializing QTML...done
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac)
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) QuickTime 7.6.6
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac)
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac)
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) Method: Average Bit Rate
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) Bitrate: 128
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) Quality: Best
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac)
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) 0/0 samples processed
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) 0/0 samples processed
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) Overall bitrate: 2.06719kbps
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac)
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac)
[5/29/10 6:51:19 PM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\qaac) File contains data in an unknown format.

So as shown above, I decoding the mp3 with this command ffmpeg -i %s -f wav - where %s is the file name, and decoding to stdin. And then trying to encode to stout with qaac -a %b --adts - - where %b is the bitrate. %s and %b get filled in automatically by subsonic as shown above. Even if I try:

C:\subsonic\transcode>ffmpeg -i "G:\Music\iTunes\Arctic Monkeys\Arctic Monkeys EP\03 Fake Tales Of San Francisco.mp3" -f wav - | qaac -a 128 -o out.mp4 -

FFmpeg veinritsiailiozinng QSTMVL.N..-r21231-Sherpya, Copyright (c) 2000-2010 F
abrice Bellard, et al.
built on Jan 16 2010 05:42:31 with gcc 4.2.5 20080919 (prerelease) [Sherpya]
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.47. 0 / 52.47. 0
libavformat 52.47. 0 / 52.47. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.15. 0 / 1.15. 0
libswscale 0. 8. 0 / 0. 8. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mp3 @ 015ebec0]max_analyze_duration reached
[mp3 @ 015ebec0]Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'G:\Music\iTunes\Arctic Monkeys\Arctic Monkeys EP\03 Fake Ta
les Of San Francisco.mp3':
Metadata:
TPE1 : Arctic Monkeys
TALB : Arctic Monkeys EP
TPE2 : Arctic Monkeys
TIT2 : 03 Fake Tales Of San Francisco
TPUB : Domino/Ada
TYER : 2005
TDRC : 2005
Duration: 00:02:58.17, start: 0.000000, bitrate: 128 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
Output #0, wav, to 'pipe:':
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mp3 @ 02b88260]overread, skip -6 enddists: -4 -4
done

QuickTime 7.6.6

<stdin>
Method: Average Bit Rate
Bitrate: 128
Quality: Best
0/0 samples processed
Overall bitrate: 2.06719kbps
av_interleaved_write_frame(): Error while opening file
mackworth is offline   Reply With Quote