Menu

#1077 Mediainfo on Rasbian gives NO output for files >2GB

Incorrect_result
closed-out-of-date
None
6
2018-01-13
2018-01-04
Antoniossss
No

So I am using mediafile on
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux core

When running mediainfo agains >2gb file media file shows no output at all.

How I run:mediainfo -f --Output=XML filename.mp4

What i get

<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.91">
</Mediainfo>

I have noticed that this is the same output like for eg. invalid file or no file provided. There are some suspicions that it has something to do with x32 limitation. Depends on how mediafile handles opening files.

File is on external drive with NTFS filesystem. Other files (smaller) on the same drive/partition are handled just fine.

I just checked out that after copying to the internal SD card the same file gives exact same (no) output, so it should no be related to FS.

Please advice.

Discussion

  • Jerome Martinez

    Jerome Martinez - 2018-01-05
    • status: open --> closed-out-of-date
    • assigned_to: Jerome Martinez
     
  • Jerome Martinez

    Jerome Martinez - 2018-01-05

    The issue has been fixed in Debian and Ubuntu if I remember well:
    https://bugs.launchpad.net/ubuntu/+source/libzen/+bug/1693850

    Upstream has already fixed it, you need to report the issue to the distro maintainer (the patch can be applied without risk of regression)
    Alternatively, you can compile a newer version from source

     

    Last edit: Jerome Martinez 2018-01-05
  • Antoniossss

    Antoniossss - 2018-01-13

    Allright, so I have compiled myself ZenLib MediaInfoLib and MediaInfo CLI version. Now after running make install on every of 3 components I have inconsistent results.

    If i run ./mediainfo mylargefile2gb.mp4 output is generated correctly. If i run mediainfo mylargefile2gb.mp4 there is no output at all like with the old version.

    Running mediainfo --version shows correct version in both cases. Could it be something wrong with make install ?

    to wrap it up:
    Running following test script

    mediainfo --version
    mediainfo examplemovie.mp4
    ./mediainfo --version
    ./mediainfo examplemovie.mp4
    

    Gives me the following output

    ++ mediainfo --version
    MediaInfo Command line, 
    MediaInfoLib - v17.12
    ++ mediainfo examplemovie.mp4
    
    ++ ./mediainfo --version
    MediaInfo Command line, 
    MediaInfoLib - v17.12
    ++ ./mediainfo examplemovie.mp4
    General
    Complete name                            : examplemovie.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/iso2/avc1/mp41)
    File size                                : 2.05 GiB
    Duration                                 : 2 h 13 min
    Overall bit rate                         : 2 188 kb/s
    Writing application                      : Lavf57.48.101
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings                          : CABAC / 4 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 2 h 13 min
    Bit rate                                 : 2 050 kb/s
    Width                                    : 1 920 pixels
    Height                                   : 800 pixels
    Display aspect ratio                     : 2.40:1
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.056
    Stream size                              : 1.92 GiB (94%)
    Writing library                          : x264 core 148
    Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2050 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
    
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : mp4a-40-2
    Duration                                 : 2 h 13 min
    Bit rate mode                            : Constant
    Bit rate                                 : 132 kb/s
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 46.875 FPS (1024 SPF)
    Compression mode                         : Lossy
    Stream size                              : 125 MiB (6%)
    Default                                  : Yes
    Alternate group                          : 1
    
     

Log in to post a comment.