MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.53k stars 286 forks source link

Can't play my videos #290

Open shopvac opened 9 years ago

shopvac commented 9 years ago

screenshot - 01062015 - 04 39 32 pm

This is my problem. I have no idea whats causing it. Aside from that, this program IS AMAZING!

shopvac commented 9 years ago

Also can someone tell what that means.

ubuntuaddicted commented 9 years ago

You're most likely missing a GStreamer library. What codec or settings did you choose in ssr? If you post a gist of your latest log I can better assist you

MaartenBaert commented 9 years ago

Alternatively, run ffprobe <filename> (or avprobe <filename>) if you don't remember the settings that you used.

shopvac commented 9 years ago

forgithub forgithub2

These are my settings, I made a random place to put the videos.

ubuntuaddicted commented 9 years ago

Try MP3 or AAC audio. I'm guessing you're missing some vorbis library. I personally use VLC to play all my videos because it always pull in almost all codec but that's just my opinion.

iamgreaser commented 9 years ago

Actually I think Vorbis is what would be available, and it's probably choking on H.264 (which is patent-encumbered). Although you should try a Matroska container. Failing that, try an OGG container.

logenkain commented 9 years ago

On Tue, Jan 06, 2015 at 07:28:59PM -0800, Ubu the Tech Guru wrote:

Try MP3 or AAC audio. I'm guessing you're missing some vorbis library. I personally use VLC to play all my videos because it always pull in almost all codec but that's just my opinion. VLC or mplayer

I would try to watch videos made on a different computer has been made with ssr using the same settings. Might also want to try moving the video from the current computer and trying to play it somewhere else.

Before that, try VLC of course. If VLC doesn't work then try the above.

MaartenBaert commented 9 years ago

The problem could be H.264 (which you can fix by installing the 'gstreamer-ugly' package), but it's perfectly possible that GStreamer is just unable to decode Vorbis from a MP4 container (even though it does support Vorbis and MP4 separately).

VLC should play any combination just fine though.

shopvac commented 9 years ago

should i do the sudo apt get install for the gstreamer-ugly? Im new to the commands and all that stuff.

StripedMonkey commented 9 years ago

sudo apt-get install gstreamer-ugly

Thats the command, make sure that you have the dash or it will not work Also, Welcome to the world of Code by the way!

On Thu, Jan 8, 2015 at 12:53 PM, shopvac notifications@github.com wrote:

should i do the sudo apt get install for the gstreamer-ugly? Im new to the commands and all that stuff.

— Reply to this email directly or view it on GitHub https://github.com/MaartenBaert/ssr/issues/290#issuecomment-69219163.

logenkain commented 9 years ago

The problem could be H.264 (which you can fix by installing the 'gstreamer-ugly' package), but it's perfectly possible that GStreamer is just unable to decode Vorbis from a MP4 container (even though it does support Vorbis and MP4 separately).

Couldn't libx264 as an mkv be used instead? That's my method. If I need a different format for youtube or something I'd just use handbrake and convert it.

shopvac commented 9 years ago

Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package gstreamer-ugly

This is what I get.

shopvac commented 9 years ago
              :~/Desktop$ Reading package lists... Done

Reading: command not found :~/Desktop$ Building dependency tree
Building: command not found :~/Desktop$ Reading state information... Done Reading: command not found :~/Desktop$ E: Unable to locate package gstreamer-ugly E:: command not found

ubuntuaddicted commented 9 years ago

sudo apt-get install gstreamer1.0-plugins-ugly OR sudo apt-get install gstreamer0.10-plugins-ugly

shopvac commented 9 years ago

Still wont work, I still get the same error. Also If I try to use something other than the H.264 I get this screenshot - 01102015 - 05 07 32 pm

And If I use one of the others I get this. [BaseEncoder::EncoderThread] Encoder thread started. [Muxer::Start] Error: Can't write header! [BaseEncoder::~BaseEncoder] Stopping encoder thread ... [BaseEncoder::EncoderThread] Encoder thread stopped. [BaseEncoder::~BaseEncoder] Stopping encoder thread ... [BaseEncoder::EncoderThread] Encoder thread stopped. [PageRecord::StartOutput] Error: Something went wrong during initialization.

MaartenBaert commented 9 years ago

As I said earlier, MP4 + Vorbis is technically possible but not supported by all players. Try replacing Vorbis with MP3, or replacing MP4 with Matroska (the latter is preferred).