Log in

View Full Version : Big Problem with encoding H264-stream (MeGui)


N1KLAS
1st October 2008, 21:13
Hi everyone :)

i've got the following problem:
I have a movie here that isn't playable on my Blu-ray Player "Panasonic DMP BD30" (software v.1.7) after muxing the video using tsMuxer. And this is the only one which doesn't work.
Usually, every video I mux does work, the Panasonic DMP BD30 is a really good player that almost plays every video.

Well, but the thing which I don't understand is, when I encode the video using DGAVCDec+AviSynth+MeGui and the preset "x264: Standalone-Blu-ray", it doesn't work either ---(black screen, information of 'reading operation' - but nothing happens) :confused:
I think this is very strange. - I also encoded a video (same preset) which worked, the only differenece, this video did work before encoding, as well. But I think this aspect isn't really relevant because after encoding every setting is changed - equal how it was before :confused:

here are the MediaInfo numbers of the video how it was before encoding:
Allgemein
Vollständiger Name : D:\RS-Downloads\The Descent.mkv
Format : Matroska
Dateigröße : 4.45 GiB
Duration : 1h 39min
Gesamte Bitrate : 6384 Kbps
Film : NAME-OF-THE-MOVIE
Kodierungsdatum : UTC 2008-09-15 17:13:15
Verwendetes Programm : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
verwendete Encoder-Bibliothek : libebml v0.7.7 + libmatroska v0.8.1

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L5.1
Format settings, CABAC : Ja
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 39min
Bitrate : 5355 Kbps
Nominal bit rate : 5626 Kbps
Breite : 1280 Pixel
Höhe : 544 Pixel
Bildseitenverhältnis : 2.35
Bildwiederholungsrate : 23.976 FPS
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.337
Titel : NAME.OF.THE.MOVIE
verwendete Encoder-Bibliothek : x264 core 54 svn-654
Kodierungseinstellungen : cabac=1 / ref=5 / deblock=1:-2:-2 / analyse=0x1:0 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=2 / 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=5626 / 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
Sprache : Deutsch

Audio
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 39min
Bitrate : 768 Kbps
Kanäle : 6 Kanäle
Channel positions : Front: L C R, Surround: L R, LFE
Samplingrate : 48.0 KHz
Auflösung : 24 bits
Titel : German (Dts)
Sprache : Deutsch

And here are the information of the encoded .264-stream:

Allgemein
Vollständiger Name : D:\RAW-Streams MOVIE\NAME-OF-The-MOVIE_Track1.264
Format : AVC
Format/Info : Advanced Video Codec
Dateigröße : 5.58 GiB

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Ja
Format settings, ReFrames : 3 frames
Bitrate : 8000 Kbps
Nominal bit rate : 8000 Kbps
Breite : 1280 Pixel
Höhe : 544 Pixel
Bildseitenverhältnis : 2.35
Bildwiederholungsrate : 23.976 FPS
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.479
verwendete Encoder-Bibliothek : x264 core 64 r994M b35a044
Kodierungseinstellungen : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=6 / psy_rd=1.0:0.0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=24 / keyint_min=2 / scenecut=40(pre) / rc=2pass / bitrate=8000 / ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=40000 / vbv_bufsize=40000 / ip_ratio=1.10 / pb_ratio=1.10 / aq=1:1.00

Atak_Snajpera
1st October 2008, 21:19
You should use 1280x720 instead of 1280x544.

poisondeathray
1st October 2008, 21:19
You need regular frame size: ie. 1280x720

AddBorders() if you want to keep the aspect ratio

EDIT: nice Atak with the speedy hand :)

Rodger
1st October 2008, 21:35
By the way...some informations about the PANASONIC DMP-BD30!
I have the comparison to a SAMSUNG BD-P1400.
(Firmwares: Panasonic 1.7 / Samsung V1.6)

The Panasonic just KILLS the Samsung in any competition but one.
The compatibility to videostreams! Over and over again I tested DVD-Rs that worked like a charm with my "old" Samsung that just won´t play on the Panasonic! And no it wasn´t a "that day" thing.
I retestet the same discs few weeks later!

The Panasonic works niiiiice! ;) But doesn´t play EVERYTHING!

As for your problem...only standard resolutions are allowed!
1920x1080
1280x720
720x576
Cropped videos are ONLY PLAYABLE on PC!!!

It was somehow said before but I wanted to point it out!

N1KLAS
1st October 2008, 21:38
You should use 1280x720 instead of 1280x544.

hi,

ok, but if i change the resolution from 1280x544p to 1280x720p, the picture will deform ?!??

Atak_Snajpera
1st October 2008, 21:48
http://forum.doom9.org/showthread.php?p=1190467#post1190467

1920x1080
1280x720
720x576
you forgot 720x480

Rodger
1st October 2008, 21:48
NO!!!

You just use as already advised the "AddBorders" Function of AVIsynth.

Just Add the following to your avs script:
AddBorders(0, 88,0,88)
But these figures are not ALWAYS correct.
The thing is to fill up the picture to the standard resolution with the black borders. This time its (720-544)/2.
It´s no hard maths...even I can do it :p
Also see you may need to change the aspect ratio.

You may read up the usage of that filter to learn more about it.

@Atak_Snajpera
Not really...he´s German just like me...I just reduced the information to all needed ;)
We´re PAL kids :p

N1KLAS
1st October 2008, 22:06
NO!!!

You just use as already advised the "AddBorders" Function of AVIsynth.

Just Add the following to your avs script:

But these figures are not ALWAYS correct.
The thing is to fill up the picture to the standard resolution with the black borders. This time its (720-544)/2.
It´s no hard maths...even I can do it :p
Also see you may need to change the aspect ratio.

You may read up the usage of that filter to learn more about it.

Hi, thanks for the information :)

As I just wrote this avs-script:LoadPlugin("D:\Programme\DGAVCDec\DGAVCDecode.dll")
AVCSource("The Descent_Track1.dga") an opened it in MeGui I don't know where to change the setting "AddBorders(0, 88,0,88)"
Is there an option in MeGui ?
Or can I just add it in "Custom Command Line" after '--mvrange 511 --aud --nal-hrd --sar 1:1' in the category "Advenced" in the MeGui config ?

Atak_Snajpera
1st October 2008, 22:22
Add this AddBorders(0, 88,0,88) to your script. verstehen :)

N1KLAS
1st October 2008, 22:25
Add this AddBorders(0, 88,0,88) to your script. verstehen :)

ahh:), just below "AVCSource("The Descent_Track1.dga")"

... einfach unterhalb von AVCSource("The Descent_Track1.dga")"
;)


Thanks Thanks, works really :)
I didn't know that it's so easy^^

N1KLAS
2nd October 2008, 00:50
hi, one more question just to be sure... ;)
There isn't a possibility to add the borders without encoding, is it..?

nm
2nd October 2008, 06:56
hi, one more question just to be sure... ;)
There isn't a possibility to add the borders without encoding, is it..?
Nope.

brogan
13th October 2008, 15:34
Is there the possibility to use the AddBorders in a program like, say RipBot? I love using that program but I'm having some difficulty w/a 1920x808 .mkv that I'm trying to make 1920x1080...it looks all stretched...Avisynth is like a foreign language to me that I have a lot of trouble grasping...I've pulled the sound from the DVD (I'm using a HDTV OAR rip but also own the DVD so I got the higher bitrate sound) but can't get the video correct...

kemuri-_9
13th October 2008, 21:31
There's very in depth and detailed documentation to avisynth's built in functions for a reason... (AddBorders() being one of them)
if you would take the time to read the documentation it won't blow your mind.

Comatose
14th October 2008, 08:12
I'm surprised nobody's in this thread with the lockhammer yet o_o

Audionut
14th October 2008, 13:42
Vollständiger Name : D:\RS-Downloads\The Descent.mkv

I'm surprised nobody's in this thread with the lockhammer yet o_o


Indeed.

Guest
14th October 2008, 14:54
The hammer has arrived.