Comments (14)
what's your fvp version? paste the complete log.
from fvp.
platform:macos
fvp: ^0.8.0
log:
flutter: fvp.FINE: 2023-09-20 17:22:45.720020: 188784838 player4872111744 create(rtsp://admin:[email protected]:554)
flutter: mdk.INFO: 2023-09-20 17:22:45.728083: default0x169f2e520 new FrameReader...
flutter: mdk.INFO: 2023-09-20 17:22:45.728145: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.INFO: 2023-09-20 17:22:45.728171: default0x1226d9d50 new FrameReader...
flutter: mdk.INFO: 2023-09-20 17:22:45.728230: Registered audio backends: AudioQueue OpenAL null
flutter: mdk.INFO: 2023-09-20 17:22:45.728275: 0x1226f5990mdk::Player::Player()
flutter: mdk.INFO: 2023-09-20 17:22:45.728306: default FrameReader0x169f2e520 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-09-20 17:22:45.728331: default0x169f2e520 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.728356: default FrameReader0x169f2e520 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-09-20 17:22:45.728380: default0x169f2e520 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.728404: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.728428: 0x124968a00 MediaControl.prepare(0, ...) rtsp://admin:[email protected]:554
flutter: mdk.INFO: 2023-09-20 17:22:45.728452: default 0x169f2e520 FrameReader.start(0, ...)
flutter: mdk.INFO: 2023-09-20 17:22:45.728475: default 0x169f2e520 FrameReader::update MediaStatus 0=>0X2
flutter: fvp.FINE: 2023-09-20 17:22:45.729673: 657549096 player4872111744 onMediaStatus: MediaStatus(noMedia) => MediaStatus(+loading)
flutter: mdk.INFO: 2023-09-20 17:22:45.730176: default FrameReader0x169f2e520 state: 0=>0=>1, 0
flutter: mdk.INFO: 2023-09-20 17:22:45.730223: default FrameReader0x169f2e520 state: 0=>1=>1, 0
flutter: mdk.INFO: 2023-09-20 17:22:45.730251: start frame reader thread: 0x170d5f000
flutter: mdk.WARNING: 2023-09-20 17:22:45.730335: Failed to create io for url. io: 0x0, open: false
flutter: mdk.INFO: 2023-09-20 17:22:45.730369: default 0x169f2e520 FrameReader::update MediaStatus 0X2=>0X2
flutter: mdk.INFO: 2023-09-20 17:22:45.730395: before avformat_open_input. io: 0x0(/pb: 0x0, url: rtsp://admin:[email protected]:554
flutter: mdk.INFO: 2023-09-20 17:22:45.730421: [FFmpeg:tcp] Connection to tcp://192.168.2.250:554?timeout=0 failed: Operation not permitted
flutter: mdk.INFO: 2023-09-20 17:22:45.730450: Error avrt::avformat_open_input(&fmtctx_, ffmpeg::from_file_uri(in.c_str()), fmt, &dict) @209 /Users/runner/work/mdk-sdk/mdk-sdk/mdk/ffmpeg/plugin/FFmpegPacketIO.cpp: (0xffffffff) Operation not permitted
flutter: mdk.INFO: 2023-09-20 17:22:45.730476: 0x170d5f000default 0x169f2e520 bool mdk::FrameReader::update(mdk::MediaStatus) @1055: reset status_mask
flutter: mdk.INFO: 2023-09-20 17:22:45.730500: default 0x169f2e520 FrameReader::update MediaStatus 0X2=>0X80000000
flutter: fvp.FINE: 2023-09-20 17:22:45.730547: 657549096 player4872111744 onMediaStatus: MediaStatus(+loading) => MediaStatus(+invalid)
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(media open error, invalid or unsupported media, null, null)
#0 MdkVideoPlayerPlatform.create (package:fvp/src/video_player_mdk.dart:216:7)
<asynchronous suspension>
#1 VideoPlayerController.initialize (package:video_player/video_player.dart:438:19)
<asynchronous suspension>
flutter: mdk.WARNING: 2023-09-20 17:22:45.733390: reader open error
flutter: mdk.INFO: 2023-09-20 17:22:45.733433: 0x170d5f000default 0x169f2e520 bool mdk::FrameReader::update(mdk::MediaStatus) @1055: reset status_mask
flutter: mdk.INFO: 2023-09-20 17:22:45.733478: default 0x169f2e520 FrameReader::update MediaStatus 0X80000000=>0X80000000
flutter: mdk.INFO: 2023-09-20 17:22:45.733566: 0x124968a00 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 2=>0, current state 0. status: 0X80000000
flutter: mdk.INFO: 2023-09-20 17:22:45.733611: default FrameReader0x169f2e520 state: 0=>1=>0, 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733638: default0x169f2e520 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733662: 0x169f2e520 virtual bool mdk::FrameReaderImpl::unload(), current status 0x80000000, invalid: 0x80000000, loading: 0, loaded: 0, buffering: 0, seeking: 0, prepared: 0, EOF: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733686: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733709: 0x1226f5990virtual mdk::Player::~Player()64
flutter: mdk.INFO: 2023-09-20 17:22:45.733730: setNext from -1 url:
flutter: mdk.INFO: 2023-09-20 17:22:45.733753: default FrameReader0x169f2e520 state: 0=>0=>0, 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733776: default0x169f2e520 virtual void mdk::FrameReader::stop(), current state: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733799: mdk::MediaPlayer::Private::~Private()
flutter: mdk.INFO: 2023-09-20 17:22:45.733819: 0x124968a00 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 0=>0, current state 0. status: 0X80000000
flutter: mdk.INFO: 2023-09-20 17:22:45.733849: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733869: 0x1249f0400 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@969 requested state 0=>0, current state 0. status: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733892: AudioQueueStart ERROR: 0
flutter: mdk.INFO: 2023-09-20 17:22:45.733911: default0x1226d9d50 deleting FrameReader...
flutter: mdk.INFO: 2023-09-20 17:22:45.735403: player is destroyed
flutter: mdk.INFO: 2023-09-20 17:22:45.735446: mdk::VideoRenderer::Private::~Private() @125
from fvp.
I think you can't play this rtsp in ffplay and mpv
from fvp.
I think you can't play this rtsp in ffplay and mpv
doesnt support macos?I see some " Operation not permitted"
from fvp.
maybe something wrong in your rtsp. rtsp is supported on all platforms. you can test it using ffplay, vlc
from fvp.
maybe something wrong in your rtsp. rtsp is supported on all platforms. you can test it using ffplay, vlc
yes,It work on ios/windows,also vlc. but not work in macos.of course, I change the rtsp passwork here.
from fvp.
have you tested ffplay and mpv on mac?
from fvp.
yes,I tested ffplay , it work fine .I think maybe fvp want use system's ffplay to play,and Operation not permitted?
from fvp.
yes,I tested ffplay , it work fine .I think maybe fvp want use system's ffplay to play,and Operation not permitted?
show me ffplay log. what about ffplay from https://sourceforge.net/projects/avbuild/files/macOS/ffmpeg-master-macOS-lite-lto.tar.xz/download ?
fvp does not use ffplay, but ffmpeg libraries.
from fvp.
Class AVFFrameReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/6.0/lib/libavdevice.60.1.100.dylib (0x1046d4370) and /Users/xiaodusx1/myapp/build/macos/Build/Products/Debug/aboutxml.app/Contents/Frameworks/mdk.framework/Versions/A/libffmpeg.6.dylib (0x105fd0cf0). One of the two will be used. Which one is undefined.
from fvp.
ffplay version 6.0 Copyright (c) 2003-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, rtsp, from 'rtsp://admin:[email protected]:554':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 10 fps, 10 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
32.26 A-V: -0.017 fd= 4 aq= 19KB vq= 79KB sq= 0B f=0/0
from fvp.
Class AVFFrameReceiver is implemented in both /opt/homebrew/Cellar/ffmpeg/6.0/lib/libavdevice.60.1.100.dylib (0x1046d4370) and /Users/xiaodusx1/myapp/build/macos/Build/Products/Debug/aboutxml.app/Contents/Frameworks/mdk.framework/Versions/A/libffmpeg.6.dylib (0x105fd0cf0). One of the two will be used. Which one is undefined.
not related. ignore it
from fvp.
what about this ffplay https://sourceforge.net/projects/avbuild/files/macOS/ffmpeg-master-macOS-lite-lto.tar.xz/download
from fvp.
any update?
from fvp.
Related Issues (20)
- Unable to play an MPEGTS stream when probe size is set to a low value HOT 1
- Video Playback Issues Across Different Systems HOT 4
- RTSP video live streaming stutters on iOS and macOS, while it works fine on Android with fvp or fijkplayer and macOS with mpv HOT 3
- Cannot load so on old version android HOT 6
- Crashes/green screen when enable hardware acceleration on Amlogic devices HOT 15
- issue running on macos HOT 5
- Linux compile error HOT 5
- Long buffering time when loading video with multiple tracks HOT 6
- Faulting application name: gemini.exe, version: 1.0.0.1 Faulting module name: flutter_windows.dll HOT 7
- run on nixos HOT 3
- 播放 rtsp 的时候,播放中断后无法自动恢复 HOT 8
- Video Playback Issues Across Different Systems HOT 13
- orientation issue in some videos on ios HOT 5
- How to get available subtitles text from subtitle track HOT 29
- Failed to load dynamic library libfvp_plugin.so on Android HOT 9
- the first video frame is not decoded HOT 1
- Video filckers and become transparent for a few frames HOT 8
- How to run example in macos HOT 2
- A small unimportant wish HOT 6
- Android application crash caused by fvp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvp.