Page 1 of 1
Video Resolution in Custom Format not working
Posted: 31 Mar 2018, 10:05
by Brax
Hi
I've been using Filebot for a few years.
Thanks for this great software.
I bought it on MS Store a few days ago, after i had an update suggestion form the version I was using.
I have two problems with the newly installed version :
1-I seem to have lost the ability to rename files according to video resolution. I'm guessing it's linked to a mediainfo problem but i don't find on the forum the place i should place mediainfo.dll (64bits I'm assuming)
2-No more sendto filebot feature ? I can't find a way to do it without a cmd window opening. Is there any turnaround please ?
Thanks for your answer
FileBot 4.7.18 (r5271)
JNA Native: 5.2.0
MediaInfo: 0.7.99
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.13
JRE: Java(TM) SE Runtime Environment 1.8.0_162
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 7 GB Max Memory / 21 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
Done ?(?????)?
Re: FileBot on the Windows Store
Posted: 31 Mar 2018, 11:26
by rednoah
1.
The Windows Store version can't have 32/64-bit mismatch issues. The sysinfo log indicates that MediaInfo works. Please MediaInfo of the file that doesn't work:
viewtopic.php?f=5&t=4285
Does it not work with any file? Can you provide a sample file so I can reproduce the issue?
2.
Windows Store apps are limited to Start Menu Tiles and can't hook into the Send To menu. You can use a pythonw wrapper to hide the CMD for any CMD call:
https://github.com/filebot/plugins/blob ... t/runw.pyw
This way you can make your on little pythonw scripts in the Send To folder that just pass files on to filebot calls.
3.
You seem to be using a slightly outdated version of Windows 10. Did you disable automatic updates?
Re: Video Resolution in Custom Format not working
Posted: 14 Apr 2018, 20:40
by Brax
Hi RedNoah and thanks for your answer.
I updated W10.
I have the same problem with all my files.
Here's an example of mediainfo for one of them :
Code: Select all
Général
Identifiant unique : 248319254593129416603391388170917913592 (0xBAD08C7F64F00595A4DC2061D66623F8)
Nom complet : E:\Test.mkv
Format : Matroska
Version du format : Version 4 / Version 2
Taille du fichier : 1,96 Gio
Durée : 1 h 28 min
Débit global moyen : 3 184 kb/s
Date d'encodage : UTC 2018-04-14 08:27:37
Application utilisée : mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
Bibliothèque utilisée : libebml v1.3.1 + libmatroska v1.4.2
Code: Select all
Vidéo
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Profil du format : [email protected]
Paramètres du format : CABAC / 4 Ref Frames
Paramètres du format, CABAC : Oui
Paramètres du format, RefFrames : 4 images
Identifiant du codec : V_MPEG4/ISO/AVC
Durée : 1 h 28 min
Débit : 2 799 kb/s
Largeur : 1 920 pixels
Hauteur : 1 040 pixels
Format à l'écran : 1,85:1
Type d'images/s : Constant
Images par seconde : 24,000 Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0
Profondeur des couleurs : 8 bits
Type de balayage : Progressif
Bits/(Pixel*Image) : 0.058
Taille du flux : 1,73 Gio (88%)
Bibliothèque utilisée : x264 core 152 r2851 ba24899
Paramètres d'encodage : 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=32 / lookahead_threads=5 / 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=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2799 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Default : Oui
Forced : Non
Code: Select all
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Identifiant du codec : A_AC3
Durée : 1 h 28 min
Type de débit : Constant
Débit : 384 kb/s
Canaux : 6 canaux
Position des cannaux : Front: L C R, Side: L R, LFE
Echantillonnage : 48,0 kHz
Images par seconde : 31,250 Im/s (1536 SPF)
Profondeur des couleurs : 16 bits
Mode de compression : Avec perte
Taille du flux : 242 Mio (12%)
Langue : Français
ServiceKind/String : Complete Main
Default : Oui
Forced : Non
Code: Select all
Menu
00:00:00.000 : fr:(01)00:00:00:000
00:06:06.416 : fr:(02)00:06:06:416
00:14:49.666 : fr:(03)00:14:49:666
00:19:56.500 : fr:(04)00:19:56:500
00:27:18.875 : fr:(05)00:27:18:875
00:33:56.500 : fr:(06)00:33:56:500
00:40:39.333 : fr:(07)00:40:39:333
00:47:08.875 : fr:(08)00:47:08:875
00:53:14.083 : fr:(09)00:53:14:083
01:01:03.083 : fr:(10)01:01:03:083
01:07:27.208 : fr:(11)01:07:27:208
01:14:41.000 : fr:(12)01:14:41:000
And here's the preset whcih worked before nuying Filebot from Windows Store :
Code: Select all
E:/Renommés/{sdhd.replaceAll("SD", replacement = "").replaceAll("HD", replacement = vf.replaceAll("p", replacement = "P"))}/{n.upperInitial()} ({y}) [{imdbid.upperInitial()}] {sdhd.replaceAll("SD", replacement = "").replaceAll("HD", replacement = vf.replaceAll("p", replacement = "P"))}
I should get E:\Test.mkv renamed to E:\Renommés\Test [Ttxxxxxx] 1080P.mkv
Thanks again for your help
Re: Video Resolution in Custom Format not working
Posted: 15 Apr 2018, 03:57
by rednoah
This is a very long format. Which specific component or binding is not working as expected?

I notice
{sdhd}. This has been superseded by
{hd} quite some time ago.
Try this:
Code: Select all
E:/Renommés/
{if (hd =~ /HD/) vf.upper()}/
{ny.upperInitial()} [{imdbid.upper()}] {if (hd =~ /HD/) vf.upper()}

Your structure is pretty strange. No SD folder for SD files? The code above should be equivalent to your code, more or less. In any case, much more readable.
Re: Video Resolution in Custom Format not working
Posted: 15 Apr 2018, 11:13
by Brax
Thanks,
I had no knowledge about the {sdhd} deprecation.
I'm now going to have a look at the python hook method you proposed
Have a good day !