Can mediatomb VLC profile transcode audio as MP3 rather than mpga ?
Posted
by
djangofan
on Ask Ubuntu
See other posts from Ask Ubuntu
or by djangofan
Published on 2011-01-13T21:08:46Z
Indexed on
2011/01/13
21:59 UTC
Read the original article
Hit count: 514
In the /etc/mediatomb/config.xml, can mediatomb VLC profile transcode audo as MP3 rather than mpga ? My Sony GoogleTV wont render streamed .avi files files with a mpga audio in them. The original files are Divx encoded with 128kbs MP3 audio but mediatomb is transcoding them. How can I change this? Any ideas? Can I turn off the audio and video transcoding somehow? I need some ideas to try.
<profile name="vlcprof" enabled="yes" type="external">
<mimetype>video/mpeg</mimetype>
<agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
<buffer size="10485760" chunk-size="131072" fill-size="2621440"/>
<accept-url>yes</accept-url>
<first-resource>yes</first-resource>
</profile>
I know that that MP3 encoding support is external to FFmpeg and must be configured appropriately, but I have no idea how to handle that. I would guess I can work around that by somehow telling ffmpeg to not transcode the audio stream?
Also, should I create a separate vlcprof entry for video/avi ? Can you create more than one profile for VLC in the config.xml for mediatomb?
© Ask Ubuntu or respective owner