You are not logged in.

#1 2009-05-20 22:21:24

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Avinaptic,a powerful video file (and DRF) analyzer for testing

AVInaptic is a program with a simple GUI that analyzes file type AVI, ASF / WMV, MP4/MOV, Matroska (MKV), OGG, GMOs and FLV, and shows a lot of information on the technical characteristics (useful in predicting whether the movie will be read by their player stand-alone). It also allows you to make simple changes on the fly, set delays (or advance) on all audio tracks and edit the FourCC allows you to remove any trace in the files (video, audio, subtitles, attachments);. Italian author site but you can choose english in the program. Site translated here.

http://fsinapsi.altervista.org/ (italian)

http://forum.doom9.org/showthread.php?s … c&t=123076

# Contributor:Xemertix <arch88(at)katamail(dot)com>

pkgname=avinaptic
pkgver=20071118
pkgrel=1 
pkgdesc="a powerful video files analyzer" 
arch=('i686' 'x86_64') 
license=('GPL') 
depends=('sqlite3' 'gmp' 'gtk' 'libjpeg' 'libpng' 'file')
[ "$CARCH" = "x86_64" ] && depends=('lib32-sqlite3' 'lib32-gmp' 'lib32-gtk' 'lib32-libjpeg' 'lib32-libpng' 'lib32-file') 
url="http://fsinapsi.altervista.org/" 
source=(http://fsinapsi.altervista.org/code/${pkgname}/${pkgname}-fixed.tar.gz
        avinaptic.desktop)
md5sums=('d5f3ba28fe0e005ebb38bd8725f89932'
         '64e5d6855e5957e7cd266198abcd5324')

build() {
  cd $srcdir

  # Program 
  install -D -m 755 ${pkgname}/avinaptic $pkgdir/usr/bin/avinaptic

  # Freedesktop compatibility
  install -D -m 664 ${pkgname}/icone/avinaptic.png ${pkgdir}/usr/share/icons/avinaptic.png
  install -D -m 664 avinaptic.desktop ${pkgdir}/usr/share/applications/avinaptic.desktop
  
  # Documentation
  install -d -m 775 ${pkgdir}/usr/share/doc/avinaptic/
  install -D -m 664 ${pkgname}/testi/* ${pkgdir}/usr/share/doc/avinaptic/
}

Screenshot
screenshot001q.th.png

Note:Avinaptic is a 32-bit program.For 64bit installations i've included lib32-file in the archive.The program is available in both english and italian.

Current Issues:
Only the analysis of .mkv files is not working properly on my 64 bit installation..avinaptic shows garbaged hex output data.Maybe an incompatibility with something..other video files are analyzed correctly.

http://www.datafilehost.com/download-3a701c57.html

Last edited by Xemertix (2009-05-22 19:44:15)

Offline

#2 2009-05-20 23:54:29

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Question: Since I don't actually use any icons (ratpoison user), I can just comment out the line which calls for avinaptic.desktop, right?

edit: Installed ok, no problems with matroska, no problems with output, im on 32b though.

thanks

Last edited by s3kt0r (2009-05-21 00:04:08)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#3 2009-05-21 07:51:16

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

s3kt0r wrote:

Question: Since I don't actually use any icons (ratpoison user), I can just comment out the line which calls for avinaptic.desktop, right?

Yes.

edit: Installed ok, no problems with matroska, no problems with output, im on 32b though.

thanks

The output with mkv files looks like that for me:

[ About file ]

Name: trailer2.mkv
Date: 16/05/2009 12:39:32
Size: 6,337,145 bytes (6.044 MB)

[ Generic infos ]

File type: data

[ Hex dump ]

00000000: 1a 45 df a3 01 00 00 00  00 00 00 23 42 86 81 01  |.Eߣ.......#B...|
00000010: 42 f7 81 01 42 f2 81 04  42 f3 81 08 42 82 88 6d  |B÷..Bò..Bó..B..m|
00000020: 61 74 72 6f 73 6b 61 42  87 81 02 42 85 81 02 18  |atroskaB...B....|
00000030: 53 80 67 01 00 00 00 00  60 b2 3e 11 4d 9b 74 40  |S.g.....`²>.M.t@|
00000040: 3d 4d bb 8b 53 ab 84 15  49 a9 66 53 ac 81 df 4d  |=M».S«..I©fS¬.ßM|
00000050: bb 8c 53 ab 84 16 54 ae  6b 53 ac 82 01 37 4d bb  |».S«..T®kS¬..7M»|
00000060: 8d 53 ab 84 1c 53 bb 6b  53 ac 83 60 af 41 4d bb  |.S«..S»kS¬.`¯AM»|
00000070: 8d 53 ab 84 11 4d 9b 74  53 ac 83 60 b0 f3 ec 01  |.S«..M.tS¬.`°óì.|
00000080: 00 00 00 00 00 00 93 00  00 00 00 00 00 00 00 00  |................|
00000090: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

This report was created by AVInaptic (18-11-2007) on 21 mag 2009, h 09:41:13

I need some arch64 tester smile

Offline

#4 2009-05-21 10:07:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

If its GPL, would it not be better to compile it from source? It might even work natively on 64-bit then.

Offline

#5 2009-05-21 10:57:14

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

tomk wrote:

If its GPL, would it not be better to compile it from source? It might even work natively on 64-bit then.

Because it's programmed in treep,a new programming language still in development status (developed by the avinaptic author himself).
It don't know if it's possible to compile this program right now..

Offline

#6 2009-05-21 11:24:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Cant be GPL if the source code is not available....

Offline

#7 2009-05-21 11:39:10

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

tomk wrote:

Cant be GPL if the source code is not available....

The source code is available in the archive avinaptic-fixed.tar.gz and the license is GPL (as stated in the file 'COPYING') smile
I was not clear in the previous post sorry..I meant: I don't know yet how to compile a treep program,i will do some tests smile
edit:can someone post the output of this command?

$ldd avinaptic

Last edited by Xemertix (2009-05-21 12:04:21)

Offline

#8 2009-05-21 18:59:32

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Hey

report on matroska file (chosen a bit randomly; didn't post all of it but no problems there also, so)

About file

Name                        [AoT]_Asura_Cryin'_03_[720p_h264+AAC]_[FA5B21F8].mkv
Date                        4/05/2009 04:29:15
Size                        325,857,114 bytes (310.762 MB)

Generic infos

Play duration               00:23:44 (1424.192 s)
Container type              matroska
Creation time               2/05/2009 06:37:36 UTC
Number of streams           3
Type of stream nr. 1        video (V_MPEG4/ISO/AVC)
Type of stream nr. 2        audio (A_AAC (AAC Low complexity))
Type of stream nr. 3        subtitle (S_TEXT/ASS)
Audio streams               1
Muxing Application          libebml v0.7.7 + libmatroska v0.8.1
Writing Application         mkvmerge v2.7.0 ('Do It Again') built on Apr 15 2009 00:27:10

Relevant data

Resolution                  1280 x 720
Width                       multiple of 32
Height                      multiple of 16

Video track

Codec ID                    V_MPEG4/ISO/AVC
Resolution                  1280 x 720
Frame aspect ratio          16:9 = 1.777777
Pixel aspect ratio          1:1 = 1
Display aspect ratio        16:9 = 1.777777
Framerate                   23.976024 fps

Audio track

Codec ID                    A_AAC (AAC Low complexity)
Channels (container)        2
Sample rate                 48000 Hz

About H.264

Running $ldd avinaptic on term just starts program, no output. (?)

Tried extracting a couple audio tracks, nothin with video yet, but it seems to be workin good.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#9 2009-05-21 22:10:10

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

On my arch64

$  ldd avinaptic
    not a dynamic executable

On virtualized Ubuntu 32bit

$ldd avinaptic
    linux-gate.so.1 =>  (0xb7f12000)
    libgtk-1.2.so.0 => not found
    libgdk-1.2.so.0 => not found
    libgmodule-1.2.so.0 => not found
    libglib-1.2.so.0 => not found
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ee4000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0xb7eda000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb7ecb000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb7ddb000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7db5000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d95000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7d6f000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb7d59000)
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7ce9000)
    libmagic.so.1 => /usr/lib/libmagic.so.1 (0xb7cd3000)
    libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7c8c000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b2e000)
    /lib/ld-linux.so.2 (0xb7ef8000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb7b2b000)
    libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7b28000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7b0e000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7af5000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7af0000)

Offline

#10 2009-05-22 01:21:46

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Oh, shitsu. Didn't even notice, I ran ldd like $ldd (copy/paste/late hours at night fault), but $ is your bashrc ps1 line. lol.

Here's it is, ldd avinaptic's output:

ldd: ./avinaptic: No such file or directory

Well, I don't know about ubuntu, neither about ubuntu 32b virtualized. Does that mean that it works in ubuntu and in your arch doesn't?
Have you tried checkin if you have those libs installed in arch? Some of those libs are i686, you said you were on 64bits right?
I'm just sayin because I have some of those libs/packages installed, and it works. But it could also be something related to avinaptic itself, maybe it doesn't like  64bits (if there is such a program).

no coder here.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#11 2009-05-22 08:49:34

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

s3kt0r wrote:

Oh, shitsu. Didn't even notice, I ran ldd like $ldd (copy/paste/late hours at night fault), but $ is your bashrc ps1 line. lol.

Here's it is, ldd avinaptic's output:

ldd: ./avinaptic: No such file or directory

Well, I don't know about ubuntu, neither about ubuntu 32b virtualized. Does that mean that it works in ubuntu and in your arch doesn't?
Have you tried checkin if you have those libs installed in arch? Some of those libs are i686, you said you were on 64bits right?
I'm just sayin because I have some of those libs/packages installed, and it works. But it could also be something related to avinaptic itself, maybe it doesn't like  64bits (if there is such a program).

no coder here.

Ops sorry..since avinaptic executable is installed in /usr/bin,the full command is

cd /usr/bin
ldd avinaptic

However i've builded also an arch 32bit v.m.,and both avinaptic and  that command work perfectly..
Edit:yes,i have almost all the required libraries but libxcb-xlib.so.0 (that I've taken from a rpm).
I can't virtualize a 64bit system with virtualbox,because my cpu doesn't support Vt-x.. sad

Last edited by Xemertix (2009-05-22 08:58:53)

Offline

#12 2009-05-22 16:27:37

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Back with output:

[s3kt0r@localhost bin]$ ldd avinaptic
        linux-gate.so.1 =>  (0xb7f90000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb7e33000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7dfb000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb7df8000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7dd2000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7dce000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7dc5000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7db5000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c98000)
        libm.so.6 => /lib/libm.so.6 (0xb7c72000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7c52000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7c2c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7c18000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7b9b000)
        libmagic.so.1 => /usr/lib/libmagic.so.1 (0xb7b81000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7b4a000)
        libc.so.6 => /lib/libc.so.6 (0xb7a03000)
        /lib/ld-linux.so.2 (0xb7f91000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7a00000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb79e6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb79ce000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb79c9000)

You have libxcb 1.2-1 on extra.

cheers,


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#13 2009-05-22 18:40:46

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

I've tested the program on an amd64 pc with arch64,there are the same problems,even with all required libraries installed..there should be some kind of incompatibility with arch64,but I don't know how to catch it.

Current status:
archlinux 32 bit: all ok
archlinux 64 bit: mkv analysis not working

Offline

#14 2009-05-23 03:14:03

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

I suggest you email the author regarding 64bits.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#15 2009-05-23 10:14:01

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Ok,I got it working using a 32bit chroot..anyway,thank you s3kt0r smile
edit:uploaded to aur and commented the x86_64 lines.

Last edited by Xemertix (2009-05-23 20:58:43)

Offline

#16 2009-05-24 03:38:47

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Avinaptic,a powerful video file (and DRF) analyzer for testing

Thank you for the PKGBUILD. I didn't try to help more because I don't know more (yet). wink


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

Board footer

Powered by FluxBB