Log in

View Full Version : MeGUI: YouTube profile?


TECK
20th May 2012, 03:09
I was wondering if you could suggest the proper settings for a YouTube profile in MeGUI.

I created a video using CamStudio and Lagarith loseless codec.
I used MeGUI to re-encode the huge .avi file to .mp4 with x264 and the video looks great.

However, when I upload it to YouTube I get a warning telling me that the video format is not compatible and they will try to readjust it in order to be view-able.

Original .avi video:
Video
ID : 0
Format : Lagarith
Codec ID : LAGS
Duration : 13s 700ms
Bit rate : 26.9 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.432
Stream size : 43.9 MiB (100%)

Final .mp4 file:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 13s 777ms
Bit rate : 1 547 Kbps
Nominal bit rate : 5 195 Kbps
Maximum bit rate : 4 400 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 9.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.187
Stream size : 2.54 MiB (100%)
Title : Video
Writing library : x264 core 124 r2197 69a0443
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=90 / keyint_min=9 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5195 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-05-20 02:19:36
Tagged date : UTC 2012-05-20 02:19:36

Also, I don't understand why the FPS is now 9. Settings used in x264:
program --level 4.1 --pass 2 --bitrate 5195 --stats ".stats" --output "output" "input"

Thanks for your help.

Atak_Snajpera
20th May 2012, 09:20
does the same happen after encoding in ripbot?

Zathor
20th May 2012, 11:02
Also, I don't understand why the FPS is now 9.
Please post the full conversion log.

TECK
20th May 2012, 19:30
Please post the full conversion log.
I uploaded (http://www.mediafire.com/?yp2h3xl8pk7okx3) the original .avi file, MeGUI 1080p/720p conversions and log files.
The FPS changes randomly, in this test is now 7.

does the same happen after encoding in ripbot?
Feel free to try it using the linked files, I don't use Ripbot.

Bloax
20th May 2012, 20:32
I'm afraid that Youtube recodes EVERYTHING. So yeah, my only advice is to either try and squeeze as much quality out as you can accept your upload to take. (Holy schnuks that's a weird formulation.)
Or just accept the fact that your video will look like garbage after Youtube's magic flash codec's greasy fingers will molest your video.

TECK
20th May 2012, 20:40
Thanks Bolax. What I'm puzzled is why FPS is dropping to 7 or 9 when encoding a lossless video?
I'm running the latest MeGUI dev release. Is that the normal behavior? My goal is to make the run on 23.976 FPS. Unfortunately, the closest CamStudio can do is 24 FPS or 30 FPS. I've chosen 30 FPS because I think this is the value most videocams record? I did a test with 60 FPS and MeGUI still drops it to 7.

Suggestions?

These are the settings I use in Lagarith:

http://farm9.staticflickr.com/8017/7236074246_8f98630e7a_o.png

http://farm8.staticflickr.com/7105/7236074182_3891afe2e3_o.png

Atak_Snajpera
20th May 2012, 20:57
will try tomorrow

Zathor
20th May 2012, 22:23
I had not much time to look into it, but you can either
- use the new OneClick mode (http://forum.doom9.org/showthread.php?t=163399)
- or open the file in the AviSynth Script Creator, choose AviSource(), save and encode the avs file

Both results for me in a 30 fps video file.

TECK
20th May 2012, 22:36
The FPS is maintained to 30, with AviSynth Script Creator:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 25s 733ms
Bit rate : 2 207 Kbps
Nominal bit rate : 5 195 Kbps
Maximum bit rate : 11.5 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.035
Stream size : 6.77 MiB (100%)
Writing library : x264 core 124 r2197 69a0443
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5195 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-05-20 21:29:51
Tagged date : UTC 2012-05-20 21:30:00

With OneClick, it drops to 7:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 25s 832ms
Bit rate : 2 084 Kbps
Nominal bit rate : 5 195 Kbps
Maximum bit rate : 9 856 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 7.587 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.132
Stream size : 6.42 MiB (100%)
Writing library : x264 core 124 r2197 69a0443
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=76 / keyint_min=7 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5195 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-05-20 21:34:24
Tagged date : UTC 2012-05-20 21:34:33

Did I missed an option? Also, how can I set the proper time for Encoded date? Right now is set into future. :)

Zathor
21st May 2012, 21:18
Also, how can I set the proper time for Encoded date? Right now is set into future. :)
The date/time is in the UTC format which may be - depending on your time zone - up to 12 hours in the future or past:
http://en.wikipedia.org/wiki/UTC

StainlessS
27th May 2012, 17:43
Thanks Bolax.

Damn that was funny. :D

Adub
29th May 2012, 05:36
I know for a fact that Camstudio likes to shove in a bunch of duplicate frames while you are recording, especially since that is the nature of screen recording (lots of duplicate frames when the mouse doesn't move).

Forcing the fps to 30 in the Avisynth Script should fix your issue.

In fact, you can see the differences in the script between Avisynth Script Creator and OneClick and I'm sure you will see some form of FPS adjustment/labeling in the former.