Log in

View Full Version : Problem with x264 vide,I need help


Romario
3rd March 2010, 18:34
Hi guys,I need your help.

I encodec video,today,with Avidemux 2.52 rev. 5955 with x264 rev 1371...and I have one BIG problem.

As you can see from file below, I used very detailed settings, but I have big problem with file, because ffdshow rev. 3281 can't decode my x264 clip very well.

Look into my file for clarification of my settings I used for encoding from MPEG2 source.

Thanks in advanse.


#options: 544x432 fps=2997/100 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=9 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=64 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 mbaff=0 constrained_intra=1 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 wpredb=1 wpredp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=400 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00

Above is settings I was used from Avidemux, in MKV container.


Please,download file and my settings from http://www.megaupload.com/?d=ARXVPSBN


I can't upload a source file for now

Atak_Snajpera
3rd March 2010, 19:56
because ffdshow rev. 3281 can't decode my x264 clip very well.
we all love very detailed informations like this...

Please,download file and my settings from http://www.megaupload.com/?d=ARXVPSBN
have you heard about www.mediafire.com

Atak_Snajpera
3rd March 2010, 20:37
Probably source file is corrupted

Romario
3rd March 2010, 20:37
Yes,but I most like megaupload :) Did you see the problem, Atak_Snajpera, in my encoded file ?

No,no,everything is just fine with source file,believe me. I can play it very well.

Atak_Snajpera
3rd March 2010, 20:41
Why don't you just upload source then???

Romario
3rd March 2010, 20:55
Ok,but it will take some time,in that case. Meanwhile,tell me your opinion about my problem,can you play my clip with ffdshow without problems ?

Be detail,please.

And I will upload the source,but you should wait a one or two hours.

Atak_Snajpera
3rd March 2010, 20:56
send me source and then we can talk

poisondeathray
3rd March 2010, 20:58
Can't download it

"The file you are trying to access is temporarily unavailable"

Romario
3rd March 2010, 21:11
Try again,I just downloaded it without any problems.

Atak_Snajpera,don't worry,I will upload the source.

poisondeathray
3rd March 2010, 21:14
^Yes it worked this time

It looks all pixellated in sections.

FFDShow has more artifacts decoding than Divx H.264 decoder, but still big problems

Did you do anything else in avidemux (e.g. filters, deinterlace, resize etc..)

We need to look at the source

Romario
3rd March 2010, 21:48
Well,look resolution of my clip, I resize the video with Avidemux resizer(MPlayer resizer).

I hav't applied filters.Source is progressive,so I wasn't using deinterlace.

multimediaman
4th March 2010, 00:57
decoding:

MPlayer SVN-r30531-4.4.1 (C) 2000-2010 MPlayer Team
141 audio & 326 video codecs

ID_VIDEO_ID=0
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=und
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 544x432 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=bla.mkv
ID_DEMUXER=mkv
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=544
ID_VIDEO_HEIGHT=432
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=55.76
ID_SEEKABLE=1
ID_CHAPTERS=0
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Couldn't open video filter 'ass'.
ASS: cannot add video filter
Opening video filter: [screenshot]
[ass] Init
[ass] Updating font cache
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=faad
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
[h264 @ 0xd954a0]Cannot parallelize deblocking type 1, decoding such frames in sequential order
Movie-Aspect is 1.34:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3432
[swscaler @ 0xe7fa60]Lanczos scaler, from yuv420p to rgb24 using MMX2
VO: [gl] 544x432 => 580x432 Planar YV12
X11 error: BadMatch (invalid parameter attributes)
ID_VIDEO_TRACK=1
ID_AUDIO_TRACK=0
[h264 @ 0xd954a0]top block unavailable for requested intra4x4 mode -1 at 33 23
[h264 @ 0xd954a0]error while decoding MB 33 23, bytestream (429)
[h264 @ 0xd954a0]concealing 152 DC, 152 AC, 152 MV errors
[h264 @ 0xd954a0]top block unavailable for requested intra4x4 mode -1 at 33 3
[h264 @ 0xd954a0]error while decoding MB 33 3, bytestream (3040)
[h264 @ 0xd954a0]concealing 832 DC, 832 AC, 832 MV errors
[h264 @ 0xd954a0]left block unavailable for requested intra4x4 mode -1 at 32 3
[h264 @ 0xd954a0]error while decoding MB 32 3, bytestream (3829)
[h264 @ 0xd954a0]concealing 833 DC, 833 AC, 833 MV errors
[h264 @ 0xd954a0]left block unavailable for requested intra4x4 mode -1 at 32 3
[h264 @ 0xd954a0]error while decoding MB 32 3, bytestream (3548)
[h264 @ 0xd954a0]concealing 833 DC, 833 AC, 833 MV errors
[h264 @ 0xd954a0]top block unavailable for requested intra mode at 23 11
[h264 @ 0xd954a0]error while decoding MB 23 11, bytestream (3763)
[h264 @ 0xd954a0]concealing 570 DC, 570 AC, 570 MV errors
[h264 @ 0xd954a0]top block unavailable for requested intra4x4 mode -1 at 3 4
[h264 @ 0xd954a0]error while decoding MB 3 4, bytestream (4441)
[h264 @ 0xd954a0]concealing 828 DC, 828 AC, 828 MV errors
[h264 @ 0xd954a0]top block unavailable for requested intra4x4 mode -1 at 15 17
[h264 @ 0xd954a0]error while decoding MB 15 17, bytestream (1119)
[h264 @ 0xd954a0]concealing 374 DC, 374 AC, 374 MV errors
[h264 @ 0xd954a0]top block unavailable for requested intra4x4 mode -1 at 25 7

===== PAUSE =====
ID_PAUSED

Romario
4th March 2010, 01:23
multimediaman,please tell me your personal opininion about encodec clip,I don't understand all this numbers.

For all, here is source MPEG2 clip: http://www.mediafire.com/?3zwmj2xr20m

poisondeathray
4th March 2010, 19:37
I tried with your settings, Avidemux 2.52 rev. 5955 , only difference was merange16, and it worked fine with ffdshow (well there were some jerks in the source), but no pixellation

The version I used was from here
http://avidemux.razorbyte.com.au/

Try encoding it again

Atak_Snajpera
4th March 2010, 23:29
no problems in ripbot either
http://www.mediafire.com/file/m2zjdztbhqu/Program2.mkv

Romario
6th March 2010, 22:28
Thanks guys,but I not get it, why ffdshow can't properly decode with my settings ?

What about CoreAVC,maybe he can decode my x264 clip without problems? Did anybody tried that ?

Thanks in advance.

Atak_Snajpera
6th March 2010, 22:41
did you try new ffdshow versions?

nm
7th March 2010, 00:35
Thanks guys,but I not get it, why ffdshow can't properly decode with my settings ?

Your x264 encode is certainly broken at bitstream level, so the problem has occurred during encoding. It could be hardware-related (overheating, memory corruption), for example. Try encoding with x264 CLI instead of Avidemux.

Romario
7th March 2010, 05:24
Thanks for advice,I will try,first,to encode once again with Avidemux.And,if clip isn't better,then I will try with x264 CLI.

Can somebody explan me this motion vector....I not get it completely.Why it's good or not good for motion vector to be on value 64, instead of default value 16 ?

J_Darnley
7th March 2010, 11:09
Do you mean me-range? The motion estimation range?

"Not good" because it is slooooooow and provides almost no benefit.
"Good" because there is a small chance it might find a better motion vector.

Only the veryslow and placebo presets changes me-range and then they only use 24. I don't see other very slow options being used so using 64 seems very excessive.

Romario
21st March 2010, 17:39
Yes,I mean on me-range,you are right. :)