Page 1 of 1

STOZHER's transcodings

PostPosted: Tue Jan 04, 2011 5:01 pm
by stozher
MP3 xxx ABR | <???> | mp3 |
ffmpeg -v 0 -i %s -f mp3 -acodec libmp3lame -ar 44100 -ab %bk -ac 2 -map_meta_data 0:0 - | <blank>

MP3 320kbps VBR | <???> | mp3 |
ffmpeg -v 0 -i %s -f mp3 -acodec libmp3lame -ar 44100 -aq 0 -ac 2 -map_meta_data 0:0 - | <blank>

F4A (AAC/FLV) 320kbps VBR | <???> | aac <f4a> |
ffmpeg -v 0 -i %s -f flv -vn -acodec libfaac -ar 44100 -aq 500 -ac 2 -map_meta_data 0:0 - | <blank>

Ext: OGA (OGG) xxx ABR | <???> | ogg <oga> |
ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -ab %bk -ac 2 -map_meta_data 0:0 - | <blank>

Ext: OGA (OGG) 320kbps VBR | <???> | ogg <oga> |
ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 44100 -aq 9 -ac 2 -map_meta_data 0:0 - | <blank>

Ext: OGA (OGG) 500kbps VBR at 48kHz | <???> | ogg <oga> |
ffmpeg -v 0 -i %s -f ogg -vn -acodec libvorbis -ar 48000 -aq 10 -ac 2 -map_meta_data 0:0 - | <blank>

Ext: FLAC VBR at 24bit/48kHz (just copy) | flac | flac |
ffmpeg -v 0 -i %s -f flac -acodec copy -map_meta_data 0:0 - | <blank>

PostPosted: Fri Feb 11, 2011 11:41 pm
by hyatari
i cant get the f4a extension to work on android or in the browser. i added it to music mask but no luck.

PostPosted: Sat Feb 12, 2011 1:34 am
by stozher
playlist.jsp... find "aac" and add "f4a"

Code: Select all
if (song.format == "aac" || song.format == "f4a" || song.format == "m4a") {
    list[0].provider = "video";
}

PostPosted: Fri Jun 03, 2011 1:56 am
by hyatari
Hey stozher. With gingerbread out did Google add any more support for m4a? I was trying to get flac transcoded to m4a with no luck on android 2.2. I think you said it wouldn't work with a certain container. I got a thunderbolt recently running cyanogenmod which is android 2.3 so I was just wondering if you knew off a way.

PostPosted: Fri Jun 03, 2011 9:38 pm
by stozher
Simply: MPEG-4 container = (data atom: video, audio and subtitle streams) + (info atom)

Player needed first to read "info atom" but on-fly encoder send only data audio stream... to calculate "info atom" you need all data. No solution to on-fly encoding of MPEG-4 stream!!!

Preencode FLAC files to .m4a (.mp4 with only audio stream) and use qt-faststart program to move "info atom" before "data atom" (start playing before end of downloading).

PostPosted: Sat Jun 04, 2011 1:19 am
by alphawave7
stozher wrote:Simply: MPEG-4 container = (data atom: video, audio and subtitle streams) + (info atom)

Player needed first to read "info atom" but on-fly encoder send only data audio stream... to calculate "info atom" you need all data. No solution to on-fly encoding of MPEG-4 stream!!!

Preencode FLAC files to .m4a (.mp4 with only audio stream) and use qt-faststart program to move "info atom" before "data atom" (start playing before end of downloading).



We've missed you, buddy! 8)