Changes

Plextor ConvertX PX-M402U

1,665 bytes added, 04:54, 7 March 2015
The following lines were added (+) and removed (-):
Unsuccessful.  Able to produce video display only, no sound.Successful.  Audio + Video after disable PulseAudio's control of the device.  Skip to end to see solution.mplayer errors:Problem:  Video in mplayer but no audio  Audio: no sound Starting playback... [...] [msmpeg4v1 @ 0x7f4c9546cb00]invalid startcode [msmpeg4v1 @ 0x7f4c9546cb00]header damaged Error while decoding frame!Now trying to add audio:Now to add audio:  mplayer tv:// -tv driver=v4l2:norm=NTSC:input=0:amode=1:alsa=1:adevice=hw.3,0:audiorate=32000:width=720:height=480:outfmt=yv12:device=/dev/video0  mplayer tv:// -tv driver=v4l2:norm=NTSC:input=0:amode=1:alsa=1:adevice=hw.3,0:audiorate=96000:forceaudio:width=720:height=480:outfmt=yv12:device=/dev/video0:immediatemode=0Some of the parameters explained:So that should work, right?  It didn't at first.  See the (partial) mplayer error output: [...] Error opening audio: Device or resource busy v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. Exiting... (End of file)The problem was caused by PulseAudio tieing up the resource (ConvertX audio) so it appeared busy to mplayer.  I don't know why this bothers mplayer and not vlc.  vlc doesn't seem to care.  Anyway, the solution:"''[http://linuxtv.org/wiki/index.php/OTG102#Problems_with_audio If mplayer etc. reports that the audio device is busy] "error opening audio: Device or resource busy" and you are using pulseaudio, disable pulseaudio's control of the device, eg in pavucontrol (Pulse Audio Volume Control) under configuration, set the Cx231xx Audio device to be off. This will allow other programs to access the resource through the alsa device.'' "That absolutely solved the problem with mplayer.Under the "Configuration" tab in Pulse Audio Control you see "ConvertX M402U A/V Capture" and a drop-down box next to the label "Profile."  That drop down box has the following two options:* Analog Stereo Input* OffBy changing it from "Analog Stereo Input" to "Off" you allow mplayer to have access to alsa.  You will notice that if you click on the Pulse Audio Control tab "Input Devices" that the #2 Input Device listed "ConvertX M402U A/V Analog Stereo" is not visible.  That area of the interface is empty.  If you go back and change the drop down box in the "Configuration" tab to "Analog Stereo Input" then the #2 Input Device listed "ConvertX M402U A/V Analog Stereo" under the "Input Devices" tab will become visible again.
Bureaucrat, administrator
16,192
edits