Giter Site home page Giter Site logo

猫抓的视频录制问题 about cat-catch HOT 3 OPEN

jkfeng6565 avatar jkfeng6565 commented on September 22, 2024
猫抓的视频录制问题

from cat-catch.

Comments (3)

jkfeng6565 avatar jkfeng6565 commented on September 22, 2024

并且不合并直接录制 录制下的视频文件大小为0KB

from cat-catch.

xifangczy avatar xifangczy commented on September 22, 2024

仔细查看ffmpeg日志 也许会有 error reading header 错误,大部分情况都是如此。
总的来说就是丢失了头部数据,ffmpeg不知道该文件是什么类型。
如果你熟悉ffmpeg命令 可以尝试在 -i xxxx 之前使用-f 强制指定一个格式 -f mp4 -i xxxx 也许能解决。

缓存捕获 有时的确会丢失头部信息,但这样的错误不常见,通常刷新下就能解决。
也有的网站会把视频头部数据单独存放,不在缓存中,这很难办,如果有解决办法,会第一时间更新。

如果你下次再遇到error reading header 错误,可以先把文件下载下来,使用第三方工具 Recover_MP4 等修复,填补头部数据。
或使用比如 VLC播放器 他能播放已损坏的视频文件,通过VLC播放器转录功能,处理成正常文件再进一步处理。

from cat-catch.

jkfeng6565 avatar jkfeng6565 commented on September 22, 2024

仔细查看ffmpeg日志 也许会有 error reading header 错误,大部分情况都是如此。 总的来说就是丢失了头部数据,ffmpeg不知道该文件是什么类型。 如果你熟悉ffmpeg命令 可以尝试在 -i xxxx 之前使用-f 强制指定一个格式 -f mp4 -i xxxx 也许能解决。

缓存捕获 有时的确会丢失头部信息,但这样的错误不常见,通常刷新下就能解决。 也有的网站会把视频头部数据单独存放,不在缓存中,这很难办,如果有解决办法,会第一时间更新。

如果你下次再遇到error reading header 错误,可以先把文件下载下来,使用第三方工具 Recover_MP4 等修复,填补头部数据。 或使用比如 VLC播放器 他能播放已损坏的视频文件,通过VLC播放器转录功能,处理成正常文件再进一步处理。

感谢大佬的回复 谢谢

from cat-catch.

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.