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...
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:
Hi guys,
I can play normal SD avi's etc perfectly. 720p MKV's video also clean, but no sound.
Tried Moboplayer - no sound
VPlayer - sound, video laggy
mVideoPlayer - doesnt play the 720p mkv
Running 10.1v on Android 3.0.1
I recently came across BUZZPlayer on the market and I've been in contact with them via email, where they claim its plays any file without conversion, and can also play from a smb share...
Havent tried it yet.....has anyone had any experience with this?
rockplayer?
Do you know what audiocodec is used in the mkv?
zaphyr said:
rockplayer?
Do you know what audiocodec is used in the mkv?
Click to expand...
Click to collapse
Hi, vlc reports:
Type: Audio
Codec: A52 Audio (aka AC3) (a52 )
Sample rate: 48000 Hz
Bitrate: 384 kb/s
I have no sound too when i use Hardware Decoding, when i use software i have sound but the frame rate drops and is unwatchable, i`m using rockplayer
I've tried all kinds of video players. I just don't think Android 3.0.1 or 3.1 and Tegra 2 are capable of playing 720P MKV files.
Ravynmagi said:
I've tried all kinds of video players. I just don't think Android 3.0.1 or 3.1 and Tegra 2 are capable of playing 720P MKV files.
Click to expand...
Click to collapse
you cannot be serious! lol
on a more somber note, i'm new to this game but i hope your statement is untrue.
if not, this is an epic fail.
The main reason I bought the tab for my dad was so he could freely sync between multiple computers without the help of iTunes and could stream/play most xvid and divx media
I can play some 720P AVI and MP4 files, but 720 MKV's have all been a no-go.
Either video is laggy/freezes. Audio is out of sync. Or no audio.
On Tegra 2 there are no hardware decoder for AC3 sound track (thanks to NVidia/Google/Dolby Licensing org etc. ), so when MKV uses Dolby sound - there is no hardware support so it has to be played in software.
Unfortunately, non of android players can play video with hardware decoder and sound with software (or they just not implemented that way).
Bottom line, 720p and up video is problematic on current Tegra2 devices.
You have couple options:
Sometimes, this issue may be lessen by overclocking Tegra2 from standard 1Ghz to 1.5Ghz - hefty 50% increase in performance, so it kind of manage to play 720p mkv files using software decoder...
Or just re-encode sound track into WMA or something which has hardware driver for Tegra2.
Vlad_z said:
On Tegra 2 there are no hardware decoder for AC3 sound track (thanks to NVidia/Google/Dolby Licensing org etc. ), so when MKV uses Dolby sound - there is no hardware support so it has to be played in software.
Unfortunately, non of android players can play video with hardware decoder and sound with software (or they just not implemented that way).
Bottom line, 720p and up video is problematic on current Tegra2 devices.
You have couple options:
Sometimes, this issue may be lessen by overclocking Tegra2 from standard 1Ghz to 1.5Ghz - hefty 50% increase in performance, so it kind of manage to play 720p mkv files using software decoder...
Or just re-encode sound track into WMA or something which has hardware driver for Tegra2.
Click to expand...
Click to collapse
On the sticker covering the tablet screen, it clearly states it can play and record 720p and 1080p. Bastards! I suppose we will get HD playback when the device is obsolete? The point of getting the device when it comes out is so that we can enjoy features we never had before. Turns out, after they taken our money, that Samsung just lied to the world and their piece of crap cant actually play 720/1080p. There must be a codec out there that can do something, I mean come on, WTF.
What the hell is that dual core, Nvidia Tegra gpu device doing with all its hardware? !!!!!
EDIT: Ok, I've been in contact with the developers of BUZZPlayer on Android market. Apparently they claim it can play 720/1080, and that their player is one of the best. Its not free, but its cheap. I am going to give it a try this evening, but I am a bit skeptical. So far the only 2 apps I did buy were both non functional and I got refunded. The issue with Android market is theres loads of crap mixed in with the good stuff. I even see theres an app that filters out all the garbage apps from the market.
Will give an update after I've tested BuzzPlayer.
Apart from Buzzplayer, theres only VLC, which isnt finished yet, which we can hope plays everything. I specifically got this device cause it has the hardware so u dont have to convert stuff. I dont want to convert!
All of you pulling your hair out about thinking the GT10.1 cannot play HD video need to step away from the keyboard, make yourself a cocktail and take a deep breath. It will be okay, I promise. The GT10.1 can and does record and play HD video. For those of you trying to play .mkv files please understand that Matroska (.mkv) is nothing more than a container (think of it like a wrapper around your favorite candy). Inside that container are files for audio, video, subtitles, metadata, etc. The audio and video files are compressed into some format (codec) that can only be played correctly if the device doing the playing has the decoder to read said codec. Tons of people are having no issues playing 720p .mkv files simply because the audio and video codecs in that particular file are supported by their player. The most frequent video codec in .mkv containers is H-264. Audio on the other is typically found in AC3 (as this supports full Dolby Digital surround sound) but can be found in many different codecs. So, if your .mkv video file has H-264 video and AC3 audio but your player does not support either (or both) of these.... then your options are to transcode the audio or video to a supported format (which can be done while maintaining the .mkv wrapper mind you) or find a player that supports the code in your original file. Now, be aware that if you transcode, this results in exponential data compression and thus loss of data. So, audio loses its fidelity and video loses its clarity. Think what happens to the quality of an orginal letter or document when you make a photocopy of a photocopy of photocopy. In order to avoid this you must create the encodings from an uncompressed wave form (directly from the DVD or BluRay) and then place those in wrapper (like .avi or .mkv etc). This is the process of ripping a DVD.
None of this is new. It has been the case LONG before the GT10.1 was released. The perceived problem is exacerbated by people thinking (at no fault of their own) that .mkv (Matroska video) is simply some magical file format that delivers movies in full HD goodness. Its like everything else in the audio/video world on computers, it is always a function of codecs and decoders. E.g. just because I can speak German does not mean you understand me simply because we are having a conversation. You must also understand German.
Sorry for the diatribe, just wanted to clear the air on where the issue lies here. I do think that VLC will be solution for most everyone out there not knowing how to or not willing to play around with encoding audio and video. I know how to do this and I don't even want to do it. VLC should offer support for the popular .mkv file components out there and (most of) our woes will be over. Lets just hope VLC drops there app sooner rather than later!
Sent from my GT-P7510 using Tapatalk
Please do a easy search on google or on xda on Tegra2 video or Tegra2 mkv. Or go to forums about Asus Transformer and Motorola Xoom and you will find answers on all your video questions.
Its a known issue that Tegra cannot handle "high profile" video in .mkv container. Thats way some people wanted Exynos instead of Tegra.
All most every x264 video you download is high profile and need to
Galaxy tab can handle 720/1080 without problem if the video is coded in the right way.
A great program for converting video is DVDCATALYST and use the XOOM preset setting.
Or you can use this easy program that just change the container and audio so kt can be played on Tegra devices
http://forum.xda-developers.com/showthread.php?t=1092965&highlight=video
Sent from my MZ604 using XDA Premium App
bd85 said:
Please do a easy search on google or on xda on Tegra2 video or Tegra2 mkv.
Its a known issue that Tegra can handle "high profile" video in .mkv container. Thats way some people wanted Exynos instead of Tegra.
Galaxy tab can handle 720/1080 without problem if the video have the right format.
A great program for converting video is DVDCATALYST and use the XOOM preset setting.
Sent from my MZ604 using XDA Premium App
Click to expand...
Click to collapse
First off, the GT10.1 can play HD mkv files, one is playing in the background as I am writing this. I will post some pictures and more info on the mkv file later.
second, like I said before, be aware that simply transcoding your audio and/or video to a different format results in exponential compression of the original wave form and thus data loss. If you are truly wanting to watch and listen to your movie in HD you must keep this in mind.
Sent from my GT-P7510 using Tapatalk
it'll play hd fine. you just have to follow the strict specs to make sure you have a playable file.
no ac3, no mkv container (you can transcode to .mp4 if it's not over high profile 3.1), and may struggle with multichannel audio if you're over SD resolution.
there are plenty of posts on how to transcode or reencode your files for playback on a tegra 2 device in the xoom and transformer forums.
RnFstRuckHrd said:
First off, the GT10.1 can play HD mkv files, one is playing in the background as I am writing this. I will post some pictures and more info on the mkv file later.
second, like I said before, be aware that simply transcoding your audio and/or video to a different format results in exponential compression of the original wave form and thus data loss. If you are truly wanting to watch and listen to your movie in HD you must keep this in mind.
Sent from my GT-P7510 using Tapatalk
Click to expand...
Click to collapse
Were in my previously post did i say that it wont play mkv?
The "problem" and that i was pointing at is that it cannot play mkv with "high profile". And 90% off all videos and series episodes that people download is just HP.
And HD is a wide word and can means many things for different users.
Is HD a video with bitrate ~4000kbps and resolution 1280*720? Or is it a video with bitrate ~30000kbps and 1280*720?
A video can have high resolution and still look really bad on screen and some videos have lower res and looks good.
Have had a Xoom for some months and i have found that DVDCATALYST is the easiest way to make your videos play fine on Tegra devices.
http://www.tools4movies.com/
Sent from my MZ604 using XDA Premium App
Like I mention before, there is no Tegra2 AC3 nvidia decoder/driver available.
I can see only AAC, DTS, MP3, WAV, WMA and WMA pro formats have some kind of hardware acceleration.
There is no way 3-party media player developers can write nvidia's hardware codecs ot its own, they just used them if available in corresponding media player (RockPlayer, VLC etc.)...
If hardware codec is not accessible then most of them use GPL software decoding libs.
So, I would not expect VLC or any other player can do any better then another one.
then how on earth does rockplayer manage to play AC3 sound when I choose Software decoding, but then the video is laggy. Switch to Hardware decoding and video is perfect, no sound....????
Really confused...
dudleygb said:
then how on earth does rockplayer manage to play AC3 sound when I choose Software decoding, but then the video is laggy. Switch to Hardware decoding and video is perfect, no sound....????
Really confused...
Click to expand...
Click to collapse
Because software decoding uses more resources and is not the ideal decoding solution (can be laggy). The software supports both the audio and video codecs, so they work.
The hardware doesn't support the audio codec, so no sound when in hardware mode.
That's why I love the Original Samsung Galaxy Tab 7. it has 720p/1080p high profile .mkv (no lag) playback, AC3, divx, xvid, .srt subtitle support. All with just a single core hummingbird SOC. (I just wish it were 10.1 inches)
I had high hopes for the Galaxy Tab 10.1, but Samsung didn't put as much effort into the movie player as they did with the 7.
Hopefully, now that Toshiba has issued a challenge with their new AT200 tablet, a Samsung Exynos tablet is just around the corner.
Not sure what people are confused about. MKV is dead, obsolete, and unsupported by current and all future devices. Stop using MKV and you wont have issues. No reason to be using MKV to begin with, no reason at all.
Ravynmagi said:
I've tried all kinds of video players. I just don't think Android 3.0.1 or 3.1 and Tegra 2 are capable of playing 720P MKV files.
Click to expand...
Click to collapse
Can you make me a favor and test this 720p MKV sample I made, in all mkv supported players?
I just want to know if you have any lag or audio issues, thanks.
Code:
General
Unique ID : 252531305559327787326636083115925852923 (0xBDFBC2A4CD848FEAB63D58675A9A52FB)
Format : Matroska
Format version : Version 2
File size : 36.7 MiB
Duration : 1mn 49s
Overall bit rate : 2 826 Kbps
Encoded date : UTC 2011-09-02 17:28:55
Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
Writing library : libebml v1.2.1 + libmatroska v1.1.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 49s
Width : 1 280 pixels
Height : 528 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=0 / ref=3 / deblock=1:-1:-1 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=2500 / vbv_bufsize=2500 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 1mn 49s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : English
Use dice player and be happy. It will handle most of the videos and audio without any issues. There's a thread in the app and theme section. You will dind most of ur questions answered.
Sent from my SAMSUNG-SGH-I897 using xda premium
Hi guys,
I want to start a topic about the video playback with the HW decoder of our eee pad.
first, this link from Motorola can help about the compatibility of the device.
(its for xoom I know but anyway it's the same processor)
I test a 1080p video yet but here is my test a video:
Resolution : 1920x800 (was the resolution of my video source)
Video Format : H.264
Video bitrate 6500kbps (didn't go higher because of my video source) tested with 8000kbps and still stable
Profil : Baseline (*IMPORTANT*) main or high will not work
CABAC enabled
Deblocking enabled
B-Frame : 2
Audio
LC-AAC with 160kbps bitrate
*HW is only available for stereo sound* BUT if you use a hdmi cable and want a full surround, you can put 5.1 under sound section (with mediacoder) when you will convert, doing this, the main video player of the table will NOT work. You will have to use MX video player (free in the market) AND when the video will start, click on the "music note" in the middle left and select S/W Decoder.
So the video will be decoded by the HW and audio decoded by SW. video is fluid and it work but can't guarantee if it is stable because I only test it one minute.
****Also, the container must be a .mp4 file!****
here is my preset for people who use Mediacoder
link
I use CUDA for the encoder but you absolutely need a compatible nvidia graphic card. Otherwise, check Auto.
I will try to push the tablet to its HW limit with other test. I'll keep this post updated.
Thanks
MediaCoder is free, you can download it from this link
*If other people have tried other method, fell free to share!*