Jump to content

How to convert HD video to play back on Vega


Guest nigelpwilson

Recommended Posts

Ok, it looks like the main profile support is pretty weak right now, but the following ffmpeg command-line produces playable 1080p results using the baseline profile.

ffmpeg -i INPUT_FILE -vcodec libx264 -vpre slow -vpre baseline -crf 20 -b 5000k -threads 0 -acodec libfaac -ab 128k -profile aac_low OUTPUT_FILE.mp4

Hi. Thanks for this. Did you try 720 or 1080 main? 720 is supposed to be capable of main...

Link to comment
Share on other sites

Guest nigelpwilson
I've just converted a 720p MKV file to an MP4 that fits the Vegas screen using 1024x576 as the resolution, with the AVS Video Converter:

It started like this:

Video

ID							   : 1

Format						   : AVC

Format/Info					  : Advanced Video Codec

Format profile				   : [email protected]

Format settings, CABAC		   : Yes

Format settings, ReFrames		: 8 frames

Muxing mode					  : Container [email protected]

Codec ID						 : V_MPEG4/ISO/AVC

Duration						 : 4mn 44s

Bit rate						 : 4 000 Kbps

Width							: 1 280 pixels

Height						   : 720 pixels

Display aspect ratio			 : 16:9

Frame rate					   : 23.976 fps

Color space					  : YUV

Chroma subsampling			   : 4:2:0

Bit depth						: 8 bits

Scan type						: Progressive

Bits/(Pixel*Frame)			   : 0.181

Stream size					  : 132 MiB (84%)

Writing library				  : x264 core 56 svn-680

Encoding settings				: cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=4000 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30

Language						 : English


Audio

ID							   : 2

Format						   : AC-3

Format/Info					  : Audio Coding 3

Mode extension				   : CM (complete main)

Codec ID						 : A_AC3

Duration						 : 4mn 44s

Bit rate mode					: Constant

Bit rate						 : 640 Kbps

Channel(s)					   : 6 channels

Channel positions				: Front: L C R, Side: L R, LFE

Sampling rate					: 48.0 KHz

Bit depth						: 16 bits

Stream size					  : 21.7 MiB (14%)
and ended like this:
Video

ID							   : 1

Format						   : AVC

Format/Info					  : Advanced Video Codec

Format profile				   : [email protected]

Format settings, CABAC		   : Yes

Format settings, ReFrames		: 1 frame

Codec ID						 : avc1

Codec ID/Info					: Advanced Video Coding

Duration						 : 4mn 44s

Bit rate mode					: Variable

Bit rate						 : 2 647 Kbps

Width							: 1 024 pixels

Height						   : 576 pixels

Display aspect ratio			 : 16:9

Frame rate mode				  : Constant

Frame rate					   : 23.976 fps

Color space					  : YUV

Chroma subsampling			   : 4:2:0

Bit depth						: 8 bits

Scan type						: Progressive

Bits/(Pixel*Frame)			   : 0.187

Stream size					  : 89.6 MiB (93%)

Language						 : English

Encoded date					 : UTC 2010-12-10 18:59:15

Tagged date					  : UTC 2010-12-10 18:59:15


Audio

ID							   : 2

Format						   : AAC

Format/Info					  : Advanced Audio Codec

Format version				   : Version 4

Format profile				   : LC

Format settings, SBR			 : No

Codec ID						 : 40

Duration						 : 4mn 44s

Bit rate mode					: Constant

Bit rate						 : 192 Kbps

Channel(s)					   : 2 channels

Channel positions				: Front: L R

Sampling rate					: 48.0 KHz

Stream size					  : 6.40 MiB (7%)

Language						 : English

Encoded date					 : UTC 2010-12-10 18:59:15

Tagged date					  : UTC 2010-12-10 18:59:15

It looks great and plays perfectly with the stock player.

Hi,

This sounds like just what I'm looking for, but where do I enter these settings ? I can't see anything to change Format Profile to Main etc ? Clicked on Advanced and get options for Video Codec, Frame size, Bitrate etc

Link to comment
Share on other sites

I am using Prism Video File Converter Plus (free download to PC)

just convert to .mov set average and max bitrate to max.

enjoy HD movies with super good quality + sound + no lip sync issues YAY

Link to comment
Share on other sites

Guest removed-14
I am using Prism Video File Converter Plus (free download to PC)

just convert to .mov set average and max bitrate to max.

enjoy HD movies with super good quality + sound + no lip sync issues YAY

Interesting, ill have to give this a try tomorrow.

Link to comment
Share on other sites

Guest SilentMobius
Hi. Thanks for this. Did you try 720 or 1080 main? 720 is supposed to be capable of main...

Tegra2 is supposed to be able to handle High on 720p and Main on 1080p but the Vega currently isn't up to that. We need to wait until we have the kernel source and see if we can pull in more recent versions of the nvidia libs. For the time being I'm going to stick with baseline, should I need HD video.

Link to comment
Share on other sites

Tegra2 is supposed to be able to handle High on 720p and Main on 1080p but the Vega currently isn't up to that.

OK.. Thanks. I guess we're waiting for some software updates then :)

Link to comment
Share on other sites

Hi managed to get 720p and 1080p video playing from Handbreak but no 5.1 audio only stereo whatever I try.

Edit to add: I am assuming the vega can pass the raw audio through HDMI.

Edited by remlap
Link to comment
Share on other sites

Guest Pyr0x64
I am using Prism Video File Converter Plus (free download to PC)

just convert to .mov set average and max bitrate to max.

enjoy HD movies with super good quality + sound + no lip sync issues YAY

just tried it on a 720p mkv.

first attempt gave me an mov file with no sound. i'm guessing that prism converter doesn't like dts soundtracks

i extracted the audio and video tracks from the mkv using mkvextract, converted the dts to ac3 with eac3to and remuxed to an mp4 with mp4box

the mp4 still stuttered and lagged on the vega

i ran the new mp4 through prism and it gave me:

General

Complete name					: H:\test.mov

Format						   : MPEG-4

Format profile				   : QuickTime

Codec ID						 : qt  

File size						: 2.71 GiB

Duration						 : 1h 44mn

Overall bit rate				 : 3 725 Kbps

Writing application			  : Lavf52.71.0


Video

ID							   : 1

Format						   : MPEG-4 Visual

Format profile				   : Simple@L1

Format settings, BVOP			: No

Format settings, QPel			: No

Format settings, GMC			 : No warppoints

Format settings, Matrix		  : Default (H.263)

Codec ID						 : 20

Duration						 : 1h 44mn

Bit rate mode					: Variable

Bit rate						 : 3 593 Kbps

Width							: 1 280 pixels

Height						   : 534 pixels

Display aspect ratio			 : 2.35:1

Frame rate mode				  : Constant

Frame rate					   : 23.976 fps

Color space					  : YUV

Chroma subsampling			   : 4:2:0

Bit depth						: 8 bits

Scan type						: Progressive

Bits/(Pixel*Frame)			   : 0.219

Stream size					  : 2.61 GiB (96%)

Writing library				  : Lavc52.78.0

Language						 : English


Audio

ID							   : 2

Format						   : AAC

Format/Info					  : Advanced Audio Codec

Format version				   : Version 4

Format profile				   : LC

Codec ID						 : 40

Duration						 : 1h 44mn

Bit rate mode					: Constant

Bit rate						 : 128 Kbps

Channel(s)					   : 2 channels

Channel positions				: Front: L R

Sampling rate					: 48.0 KHz

Stream size					  : 95.2 MiB (3%)

Language						 : English

copied the file to the vega and it plays well, no stutter, no lag :)

although the application is very simple to use, my only complaint would be that it uses just one core of my cpu

Link to comment
Share on other sites

Guest warriorscot
Try rockplayer for playback as I've found files where audio doesn't work in the standard player often work in rockplayer.
Massive problems with keeping audio in sync when it is running the software mode necessary to play the audio streams the vega cant handle.
Link to comment
Share on other sites

Guest Pyr0x64
Try rockplayer for playback as I've found files where audio doesn't work in the standard player often work in rockplayer.

heh, yeah I have rockplayer, I've been telling others to try it for AVI's with ac3 audio

The problem wasn't on the Vega tho, I tried the files before transferring them to the device. Prism converter just didn't convert DTS to AAC properly.

Link to comment
Share on other sites

Guest removed-14
Massive problems with keeping audio in sync when it is running the software mode necessary to play the audio streams the vega cant handle.

The only audio sync problems ive had have been through encoding. Ive found that if it playsback on my pc ok then it looks and plays the same on my vega.

Link to comment
Share on other sites

Guest warriorscot

It depends really on the quality of the video file anything with high bitrate video and AC3 sound is massively out of sync. Sync problems in rockplayer are pretty across the board from what I have read from the developers forums so its not a vega exclusive thing.

Honestly I think its just a case of converting when neccesary and waiting for google and nvidia to fix the multimedia problems.

Link to comment
Share on other sites

Guest ricwales1
It depends really on the quality of the video file anything with high bitrate video and AC3 sound is massively out of sync. Sync problems in rockplayer are pretty across the board from what I have read from the developers forums so its not a vega exclusive thing.

Honestly I think its just a case of converting when neccesary and waiting for google and nvidia to fix the multimedia problems.

You would be right which I why I linked to the following which sheds some light on to the android platform and the lack of video handling within android its self.

http://forum.corecodec.com/viewtopic.php?f...bd7b24d66c4aff7

Link to comment
Share on other sites

Guest warriorscot

I read through some of that last week when I was researching the problem. Its an interesting read and I hope corecodec makes it out with something as soon as they have promised. However they are in for a rough go of it with google planning on making some major over hauls they are going to have to work hard to adapt what they already have to the upgraded framework. Personally I would have went with an outside solution and circumvented those problems but I get the integration argument over the long haul.

Link to comment
Share on other sites

I'm confused... The stock player should handle video better than any other player as it should use the hardware acceleration. As far as I'm aware, NO player other than stock makes use of hardware acceleration. The conclusion? Anyone who expects a 3rd party player to paly any HD content is probably deluding themselves... It's likely to remain a sideline for the next few releases...

Link to comment
Share on other sites

Guest Qwertymon

1024x600, at 25 to 30 fps, thats what ive done for most my files anyways and it works fine. I assume your using rockplayer? (I wish it was hardware accelerated, the tegra doesnt seem to be supported).

Rockplayer handles video way better then the stock player.

Link to comment
Share on other sites

Define "handle video better"... TBH, I haven't done much with video playing yet. I have a few media players and laptops throughout the house capable of playing full HD so it's a little redundant here (if it streamed, it might be a different priority for me). I also work from home, so there is no commute to worry about.

My feeling is that if you have to convert to play on the device, you might as well convert to one that is supported by the hardware. It's probably more efficient battery wise too...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.