[TIP] Converting video files with unsupported audio encodings - Galaxy S I9000 General

Hi all,
I came across this question on androidforums on how to convert video files with audio encodings which the Galaxy S doesn't (yet) support.
The answer: there is a Windows tool out there called VID2EVA (link to website), originally meant for transcoding Blu-ray and DVD rips for Netgear media streamers
This tool will also convert the audio in individual video files without touching the video (e.g. NO video transcoding) whenever possible, so they can be played back on the Galaxy S. (This is needed mainly to convert DTS and multichannel AAC encodings to AC3 encoding.)
The end result will be MKV format.
Original thread (credit where credit is due!): here
Link to latest stable version: here
Any comments are very welcome.

Related

Trinity video format

I've seen some information spreaded in the forums about video recording on Trinity, and had some troubles watching them on a desktop computers, so here is the results of my research, and the doubts i Still have:
Videos recorded on trinity with maximum quality CIF:
resolution:352x288
Framerate:15fps
container: MP4 (3GPP)
Video codec: MPEG4 (ASP)
Audio codec: AMR - NB (Narrowband)
To properly play videos on your desktop computer you need to install a directshow filter called MP4splitter.
-It is possible to convert video to AVI format (lossless) using mp4cam2avi, but it doesn't work with audio.
-The AMR format is not easy to edit or to transcode to other formats, and it's not possible to use as audio stream on a AVI container (not sure).
Questions
Is there a program to merge several mp4 together lossless (no re-encoding)?
Is it possible to set up another resolution to be used on the video (i.e. 640*480) as this is not a hardware limitation?
Is it possible to use another codec for the audio stream?
Is it possible to use another framerate?
- By editting registry I'm able to change framerate (HKLM\Software\HTC\Camera\Recparam)
Mediacoder
I use Mediacoder to convert many format of video (recorded on a dvd from TV...) on my htc : choose MP4 and use TCPMP to read it.
Video Conversion
Hi n0t,
Have a look at NCH Software - www.nch.com - and find a program called Prism Video Converter. It can be downloaded as a trial and expires after a while but long enough to try out. It works perfectly and is very simple to use. NCH has a wide selection of software, especially conversion from one format to another. Some programs are free but all are downloaded as trial versions.
Hope this helps
Adam
n0t said:
Questions
Is there a program to merge several mp4 together lossless (no re-encoding)?
Is it possible to set up another resolution to be used on the video (i.e. 640*480) as this is not a hardware limitation?
Is it possible to use another codec for the audio stream?
Is it possible to use another framerate?
- By editting registry I'm able to change framerate (HKLM\Software\HTC\Camera\Recparam)
Click to expand...
Click to collapse
Is there a program to merge several mp4 together lossless (no re-encoding)?
- MP4Box is a command line that does it, YAMB is a GUI that works fine with it (and it's free). It can split, join and extract streams from MP4 or 3GP container. This way it is possible to edit lossless the video streams.
-I want to be able to edit and apply some filters to the clips with virtualdub. To transcode the video stream to an avi container (lossless) I can use MP4Cam2Avi, Mediacoder, or Super. But I have to convert audio to PCM WAV to use it in virtualdub, as AMR can't be used in an AVI.
Stream Video
Is it possible to make a live video broadcast from trinity (not using videocall)?
This way with an internet connection, it would be possible to send a stream to a computer anywhere...

Stock AVI Splitter (Directshow) questions

Can someone confirm for me that the stock AVI Splitter that windows mobile comes with is sub-standard? By sub-standard, I mean that it cannot split AVI files that contain XVID video and MP3 audio? (I'm assuming that special AVI splitters were written for normal windows for this same reason.)
The reason I ask is that I think I've managed to compile an XVID directshow filter. I can hook it up manually with viewgraph... using:
Code:
File Async source -> AVI splitter ->XVID codec -> HTC DDR (renderer)
\->MPEG-1 Layer 3 Decoder DMO -> Audio Renderer
It WILL play, just upside down (due to HTC renderer), and it stutters quite a bit. It will stutter if I have the video or audio portion disconnected... which makes me think that it's the AVI splitter.
Maybe I have to write an AVI splitter filter (or borrow code from GABEST)
MODS
Sorry, you can delete this thread. I posted it under the Windows software specific forum...

[Question] Coverting MKV files to playable format....

I have certain MKV files which can be played and ones which cannot be played on my SGS, after a little searching i found it can be due to certain codecs not being supported by the sgs natively.
does anyone know a decent quick converting windows application?
example the MKV file i have is 6 channel audio, which i believe is not supported. i need to convert the audio codec of this.
You need three separate applications to convert your DTS audio to AC3 format that SGS can read. Note that 1080p is not supported so i can't help you there.
The applications you need are:
1. MKV Extract GUI - to extract the dts audio
2. DTS2AC3 - To convert the DTS audio to AC3 audio
3. MKV Merge GUI - to merge the newly created AC3 audio with your mkv file
You can do a good search to find these apps and instruction on how to use
Hope this helps.
dipac said:
You need three separate applications to convert your DTS audio to AC3 format that SGS can read. Note that 1080p is not supported so i can't help you there.
The applications you need are:
1. MKV Extract GUI - to extract the dts audio
2. DTS2AC3 - To convert the DTS audio to AC3 audio
3. MKV Merge GUI - to merge the newly created AC3 audio with your mkv file
You can do a good search to find these apps and instruction on how to use
Hope this helps.
Click to expand...
Click to collapse
check 'popcorn mkv audio converter' - it does all by itself using the tools mentioned by dipac. No hazzle for us, it takes less than a minute to convert a video song without modifying the video quality.
Suggest me an app to do the same for mp4s please.
Dont know if it helps with 6 channel audio, but i could play all mkv files after upgrading to JM2 firmware. Some files didnt play on the old firmware, JF3.

[Q] Galaxy S vibrant plays back H264 video but lacks audio

So i downloaded two videos both in mp4 format encoded in h264 with acc audio, it plays the video fine (and looks amazing by the way) but there is no audio... any one care to help me figure this out?
IS the audio like 5.1? if o you gotta use headsets that supports 5.1 audio to hear it.
yes it is 5.1... hmmm i thought this would not be an issue as my computer plays it just fine, and converts it to 2 channel automatically?
is there a way to do this on the galaxy S or is there a way to convert 5.1 to 2 channel in the mp4??
never mind, a quick google helped me out... so for future reference guys: the i9000 cannot playback 5.1 audio natively
Thanks fr the heads up. I had this issue a while ago as well.
(1) Demux (extract) the audio stream with Yamb, (2) transcode the 5.1 AAC stream to 2 ch with MediaCoder Audio Edition, and (3) mux the 2ch AAC back into the MP4 w/ the H264 stream with Yamb. Since it only involves reencoding (transcoding) the audio, it doesn't take very long and the video quality will be unaffected
Yamb
Mediacoder Audio Edition
(1) Demux audio w/ Yamb:
(2) Transcode 6ch AAC to 2ch w/ mediacoder:
Note: Before being able to transcode 5.1 ch AAC to 2 ch you will have to find & paste a enc_aacplus.dll and nscrt.dll to the Mediacoder codecs folder (C:\Program Files\MediaCoder Audio Edition\codecs). If you have WinAmp installed you can find them in its installation folder or if you don't have WinAmp you can probably find them by doing a web search for "enc_aacplus.dll".
I found them linked in another vid forum comments at the first search result for me.
Also, the first time you try to run mediacoder it will open a webpage. You can just check the 'do not open next time mediacoder starts' box and then click 'open mediacoder' instead of doing the online setup.
(3) Mux 2ch & vid stream w/ Yamb:

Videorecording: Change 3GP4 profile to MP42

Preface: I wanted to post this in the Development forum as a feature suggestion, however forum policy unfortunately forbids it. Therefore I am posting here.
The camera app in Galaxy S II records h.264 video and AAC audio into an mp4 file. It uses the 3GP4 (3GPP Media Release 4) profile. However, despite the fact that the mp4-file contains ordinary h.264 video and AAC audio, some players (such as the Playstation 3) don't recognise the file, due to the 3GP4 format profile.
Seeing as the Galaxy produces ordinary AVC and AAC streams that are compliant with both MP42 and ISOM profiles, it would be nice to have the option of saving the video with one of these two profiles, thereby making the recorded video playable on the PlayStation 3.
For more information, please see this thread:
hypertexttransferprotocol://forum.doom9.org/showthread.php?t=161427
(the above link cannot be formatted as a link, because of antispam forum policy)

Categories

Resources