-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No video stream detected in VideoSource #6
Comments
I tried to run a simple example from an ffmpeg tutorial (see tutorial01.c). It has more or less the same code and it runs perfectly. I am starting to believe in more of a memory management error (especially since the "release" version seems to crash). It would help if someone else could reproduce the error under Linux. |
This is so weird: now I'm trying to run my old exec of drone (which was working about an hour ago and which I made a backup of) and it doesn't work anymore (same problem). |
hey,could it have to do with the fact that we're using ffmpeg 0.8 instead On Thu, Dec 27, 2012 at 7:31 PM, sofian [email protected] wrote:
julien keable, ingénieur projets web | espresso communication & design |
Sorry, I understand this was confusing: when I talk about "my old exec of drone" I talk about the version I compiled a few weeks ago (see tag 2012-12-14--tats-linux-drone-revival). Anyway, it doesn't work anymore. I tried again by including in the gears folder only StringSource, VideoSource and VideoOutput to reduce the chances of error due to mem allocation but I still got the same problem. It might be because of conflicting versions of ffmpeg or related libraries. I noticed that a week ago apt-get update updated some av* libs, might be related to that. I still don't understand why the ffmpeg tutorial example works and not VideoSource, but it might be because they are not referring to the same library versions: the main difference between both is that the drone gear is compiled into a shared library whereas the tutorial example is compiled into an exec file: maybe the shared library and the static one for some av lib differ. |
I got this weird bug today. When trying to play a video file with VideoSource I get a "no video stream" warning from Drone and nothing plays.
The error seems to be coming from the fact that _formatContext->nb_streams = 0 in Gear_VideoSource.cpp (see below). What is weird is that the av_dump_format call at line 125 outputs finely:
Also weird is that it was working before with the exact same code! I tried to rerun the same example using the first version I was able to compile a few weeks back and it worked fine.
I tried the following withough success:
Here's the relevant lines (125-139) in Gear_VideoSource.cpp:
The text was updated successfully, but these errors were encountered: