← Back to team overview

openshot.developers team mailing list archive

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

 

** Attachment added: "640x480@59.94 video from Canon EOS Rebel T2i to demonstrate audio problem"
   http://launchpadlibrarian.net/46466298/mvi_0295.mov

** Description changed:

  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 either
- OpenShot, audio is only output for a fraction of a second.
+ 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
+     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
+     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.

-- 
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