error when transcoding to h263 and the reason I think

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
solar.gg
New Cone
New Cone
Posts: 4
Joined: 23 Mar 2007 09:08

error when transcoding to h263 and the reason I think

Postby solar.gg » 29 Mar 2007 11:20

when I use vlc.0.8.6(windows install version) to transcode a mpeg2/ps file to h263 format, I got the following error message:

Code: Select all

ffmpeg error: cannot open encoder stream_out_transcode error: cannot find encoder ((null)) stream_out_transcode error: cannot create video chain main error: cannot create packetizer output (mpgv)
what ever using ts or avi to encapsule it.

I have traying some other input format, like h264 and mpeg1, the same error message got.

Later, I compiled vlc.0.9.0 using Cygwin successfully, and using following 2 commands to stranscode a mpeg2/ps file to h263 format, but I still got a error,

Code: Select all

./vlc -vvv ATCA_video.mpg --sout '#transcode{vcodec=h263}:standard{access=file,mux=ts,dst=ATCA_video_263.ts}'

Code: Select all

./vlc -vvv ATCA_video.mpg --sout '#transcode{vcodec=h263}:standard{access=file,mux=avi,dst=ATCA_video_263.avi}'
and the error message in the activated dialog is:

Code: Select all

streaming/stranscoding failed: vlc could not open the encoder.
and the key message in the console is:

Code: Select all

[00000412] packetizer_mpegvideo packetizer debug: size 320x240 fps=29.970 [00000316] main stream output debug: adding a new input [00000317] stream_out_transcode private debug: creating video transcoding from fcc=`mpgv' to fcc=`h263' [00000413] main decoder debug: looking for decoder module: 26 candidates [00000413] main decoder debug: using decoder module "libmpeg2" [00000414] main encoder debug: looking for encoder module: 10 candidates [00000414] ffmpeg encoder debug: libavcodec initialized (interface 3348736 ) [00000414] ffmpeg encoder debug: The specified picture size of 320x240 is not valid for the H.263 codec. Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.(h263@00C14950) [00000414] ffmpeg encoder error: cannot open encoder [00000312] main interface error: option errors-dialog does not exist [00000317] stream_out_transcode private error: cannot find encoder ((null))
This time, I found that the reason of this error is the video size of the source file can not be surported by H.263 and ffmpeg still do not surport H.263+, so I change my command like this:

Code: Select all

./vlc -vvv ATCA_video.mpg --sout '#transcode{vcodec=h263,width=352,height=288}:standard{access=file,mux=avi,dst=ATCA_video_263.avi}'
This time, I got a well h263/avi file! :D
But, I still can not stranscode to a h263/ts file.

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 39 guests