Comments (7)
Do this file play well on desktop ffplay?
from androidffmpeg.
Yes, I also try build FFmpegLibrary/jni/ffmpeg for win32, then play rmvb file using ffplay, it seek work fine.
ffplay dump media info as below:
[rm @ 01e40060] Unsupported stream type 00000170
Input #0, rm, from 'e:/__media/mov_bbb/mov_bbb.rmvb':
Metadata:
title :
author :
copyright :
comment :
Duration: 00:00:11.14, start: 0.000000, bitrate: 300 kb/s
Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 320x176, 218 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, flt, 96 kb/s
Stream #0:2: Data: none
from androidffmpeg.
Update my verification, ffplay seek rmvb file forward also dump one error log,
[rv40 @ 01ea8780] Invalid decoder state: B-frame without reference data.
But ffplay play continue not stop.
from androidffmpeg.
Hmm.. its hard to say what exactly problem is. I can guess that there after seeking is assume that correct frame will be read but I should skip some B-frames until receive I-frame before trying decode. Maybe you can investigate this problem more precisely?
from androidffmpeg.
I read theget_video_frame()
function of ffplay.c about video decoding.
if(avcodec_decode_video2(is->video_st->codec, frame, &got_picture, pkt) < 0)
return 0; // video thread would continue to work
Maybe one solution(or workaround) to modify player_decode_video()
int ret = avcodec_decode_video2(ctx, frame, &frameFinished, packet);
:
if (ret < 0) {
LOGE(1, "player_decode_video Fail decoding video %d\n", ret);
return 0; /// -ERROR_WHILE_DECODING_VIDEO;
}
Return zero continue to decode video, it will play continue not stop.
from androidffmpeg.
Did you tried this solution?
from androidffmpeg.
Yes, it play continue not stop.
from androidffmpeg.
Related Issues (20)
- It compiles but doesn't work
- 'Could not find compilator' HOT 3
- seekNative() doesn't return any frame
- app was crashed HOT 1
- I want joinning, thanks
- I play tcp stream from camera,there is about 0.5 seconds delay,is there some buffer resulted in? HOT 1
- automake: error: 'configure.ac' is required HOT 1
- could somebody send me the compiled library?
- build_android.sh "C compiler cannot create executables" HOT 3
- library:processReleaseResources FAILED
- mp4 video player system crash
- Can I use this library to play h264 over rtsp? HOT 2
- Fatal signal SIGSEGV after playing 4-5 videos one after the another
- Cannot build project HOT 1
- can't update submodule with libyuv HOT 5
- Why libavfilter is disabled in ffmpeg configuration? HOT 3
- extracting subtitles using this project HOT 1
- Higher versions Support HOT 3
- Repo
- crash on app
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 androidffmpeg.