← Back to team overview

openshot.developers team mailing list archive

[Bug 572020] Re: Videos with uncompressed PCM audio don't play sound properly

 

If melt can play correctly your video and ffplay can do it simply, it is a issue with MLT and not with Openshot. After, that's very strange for the audio and also in this codec. 
Have you check in the preferences if for one reason or another this codec is not present ? 

** Attachment added: "like this (see the codec also them in yellow"
   http://launchpadlibrarian.net/46709642/screenshot_191.png

-- 
Videos with uncompressed PCM audio don't play sound properly
https://bugs.launchpad.net/bugs/572020
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
I am using openshot-1.1.3-karmic1 on Ubuntu 9.10, installed from PPA.  I also have melt-0.4.4-2build1 installed.

I am trying to edit videos created by my Canon EOS Rebel T2i (aka 550D and Kiss X4).  This camera uses a .mov file format using h.264 video with uncompressed PCM audio.  When I try to play the video in OpenShot, audio is only output for a fraction of a second.

Sound works correctly when I play files using "ffplay".

Sound fails after a fraction of a second when I play files with "melt".

Here's what "ffmpeg -i" says when I point it at one of my files:

    Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mvi_0272.mov':
      Duration: 00:00:16.54, start: 0.000000, bitrate: 47683 kb/s
        Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 29.97 tbr, 29.97 tbn, 59.94 tbc
        Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    At least one output file must be specified

For the moment, it appears I will be able to get around this by transcoding audio in the files (from PCM to AC3) with a command similar to this:

    ffmpeg -i input.mov -vcodec copy -acodec ac3 -ab 384k output.mov

I'll try to upload an attachment, a few seconds of 640x480 video.  The audio is just fan noise.







References