GithubHelp home page GithubHelp logo

Only audio, no video about ffmpeg HOT 6 OPEN

havlenapetr avatar havlenapetr commented on June 8, 2024
Only audio, no video

from ffmpeg.

Comments (6)

havlenapetr avatar havlenapetr commented on June 8, 2024

sorry I don't know it should work, try put some LOGCAT into native code,
something you must see there

2011/5/14 alex-hryzak <
[email protected]>

I managed to compile the debug Branch and I could play videos, but I get no
video - only audio is working. The libraries are loaded and also no other
errors in LogCat, except "AV_LOG_WARNING: No accelerated colorspace
conversion found from %s to %s", but I think that's ok.

Device: HTC Desire
OS: Android 2.2
Already tried it with Windows/cygwin and Linux - both with ndk-r4 and
ndk-r5 - makes no difference.

Any ideas? Thanks!!!
(sorry for my buggy english)

Reply to this email directly or view it on GitHub:
#26

Yours faithfully
Havlena Petr

from ffmpeg.

dextorer avatar dextorer commented on June 8, 2024

alex, I'm facing exactly the same situation as you are. Some videos do play, but the video track is too fast, like two times faster than normal, while others have no video track displayed; the audio works fine for every video I've tested so far.

I honestly don't know what the problem might be. Methods are correctly invoked but no chance to get the video all the times! Also, some methods invocations don't affect the player at all (like setFrameSkip(), ..). Any clue on that? Wondering if other people, other than havlena, succeded in this..

from ffmpeg.

Mobiloitte avatar Mobiloitte commented on June 8, 2024

same issue i am also facing here,Please help me.Here video file audio is working but video is not available on sureface.

08-24 14:39:17.207: ERROR/FFMpegMediaPlayer(2371): AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s.

see my complete Logcat here:

08-24 14:39:13.437: INFO/FFMpegPlayer-JNI(2371): native_init
08-24 14:39:13.437: INFO/FFMpegPlayer-JNI(2371): native_setup
08-24 14:39:13.437: INFO/FFMpegMediaPlayer(2371): setListener
08-24 14:39:13.437: INFO/FFMpegPlayer-JNI(2371): setDataSource: path /sdcard/watch/movie.mp4
08-24 14:39:13.437: INFO/FFMpegMediaPlayer(2371): setDataSource(/sdcard/watch/movie.mp4)
08-24 14:39:17.167: INFO/ActivityManager(1374): Displayed activity cz.havlena.ffmpeg.ui/.FFMpegPlayerActivity: 3979 ms (total 3979 ms)
08-24 14:39:17.207: INFO/SurfaceWrapper(2371): registering video surface
08-24 14:39:17.207: INFO/SurfaceWrapper(2371): registered
08-24 14:39:17.207: INFO/AudioTrackWrapper(2371): registering audio track
08-24 14:39:17.207: INFO/AudioTrackWrapper(2371): registered
08-24 14:39:17.207: INFO/FFMpegMediaPlayer(2371): prepareVideo
08-24 14:39:17.207: ERROR/FFMpegMediaPlayer(2371): AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s.
08-24 14:39:17.207: INFO/SurfaceWrapper(2371): getting surface's pixels 512x232
08-24 14:39:17.207: INFO/SurfaceWrapper(2371): getted
08-24 14:39:17.207: INFO/FFMpegMediaPlayer(2371): prepareAudio
08-24 14:39:17.317: INFO/AudioTrackWrapper(2371): setting audio track
08-24 14:39:17.377: INFO/FFMpegMediaPlayer(2371): starting main player thread
08-24 14:39:17.377: INFO/FFMpegMediaPlayer(2371): playing 512x232
08-24 14:39:17.377: INFO/FFMpegThread(2371): starting thread
08-24 14:39:17.377: INFO/FFMpegVideoDecoder(2371): decoding video
08-24 14:39:17.387: INFO/FFMpegThread(2371): starting thread
08-24 14:39:17.387: INFO/FFMpegAudioDecoder(2371): decoding audio
08-24 14:39:17.437: INFO/FFMpegThread(2371): thread ended

Please help me, i am takful of you...

from ffmpeg.

Mobiloitte avatar Mobiloitte commented on June 8, 2024

Hi developers,

Now i am able to play approx 50MB video by using ffmpeg codec interface when playing approx 200mb or 1gb video then only audio works video not on surface.

Please help what need change in code.why i am not able to play long video. what are the limitations on android large video mp4 file.

from ffmpeg.

Mobiloitte avatar Mobiloitte commented on June 8, 2024

waiting for response but not getting response back so wasting time for this issue.

from ffmpeg.

Mobiloitte avatar Mobiloitte commented on June 8, 2024

I wait for long time for response , now closing this issue.

from ffmpeg.

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.