Giter Club home page Giter Club logo

Comments (4)

twistedddx avatar twistedddx commented on May 26, 2024

If the file format you are seeing is the same as the files the official client writes to files it may explain your 3rd party player compatibility also.
You are somewhat depending on luck for the decoder to recognize the h264 video data hidden between other unrecognized data.
Eg the video decoder is having to deal with BC headers and likely also has a bunch of audio data at the end of each frame.

I say BC headers and file format but it is just as likely the format was created by Hisilicon.

I personally found that any VLC higher than 2.2.8 on Windows can not correctly select its raw h264 decoder even if manually set.
So modern VLC is a poor choice to try to force playback of h264 BC files in their non standard container.
Other FFmpeg based decoders do a better job in that they do not suffer from this bug, eg LAV filters can often play the video portion of the files like you want VLC to do.

FFmpeg's AAC decoder is currently unable to luck auto recognize the audio data within BC format.

from neolink.

thirtythreeforty avatar thirtythreeforty commented on May 26, 2024

Interesting, thank you for the link to the file format in #4. I had run across your tool, but not the text document.

The Gstreamer H.265 frame finder embedded in Neolink successfully recognizes the H.265 stream from the raw binaryData stream passed from the cameras. There's no guarantee made that this is actually raw H.265, however, I had just assumed... I will reopen some of my pcaps and see if the contents of binaryData match the header format you describe.

from neolink.

thirtythreeforty avatar thirtythreeforty commented on May 26, 2024

I'm going to punch something if there's another stateful parser layer...

from neolink.

thirtythreeforty avatar thirtythreeforty commented on May 26, 2024

This is completely fixed in my testing with VLC. @QuantumEntangledAndy added PTS and DTS timestamps to the stream and it's completely fluid.

from neolink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.