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. |
30th November 2012, 09:35 | #1161 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
I suspect this refers to the analyzing Method in Hybrid.
Quote:
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 |
|
30th November 2012, 19:21 | #1162 | Link |
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. |
30th November 2012, 20:19 | #1163 | Link | ||
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Quote:
Quote:
|
||
30th November 2012, 22:11 | #1165 | Link |
Registered User
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 |
15th December 2012, 15:50 | #1166 | Link |
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 |
15th December 2012, 17:12 | #1167 | Link |
Registered User
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 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. 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. 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. 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" - 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 Cu Selur |
15th December 2012, 19:13 | #1168 | Link |
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... |
15th December 2012, 21:38 | #1170 | Link |
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) I did a full encode selecting yadif as deinterlacer, with no errors. |
15th December 2012, 21:50 | #1171 | Link | ||
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Quote:
Quote:
"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 Last edited by Selur; 15th December 2012 at 21:54. |
||
15th December 2012, 22:18 | #1172 | Link |
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... |
15th December 2012, 22:28 | #1173 | Link |
Registered User
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 Last edited by Selur; 15th December 2012 at 22:32. |
17th December 2012, 20:03 | #1174 | Link |
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. |
17th December 2012, 20:50 | #1175 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Quote:
2. do not exchange the avisynth.dll in the Hybrid folder -> will look at the debugoutput&co |
|
17th December 2012, 21:09 | #1177 | Link |
Registered User
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) Last edited by Selur; 17th December 2012 at 21:36. |
20th December 2012, 17:02 | #1178 | Link |
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.... |
20th December 2012, 17:14 | #1179 | Link | |
Registered User
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) 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:
Last edited by Selur; 20th December 2012 at 17:16. |
|
|
|