cychiang / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
1 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 rakubu...@gmail.com on 11 Jan 2015 at 8:27

GoogleCodeExporter commented 9 years ago
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 soylent...@gmail.com on 12 Jan 2015 at 4:31

GoogleCodeExporter commented 9 years ago
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 soylent...@gmail.com on 12 Jan 2015 at 4:50

GoogleCodeExporter commented 9 years ago
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 rakubu...@gmail.com on 12 Jan 2015 at 5:34