STOZHER's transcodings

Tutorials, tips and tricks.

Moderator: moderators

STOZHER's transcodings

Postby stozher » Tue Jan 04, 2011 5:01 pm

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>
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby hyatari » Fri Feb 11, 2011 11:41 pm

i cant get the f4a extension to work on android or in the browser. i added it to music mask but no luck.
hyatari
 
Posts: 53
Joined: Thu Jan 28, 2010 11:56 pm

Postby stozher » Sat Feb 12, 2011 1:34 am

playlist.jsp... find "aac" and add "f4a"

Code: Select all
if (song.format == "aac" || song.format == "f4a" || song.format == "m4a") {
    list[0].provider = "video";
}
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby hyatari » Fri Jun 03, 2011 1:56 am

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.
hyatari
 
Posts: 53
Joined: Thu Jan 28, 2010 11:56 pm

Postby stozher » Fri Jun 03, 2011 9:38 pm

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).
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria

Postby alphawave7 » Sat Jun 04, 2011 1:19 am

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)
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests