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 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th November 2012, 09:35   #1161  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
I suspect this refers to the analyzing Method in Hybrid.

Quote:
Does hybrid do any of the above?
Definitely not! Like manono, I agree with the statement: "Nothing beats your eyes for analyzing video."
Can't really tell if the analyze method Hybrid uses is anything like Handbrake, since I never looked at the method Handbrake uses.
If your material is screwed up one or the other way the analyzer can't show you magically how to properly handle your material.
(if you need to use restore24, some deblending or whatever,..)

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th November 2012, 19:21   #1162  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
Thought so.... As was mention in my other thread... "nothing can tell better than doing it by eye". Wich is what I was doing, just wondered if there were a better way.

Currently looking at the avi synth filtering options. Is there a way to 'split a frame down the middle" (vertically). Or have an option in "filter preview" & "avi synth preview" to toggle between that & separate frames side by side (as current) ... It may give a better representation of the before/after if it's possible?

Cheers.

Sent from my Galaxy S II using tapatalk

Last edited by DJ-1; 30th November 2012 at 19:23.
DJ-1 is offline   Reply With Quote
Old 30th November 2012, 20:19   #1163  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
'split a frame down the middle" (vertically).
isn't this just cropping it to half it's width?

Quote:
Or have an option in "filter preview" & "avi synth preview" to toggle between that & separate frames side by side (as current) ... It may give a better representation of the before/after if it's possible?
I think it's possible for both, but not so funny to implement, may be I find some time to look at it on sunday,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th November 2012, 22:00   #1164  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
Ok cool... Am getting a few avs preview Exe errors... ( currently on 2.5.8 32bit).
Is avisynth 2.6 Mt (64bit) ok with hybrid?
Cheers
DJ-1 is offline   Reply With Quote
Old 30th November 2012, 22:11   #1165  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
I got no clue what you are doing.
a. are you using an Avisynth script as input? (better try avisynth 2.6 - haven't used 2.58 for quite some time,... if you use 64bit make sure you use the 64bit avsInfo)
b. are you using the Avisynth extension? (than it normally uses it own 32bit Avisynth MT and will not work with the 64bit version, so don't exchange it!)
c. don't combine AvisynthInput and the Avisynth extension,...
d. I strongly advice not to use Avisynth 64bit (no matter if it's 2.5x or 2.6 with or without MT), from my point of view Avisynth 64bit isn't stable enough to use.
other than that: can't help if you don't provide useful infos,..

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th December 2012, 15:50   #1166  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
Hi selur,
I'm trying to encode an interlaced black&white film from back 1952.
I loaded the source, analysed it and hybrid said it's interlaced. I assumed it's TFF, and as deinterlacer I selected mcdeint, yadif=1, order=1, quantizer=10, framestep=2.
I did not understand the Framestep parameter. I guess that the deinterlacer separates fields, and then discards some fields to keep framerate. As I'm with 25fps, I selected to keep 1 field every 2 (... right?).
It's cropped to 696x568, and detected as 16x15 input PAR.

I submitted the job, but it crashed at the beginning of the x264 encoding.
I send you the log.
Thanx
digitall.h is offline   Reply With Quote
Old 15th December 2012, 17:12   #1167  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
call looks fine:
Code:
yadif=1,mcdeint=2:1:10,framestep=2,crop=696:568:10:2,hqdn3d=2:1:3:1,scale,format=i420
here's the explanation form the mplayer manual for the deinterlacing settings:
Code:
yadif=[mode[:field_dominance]]
              Yet another deinterlacing filter
                 <mode>
                      0: Output 1 frame for each frame.
                      1: Output 1 frame for each field.
                      2: Like 0 but skips spatial interlacing check.
                      3: Like 1 but skips spatial interlacing check.
                 <field_dominance> (DEPRECATED)
                      Operates like tfields.
                      NOTE: This option will possibly be removed in  a  future
                      version.  Use -field-dominance instead.
source: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt

Code:
mcdeint=[mode[:parity[:qp]]]
              Motion  compensating deinterlacer.  It needs one field per frame
              as input and must  thus  be  used  together  with  tfields=1  or
              yadif=1/3 or equivalent.
                 <mode>
                      0: fast
                      1: medium
                      2: slow, iterative motion estimation
                      3: extra slow, like 2 plus multiple reference frames
                 <parity>
                      0  or  1 selects which field to use (note: no autodetec‐
                      tion yet!).
                 <qp>
                      Higher values should result in a smoother motion  vector
                      field but less optimal individual vectors.
source: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt

regarding framestep:
Code:
framestep=I|[i]step
              Renders only every nth frame or every intra frame (keyframe).

              If you call the filter with I (uppercase) as the parameter, then
              only keyframes are rendered.  For DVDs it generally means one in
              every 15/12 frames (IBBPBBPBBPBBPBB), for  AVI  it  means  every
              scene  change or every keyint value (see -lavcopts keyint= value
              if you use MEncoder to encode the video).

              When a keyframe is found, an 'I!' string followed by  a  newline
              character  is  printed, leaving the current line of MPlayer/MEn‐
              coder output on the screen, because it  contains  the  time  (in
              seconds)  and frame number of the keyframe (You can use this in‐
              formation to split the AVI.).

              If you call the filter with a numeric parameter 'step' then only
              one in every 'step' frames is rendered.

              If  you put an 'i' (lowercase) before the number then an 'I!' is
              printed (like the I parameter).

              If you give only the i then nothing is done to the frames,  only
              I! is printed.
source: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.txt

so yadif creates one frame per field, mcdeint makes additional deinterlacing and framestep throws every second frame away, so the input and output frame rate will be the same.

the whole thing looks fine, here the complete encoding call:
Code:
"/usr/bin/mencoder" -ovc raw -noskip -field-dominance 1 -vf yadif=1,mcdeint=2:1:10,framestep=2,crop=696:568:10:2,hqdn3d=2:1:3:1,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -really-quiet -of rawvideo -o - -dvd-device "/home/ximo/VIVIR_kurosawa/VIDEO_TS" dvd://1 | "/usr/bin/x264" --preset veryslow --tune film --crf 18 --profile high --level 4.1 --aq-mode 2 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --fps 25 --input-res 696x568 --output "/tmp/Vivir_kurosawa_09_56_34_441_05.264" -
Problem is for some reason mencoder crashes while decoding the content,...
This might be due to mcdeint (some older versions of mplayer/mencoder often crashed with mcdeint, but all newer versions seemed to be fine).

Tested a DVD and a three interlaced vob samples, and had no problem with the deinterlacing.

-> what happens if you call:
Code:
"/usr/bin/mencoder" -ovc raw -noskip -field-dominance 1 -vf yadif=1,mcdeint=2:1:10,framestep=2,crop=696:568:10:2,hqdn3d=2:1:3:1,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -of rawvideo -o /dev/nul -dvd-device "/home/ximo/VIVIR_kurosawa/VIDEO_TS" dvd://1
this is just the decoder call, piping the output to /dev/nul and writing some output if error&co occur.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th December 2012, 19:13   #1168  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
There's probably something wrong with the command:
Code:
MEncoder SVN-r34707-4.6 (C) 2000-2012 MPlayer Team
libdvdread: Using libdvdcss version 1.2.12 for DVD access
libdvdread: Couldn't find device name.
There are 2 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: es aid: 128.
audio stream: 1 format: ac3 (stereo) language: ja aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: es
number of subtitles on disk: 1

success: format: 2  data: 0x35000 - 0xbf714000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  3220.4 kbps (402.6 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
File not found: '/dev/nul'
Failed to open /dev/nul.
Cannot open output file '/dev/nul'.

Exiting...
digitall.h is offline   Reply With Quote
Old 15th December 2012, 19:16   #1169  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
-> needs to be /dev/null
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th December 2012, 21:38   #1170  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
Now it's more informative:
Code:
MEncoder SVN-r34707-4.6 (C) 2000-2012 MPlayer Team
libdvdread: Using libdvdcss version 1.2.12 for DVD access
libdvdread: Couldn't find device name.
There are 2 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: es aid: 128.
audio stream: 1 format: ac3 (stereo) language: ja aid: 129.
number of audio channels on disk: 2.
subtitle ( sid ): 0 language: es
number of subtitles on disk: 1

success: format: 2  data: 0x35000 - 0xbf714000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  3220.4 kbps (402.6 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=i420]
Opening video filter: [scale]
Opening video filter: [hqdn3d=2:1:3:1]
Opening video filter: [crop w=696 h=568 x=10 y=2]
Crop: 696 x 568, 10 ; 2
Opening video filter: [framestep=2]
Opening video filter: [mcdeint=2:1:10]
libavcodec version 54.0.0 (internal)
Opening video filter: [yadif=1]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
Violacin de segmento (`core' generado)
A problem with input PAR?.
I did a full encode selecting yadif as deinterlacer, with no errors.
digitall.h is offline   Reply With Quote
Old 15th December 2012, 21:50   #1171  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
A problem with input PAR?.
Nope, PAR has nothing to do with the problem,...

Quote:
I did a full encode selecting yadif as deinterlacer, with no errors.
Like I wrote before, probably a bug in mcdeint.
"MEncoder SVN-r34707-4.6" -> it might if you update your mencoder/mplayer current revision should be somewhere around r35600
(https://bugs.archlinux.org/task/28843 sound similar to your problem so updating really could help,..)

Cu Selur
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 15th December 2012 at 21:54.
Selur is offline   Reply With Quote
Old 15th December 2012, 22:18   #1172  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
I'm using in my sources the ppa you recommended, from:
https://launchpad.net/~motumedia/+archive/mplayer-daily

They say it should be svn34750, far from 35600...
digitall.h is offline   Reply With Quote
Old 15th December 2012, 22:28   #1173  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Seems like it's time for a new repository, their last update was 2012-02-21,.... which is far away from daily.
http://www.andrews-corner.org/mplayer.html might be interesting. (guide how to build mplayer)

Cu Selur
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 15th December 2012 at 22:32.
Selur is offline   Reply With Quote
Old 17th December 2012, 20:03   #1174  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
hi, I got the 32bit package earlier, along with the test version u linked (with the different UI). I wasnt sure if using 64bit Hybrid + 32bit avisynth (Version 2.6) complicated things, so i got 32bit Hybrid to hopefully simplfy it.

I also have the avisynth extension pack extracted to the Program file DIR

My Source is a DVD (PAL) with 1 title, 1 PGC, 1 angle (as `avisynth DVD mode` needs that).

what i did was:

1:Open Hybrid, turn on the Debug file feature.
2:Apply DJ Deint GLOBAL profile.
3:main tab, open the source DVD folder, let it anylise it.
4:x264 tab, Apply the DJ Deintx264 profile.
5:filtering-->de-interlace tab.
6:QTGMC (Avisynth) is already active + `forced deinterlace` already set also, so i hit `avisynth preview` and it scans, then get a few errors. 1 mentioning the eedi3.dll not being to be loaded. (the .dll is in there i checked)
7:hit add to queue, run queue... to get a debug file

screenshots:https://www.dropbox.com/s/fpm3k6lwic...ror%20pics.rar

debug: https://www.dropbox.com/sh/7le3ytvy0...ebugOutput.txt

profiles: https://www.dropbox.com/s/sjvbh5ltanzh11w/profiles.rar

Ive also tried this with avisynth 2.58, same result.... so i`m not sure if its a profile problem, a global setting problem or something else, if i set it to `preview` with a normal de-interlace method set, its fine, only get the issue if Avisynth based methods are set.

thanks.

Last edited by DJ-1; 10th February 2016 at 21:38.
DJ-1 is offline   Reply With Quote
Old 17th December 2012, 20:50   #1175  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Ive also tried this with avisynth 2.58, same result....
1. you do not need to install avisynth if you use the avisynth extension,... (the extension comes with it's own avisynth.dll)
2. do not exchange the avisynth.dll in the Hybrid folder

-> will look at the debugoutput&co
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 17th December 2012, 20:54   #1176  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
Ok... The only thing I put in the Hybrid DIR was the contents of the avisynth pack from ur website

Sent from my Galaxy S II using tapatalk
DJ-1 is offline   Reply With Quote
Old 17th December 2012, 21:09   #1177  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Loading eedi3 works fine here, problem might be related to: http://forum.doom9.org/showthread.php?t=159958
-> try if it helps if you copy (not move!) msvcp100.dll and msvcr100.dll into the avisynth plugins folder.
if it does, I'll modify Hybrid to automatically load these dlls from the Hybrid folder.
(send you a link, to a version that autoloads the dlls when QTGMC is used, for testing)
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 17th December 2012 at 21:36.
Selur is offline   Reply With Quote
Old 20th December 2012, 17:02   #1178  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
hi, ok...i copied both the msvcp100.dll & msvcr100.dll to the avisynthPlugins DIR
however, i did notice the avisynth pack i got from ur site already has both of those file there already, BUT, the msvcr100.dll =753KB and msvcp100.dll =412KB), .... in the 32bit Hybrid i got on here it has a msvcr100.dll = 756KB, I`m assuming there`s a difference between them. (other .dll is same size).

anyhow, after copying them into the DIR, i also got the updates from the thread you linked me to, installed the update. Uninstalled avisynth, as you said it isnt needed as Hybrid got its own .dll for it.

Got the test version you sent me, tried both the test version and the previous test version and exact same result. Exact same process.

It sees the eedi3.dll ok, but cant load it....
DJ-1 is offline   Reply With Quote
Old 20th December 2012, 17:14   #1179  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
"and exact same result. " -> did the avisynth script change?
(Filtering->Avisynth->Show current Avisynth script)

it should look similar to:
Code:
SetMemoryMax(768)
SetMTMode(5,8)
LoadPlugin("G:\Hybrid\avisynthPlugins\ffms2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\LoadDll.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\AddGrainC.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\dfttest.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\DirectShowSource.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\EEDI2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\eedi3.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\FFT3DFilter.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\mt_masktools-26.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\mvtools2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\nnedi3.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\RemoveGrainSSE2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\RepairSSE2.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\SSE2Tools.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\TDeint.dll")
LoadPlugin("G:\Hybrid\avisynthPlugins\VerticalCleanerSSE2.dll")
LoadCPlugin("G:\Hybrid\avisynthPlugins\yadif.dll")
LoadDll("G:\Hybrid\msvcr100.dll") # this one is new
LoadDll("G:\Hybrid\msvcp100.dll") # this one is new
LoadDll("G:\Hybrid\avisynthPlugins\libfftw3f-3.dll")
LoadDll("G:\Hybrid\avisynthPlugins\fftw3.dll")
Import("G:/Hybrid\avisynthPlugins\QTGMC-3.33.avsi")
FFVideoSource("H:\TESTCL~1\test.avi",cachefile="H:\Temp\214379433avi_deb1536f480475f7d593219aa1afd74c_41.ffindex",threads=1)
SetMTMode(2)
ConvertToYv12(interlaced=true, matrix="PC.709")
QTGMC(Preset="Placebo")
SelectEven()
distributor()
return(last)
you can also try if it helps to replace the eedi3.dll with the one from http://web.missouri.edu/~kes25c/ the one currently used if from one of the qtgmc packs (http://forum.doom9.org/showthread.php?t=156028).

Cu Selur

Ps.: also check your RAM usage QTGMC placebo will require a bunch of RAM combined with other filters this might be a problem,...

Quote:
i got on here it has a msvcr100.dll = 756KB, I`m assuming there`s a difference between them.
might be, my be just different compilers with different options used,..
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 20th December 2012 at 17:16.
Selur is offline   Reply With Quote
Old 20th December 2012, 17:36   #1180  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
screen of current scipt
https://www.dropbox.com/s/43rk7kbzk9wjwow/avi%20scripinuse.jpg

ok i`ll look into the RAM thing, and the other eedi3
DJ-1 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 14:12.


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