Create a binary file extension reader for mobile

前端 未结 2 981
庸人自扰
庸人自扰 2021-01-06 03:06

It is an ancient binary file extension, actually a video file created by Inter-Tel Web Conference software. It contains a screen recording video and voice audio, and also ca

2条回答
  •  囚心锁ツ
    2021-01-06 03:52

    "Linktivity stopped support on this app, http://linktivity.com even disappeared from the web..."

    It seems they were bought out by Mitel Software so now everything is under the Mitel brand name.

    "I just want to find a way to manipulate this file extension, a new good player for mobile and computer"

    To open/edit those .lrec files with modern software you'll have to look at their :

    • Collaboration products.
    • Unified Communication products.

    I tried :

    • To contact them just to double-check facts but they expect a realtime phone conversation with a salesperson so it wasn't an option. I'd be a fake potential customer, but you can provide a real-world issue (with background details) to see if they can solve it.
    • Also downloaded for Android the MiCollab app but it needs login details before even starting anything (so no progress to just check if an .lrec file from PC would open within Android).

    Export videos for mobile playback :
    I've tried the desktop software. Unfortunately it does not accept external commands so there is no way to make a script that takes multiple lrecs and gives back multiple AVI.

    The only option is to extract frames from .lrec bytes and use a tool like FFmpeg to combine the images (since appears to do image grabs as frames) into one .MP4 video. MP4 is then playable on mobile devices.

    Also any of your existing AVI files should be converted with FFmpeg to MP4.

    You can download FFmpeg for Windows here (just the big blue button, ignore other options).

    • Copy the ffmpeg.exe file to some folder like c:\ffmpeg and put your avi's there.
    • Now open Command prompt and do cd C:\ffmpeg to reach folder, then type :
      ffmpeg -i filename.avi filename.mp4 (replace filename with preferred for input and output)
    • If you know how, just include ffmpeg.exe path to Control Panel PATH settings so that FFmpeg can be accessed from any folder (no need to move files to its own folder).

    PS:
    I am still researching how to get the frames it's an akward format without the specs (bytes order is Big Endian but then entry values are filled as Little Endian, then also not sure whether to reverse every two or four bytes cos it's mixed up like that etc and the pixel bytes themselves seem to have compression but it's not JPEG more like ZIP or whatever). Only confirmed bytes so far are for video width and video height. It seems doable though if the .lrec only contains screen recordings.

提交回复
热议问题