Code Monkey home page Code Monkey logo

Comments (9)

imoreapps avatar imoreapps commented on June 21, 2024

It seemed that i can not download these files, can you share them via Google Drive, Dropbox, Box, or OneDrive? Thanks.

from ffmpeg-avplayer-for-ios-tvos.

a4tech avatar a4tech commented on June 21, 2024

https://www.dropbox.com/s/g0b603knd8ro86b/tstTS3_fixed.ts?dl=0
https://www.dropbox.com/s/6x74wgpq2vsbnq4/tstTS3.ts?dl=0

This is TS from Sattelite which I save to file and try play by Your player.

It is mpeg2ts format.

Thanks !

from ffmpeg-avplayer-for-ios-tvos.

a4tech avatar a4tech commented on June 21, 2024

I did some changes and looks like files are playable.

Problem is that player does not play PipeFile. I mean:

I retrive data to a pipFile, ( test.ts ), I put NSURL to that file, but player can not make a playback for that.

"Failed to load video !"

I guess that it miss some function such as av_getcodecinfo() from the file and wait till stream appear in the file.

from ffmpeg-avplayer-for-ios-tvos.

imoreapps avatar imoreapps commented on June 21, 2024

Please try to update the "avFormatName" property of FFAVPlayerController instance with "mjpeg" string value before you load it.

from ffmpeg-avplayer-for-ios-tvos.

a4tech avatar a4tech commented on June 21, 2024

It does not help. Faild to load video.

It is pipeFile. File URL to which i write constantly data with stream.

I did following change:

// if (!self.mediaURL.isFileURL) {
options[AVOptionNameAVProbeSize] = @(256*1024); // 256kb, default is 5Mb
options[AVOptionNameAVAnalyzeduration] = @(5); // default is 5 seconds
options[AVOptionNameHttpUserAgent] = @"Mozilla/5.0";
// }

// if (self.avFormatName) {
options[AVOptionNameAVFormatName] = @"mjpeg";
// }

[_avplayController openMedia:self.mediaURL withOptions:options];

from ffmpeg-avplayer-for-ios-tvos.

a4tech avatar a4tech commented on June 21, 2024

I have tried to play pipeFile by:

https://github.com/kolyvan/kxmovie

I noticed it has no problems. but It is quite old. I would cooperate to fix it in Your app.

from ffmpeg-avplayer-for-ios-tvos.

a4tech avatar a4tech commented on June 21, 2024

Do You think We can try to add support for loading movie from pipefile ?

from ffmpeg-avplayer-for-ios-tvos.

imoreapps avatar imoreapps commented on June 21, 2024

We could not find any pipfile informations, can you provide more details about how to setup pipfile?

from ffmpeg-avplayer-for-ios-tvos.

imoreapps avatar imoreapps commented on June 21, 2024

The latest version has already supported most of FFmpeg protocols, includes pipfile. Thanks.

from ffmpeg-avplayer-for-ios-tvos.

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.