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

"No playable streams" - Saved video file #683

Open
wmbm opened this issue Feb 21, 2024 · 6 comments
Open

"No playable streams" - Saved video file #683

wmbm opened this issue Feb 21, 2024 · 6 comments

Comments

@wmbm
Copy link

wmbm commented Feb 21, 2024

Summary / Current Behavior / Expected Behavior

Whilst I can take screenshot, the video aspect of webcam capture is not working for me. If I try to record from my webcam, a non-empty output file is saved but if I try to open it, it seems to be empty "This file contains no playable streams". I've tried without any audio input, as well as different webcam inputs, however I get the same issues. I've also experimented with different FPS/formattings/output file types etc.

Steps to Reproduce

  1. Click record video
  2. Open recorded file
  3. Error message

Your Environment

  • Webcamoid information: Version 9.11
  • Operating System information: Ubuntu 22.04.4 LTS

If any further information is needed, happy to provide

@wmbm wmbm changed the title "No playable streams" - "No playable streams" - Saved video file Feb 21, 2024
@hipersayanX
Copy link
Member

Let's try the very basic. Set the camera resolution at 640x480, video format MP4, video codec libx264, audio codec AAC, does it works?

@wmbm
Copy link
Author

wmbm commented Feb 22, 2024

Tried to follow your guide, but same response

In Video Source Options
Resolution : 640x480
Video Format: MJPG
FPS: 30

In Preferences-Video Recording
File format: MP4 (MPEG-4 Part 14)
Video codec: MPEG-4 part 2 (libx264 wasn't on the list)
Audio codec: AAC

@hipersayanX
Copy link
Member

Sorry for the delay, I was not able to test the program until now.
I tested the official release with the same parameters as you and its working fine for me, also the official release has the libx264 codec.
Both ffplay and VLC con play the video file, while Firefox and Chomium can't (probably because the codec MPEG-4 part 2 is no supported there).
Also, what was the size of the file recorded in your case?

@wmbm
Copy link
Author

wmbm commented Feb 25, 2024

File size is 258 bytes

I installed via Ubuntu Software center and using version 9.1.1, so should be the same (and have libx264)

I tried on VLC, as apposed to the basic Ubuntu video player, but still no playback.

@hipersayanX
Copy link
Member

hipersayanX commented Feb 25, 2024

File size is 258 bytes
I tried on VLC, as apposed to the basic Ubuntu video player, but still no playback.

It did not recorded nothing, the file is not playable.

I installed via Ubuntu Software center and using version 9.1.1, so should be the same (and have libx264)

Should be, but the package is not managed by me, and don't know if they are using the same source code as me. The precompiled packages that I provide for GNU/Linux are actually build in Ubuntu.

@sameersharma2006
Copy link

sameersharma2006 commented Apr 8, 2024

@wmbm Does this occur with Webcamoid Snap Package ?

You can check with ;

snap list

&

snap info webcamoid

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

3 participants