Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th July 2010, 04:12   #1  |  Link
mpiper
Registered User
 
Join Date: Jan 2005
Posts: 90
switching profiles in h.264 videos

I batch converted a large number of videos into h.264 mp4 format for my HTC EVO phone. Unfortunately, I didn't realize the profile was set to MAIN, instead of BASE, which the EVO requires.

ALL other options were set correctly, and at settings that I have already tested as compliant with the phone. But with the MAIN profile, the phone won't play them. I just get a black screen and can listen to the audio.

Is there a way to switch the profiles afterwards, like editing a header or something? I really don't want to spend the days it took doing this again.

Help? Anyone??

Mike

Thanks in advance for any advice or suggestions.
mpiper is offline   Reply With Quote
Old 18th July 2010, 18:05   #2  |  Link
fields_g
x264... Brilliant!
 
Join Date: Mar 2005
Location: Rockville, MD
Posts: 167
When main profile was selected, it allowed main profile options to be used, specifically CABAC and B-frames. Are you sure those were not enabled? If they were disabled it seems that the phone is not even trying because of the main profile flag. I do not know how to change this (maybe someone else does). If CABAC or B-frames were enabled, well... most likely no one will be able to help you. You will need to re-encode.
fields_g is offline   Reply With Quote
Old 18th July 2010, 20:14   #3  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by fields_g View Post
When main profile was selected, it allowed main profile options to be used, specifically CABAC and B-frames. Are you sure those were not enabled? If they were disabled it seems that the phone is not even trying because of the main profile flag.
x264 will not enable the "main profile flag" unless a main profile feature is actually used.
Dark Shikari is offline   Reply With Quote
Old 18th July 2010, 21:34   #4  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
What if you tell it to (--profile main; even if none of the features are used)?
nurbs is offline   Reply With Quote
Old 18th July 2010, 21:41   #5  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by nurbs View Post
What if you tell it to (--profile main; even if none of the features are used)?
Not much will happen, as "--profile main" only makes sure that no "High" (or above) profile features are enabled

Code:
int x264_param_apply_profile( x264_param_t *param, const char *profile )
{
  [...]  

  else if( !strcasecmp( profile, "main" ) )
  {
    param->analyse.b_transform_8x8 = 0;
    param->i_cqm_preset = X264_CQM_FLAT;
  }
  [...]
}
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.