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

Videos with no audio track cause loading to hand and video to not play #122

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Play video with no audio track (confirmed via playing in vlc and the volume 
starting at 0%)

What is the expected output?
The video to play

What do you see instead?
black screen

The Operating system you are using (Linux, Windows etc)?

Linux
What version of WebcamStudio are you using?
0.72 build 571
What version of Java are you using?
1.7.0_65

Additional notes
I noticed it by running webcamstudio from terminal, playing a video with an 
audio track showed all the loadup lines, then it would say Start audio ... 
Start video ..., but videos with no audio print Start audio ... and just sits 
there, if i mute the audio which i guess stops it from trying to load audio the 
video does play, and i'd assume adding an audio track would work also. Possible 
solution is making it load video before audio? Otherwise i'm fine with the 
workaround.



Original issue reported on code.google.com by [email protected] on 11 Jan 2015 at 8:27

@GoogleCodeExporter
Copy link
Author

Hi and thanks for the feedback.
WS currently starts two commands to play audio and video in a file.
Due to the synch routine implemented, you have to specify if the if the source 
video has no audio track.
I put a button in the Movie Stream-Panel to specify that (it is the Crossed 
Speaker near the play) that has to be activated before playing.
This will run only the video command ignoring the synch routine and should play 
fine.
When you save a studio WS will remember that setting.
Thanks.
Have a good day.
karl

Original comment by [email protected] on 12 Jan 2015 at 4:31

@GoogleCodeExporter
Copy link
Author

I will try to implement an automatic source audio detection (I think via 
"avconv -i") and then I will pass the right information, before playing, to the 
Movie stream-panel.
Already added to my to-do list.
Thanks again.
karl

Original comment by [email protected] on 12 Jan 2015 at 4:50

@GoogleCodeExporter
Copy link
Author

Heh karl, thanks for responding. Ya, like i said i figursd out how to make it 
work, and im A-OK with doing that for the time being, thanks for putting it on 
the list though.

Original comment by [email protected] on 12 Jan 2015 at 5:34

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

No branches or pull requests

1 participant