Page 1 of 1

CNN Videos play when displayed, but crash when transcoding.

Posted: 20 Dec 2006 04:00
by jbyram2
Something about CNN videos makes then crash when transcoded, even though they will play normally on screen. For example:

http://dynamic.cnn.com/apps/tp/video/te ... deo.ws.asx

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://dynamic.cnn.com/apps/tp/video/tech/2006/12/17/colburn.data.doctor.cnn/video.ws.asx :sout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,dst="c:\path\filename.mpg"}}
Transcodes about 3 seconds and then the dreaded "VLC media player has encountered a problem and needs to close. We are sorry for the inconvenience."

CTRL-I tells me that the video is WMV3, and the audio stream is wma2 Windows Media Video 9 and Audio 9.1 respectively.

Any solution?

Posted: 20 Dec 2006 10:28
by ubu
The mp2a setting for acodec is no longer listed amongst the supported audio codecs in the VLC documentation, so I assume
it is "deprecated". While it still seems to work for transcoding some streams, others will display the symptom you describe.
Changing it to acodec=mpga will cure the problem.

Posted: 21 Dec 2006 02:31
by jbyram2
sure did...thx