Skip to content
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

Ability to play in-progress transcode (or downloading) videos #29

Open
prashker opened this issue Jul 29, 2012 · 1 comment
Open

Ability to play in-progress transcode (or downloading) videos #29

prashker opened this issue Jul 29, 2012 · 1 comment

Comments

@prashker
Copy link

Here's my current setup.

I'm running Handbrake CLI on my PC, transcoding a file.

That file is being accessed by omxplayer through a samba share.

However, if the file is not finished transcoding, omxplayer will stop early.

For example:
If the transcode is at 50% of a 20 minute file. If I start omxplayer on that file, watch for 10 minutes,"have a nice day" will show up.

If you attempt something like this on a Desktop, with (for example VLC). VLC will complain about an incomplete file but you can click "Don't repair", and as long as the transcoding is being done faster than VLC can play the file, you will be smooth sailing as the transcoding will finish before VLC can reach that point.

Checking the log I'm getting this error.

00:00:00 T:0   DEBUG: OMXThread::Run - Exited thread with  id 1151931488
00:00:00 T:0   DEBUG: OMXThread::StopThread - Thread stopped
00:00:00 T:0   DEBUG: OMXThread::Run - Exited thread with  id 1161245792
00:00:00 T:0   DEBUG: OMXThread::StopThread - Thread stopped
00:00:00 T:0   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.audio_mixer - OMX_ErrorPortUnpopulated (0), cannot parse input stream

This may or may not be a unique situation, so I am not sure if I should expect a fix or not. However it would be mighty nice to have this.

My explanation may be odd, I'll be happy to clarify.

Edit:

Another way to explain this:

  1. Download a file (wget)
  2. An arbitrary point in the file download, start omxplayer on it (lets say 50%).
  3. While omxplayer is playing, the download finishes.
  4. omxplayer will stop at 50%, even though the download is finished (or further than 50%)

Quick Replication

wget http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.720p.DivX_Plus_HD.mkv

50% through I run

omxplayer -o hdmi Sintel_Trailer1.720p.DivX_Plus_HD.mkv

omxplayer presents "have a nice day" at the point where wget was when I started omxplayer

@singpolyma
Copy link

Earlier omxplayer builds did not have this problem, but this bug has been present for quite some time now. It is the most annoying part of using omxplayer on my RasPi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants