LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-23-2010, 04:45 AM   #1
Scarletdown
Member
 
Registered: Sep 2004
Posts: 39

Rep: Reputation: 20
Captured Video Has No Sound On Some Systems


I'm having some problems with videos I have made from an external USB capture device. One Linux machine I am testing on fails to play the music from the videos. Instead, I get a bunch of high pitched static.

The captures were done on a Windows machine with WinDVR (it's highly doubtful that this capture device has any *NIX drivers), which defaults to mpeg video and mp2 audio apparently, with no obvious way to save to any other format.

Here is one of the videos I made: http://www.youtube.com/watch?v=k5XJYgfQk5I

It plays fine on the 2 Windows boxes I tested it on, as well as on one Debian box. However, the other Debian box (and the Wii via the Internet channel) fail to play the sound. I'm sure the problem is in the file itself and not the machines that it failed on, but I have no
idea where to begin troubleshooting.

I tried running the files through AVIDemux in an attempt to change the sound encoding to another format, but that gave the same results; garbled sound on the systems that were having trouble before.

Could someone here perhaps download the file I posted and check it out to figure out why it does not work like it should? Will it be possible to convert it to a format that works? I really don't want to
try to redo the above performance.
 
Old 10-23-2010, 05:15 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The video on youtube has probably been converted. Could you examine the video with "mediainfo" and post the results?
What media player are you using to play the video?
 
Old 10-23-2010, 01:53 PM   #3
Scarletdown
Member
 
Registered: Sep 2004
Posts: 39

Original Poster
Rep: Reputation: 20
I'm actually getting the same problem with videos long before they have been sent to YouTube or even gone through Kino or AVIDemux. So it isn't a YouTube conversion problem.

Here are some sample clips.

http://s4.photobucket.com/albums/y12...le-Clip-02.mp4 - Freshly Captured Unprocessed Clip


http://s4.photobucket.com/albums/y12...y-Sample-1.mp4 - A short sample that was made with Kino after being captured with WinDVR


http://s4.photobucket.com/albums/y12...y-Crockett.mp4 - A full length piece that was also put together via Kino


And running mediainfo on a couple of the files gave this:

For the Small World clip:

Format : MPEG-PS
File size : 41.1 MiB
Duration : 45s 0ms
Overall bit rate : 7 658 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=15
Duration : 44s 845ms
Bit rate mode : Variable
Bit rate : 7 281 Kbps
Nominal bit rate : 11.1 Mbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.703
Stream size : 38.9 MiB (95%)

Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 45s 0ms
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Video delay : -9ms
Stream size : 1.20 MiB (3%)


For the Detroit Rock City clip:

Format : MPEG-PS
File size : 16.4 MiB
Duration : 35s 880ms
Overall bit rate : 3 827 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Default
Duration : 35s 836ms
Bit rate mode : Variable
Bit rate : 3 687 Kbps
Nominal bit rate : 4 000 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Bits/(Pixel*Frame) : 0.356
Stream size : 15.8 MiB (96%)

Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 35s 880ms
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 280 KiB (2%)
 
Old 10-23-2010, 05:24 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You are posting compressed SWF video in your links. Not mpeg video.

You could try (re)installing VLC. That should reinstall the codec used for mp2 audio. MP2 is the audio codec that mpeg and dvd videos use.

p.s. I don't believe I just got Rick Rolled on LQ.

Last edited by jschiwal; 10-23-2010 at 06:47 PM.
 
Old 10-23-2010, 09:24 PM   #5
Scarletdown
Member
 
Registered: Sep 2004
Posts: 39

Original Poster
Rep: Reputation: 20
No Sound - Solved

Firstly, I want to take a moment to thank you for your attempts to help. Embarrassingly, it appears that we were both following the wrong trail in our troubleshooting after all.

Just out of curiosity, I brought up in Audacity the mp3 file from one of the videos and saw that the left channel was blank, while all the music was in the right channel (which I guess could be considered the secondary channel in a stereo track.) Apparently, some sound hardware can't "hear" a file like this. The channel with sound has to be the left channel in a situation of this sort.

Investigating further, I determined that it was a hardware issue involving the capture device. The left and right audio from the Wii were connected to an adapter that plugged them into a single input on the capture device. The adapter was this one:

http://i4.photobucket.com/albums/y12...o-Splitter.jpg

Of particular note is the single black band on the tip. I remembered back when I was setting up the headset for my gaming center that a similar single band adapter from line out was only giving mono sound, but a double banded tip would give me stereo. So, hoping that such would be the same for line in, I dug up a suitable 2 banded adapter:

http://i4.photobucket.com/albums/y12...ereo-Input.jpg

And lo and behold, it works. The one Deb box that was having problems successfully played a freshly recorded video just fine. Now hopefully, I can manage to edit the other videos I already made so the sound is properly in both channels so I don't have to try to completely redo them.

So again, thanks for the help, even though we were all off base on the problem. At least I learned a little more than I knew starting out. And as penance for feeling like I just wasted everyone's time, here is my show stopping number freshly recorded for everyone's amusement (and no, it is not a Rickroll).

http://www.youtube.com/watch?v=pGu1VfvrG68
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to playback/convert raw sound with sox captured with alsa 'write file' donnied Linux - General 0 04-16-2009 07:14 AM
UNIX Sound Systems TGWDNGHN General 3 11-22-2005 02:33 PM
Pinnacle systems/miro dc10(+) (zoran chipset) video out capability? fdisk Linux - Hardware 2 09-06-2005 02:56 AM
kino - slow playback of captured video... nicsmr Linux - Software 5 08-23-2005 02:01 PM
Video without sound; sound without video - in Debian, KDE with SB Live headisdead Linux - Hardware 0 06-20-2004 07:43 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration