Streaming / Transcoding failed:VLC could not open the encode

About encoding, codec settings, muxers and filter usage
vtec2181
New Cone
New Cone
Posts: 3
Joined: 06 Nov 2008 18:04

Streaming / Transcoding failed:VLC could not open the encode

Postby vtec2181 » 06 Nov 2008 18:08

I am a complete noob, sorry if my question is so basic

Trying to stream the desktop to a file

The first error shows up eight lines from the bottom. Any thoughts??

Thanks!

qt4 debug: MRL passed to the Sout: screen:// :screen-fps=1
qt4 debug: Sout mrl :sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=F:\Documents and Settings\Raul\Desktop\test.avi}}
main debug: adding item `Streaming' ( screen:// :screen-fps=1 )
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 0
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: dying input
main debug: removing module "rawvideo"
main debug: thread ended
main debug: control type=0
main debug: control: stopping input
main debug: removing module "screen"
main debug: thread times: real 5m27.031250s, kernel 0m0.015625s, user 0m0.031250s
main debug: thread 5876 joined (input/decoder.c:248)
main debug: killing decoder fourcc `RV32', 1 PES in FIFO
main debug: thread ended
qt4 debug: Updating the stream status: 8
main debug: dead input
main debug: thread times: real 5m27.078125s, kernel 0m10.218750s, user 0m0.031250s
main debug: thread 5724 joined (playlist/engine.c:244)
main debug: TIMER input launching for 'Streaming' : 56.000 ms - Total 56.000 ms / 1 intvls (Avg 56.000 ms)
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=std)
main debug: removing module "mux_ts"
access_output_file debug: file access output closed
main debug: removing module "access_output_file"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: starting new item
main debug: processing request item Streaming node Playlist skip 0
main debug: resyncing on Streaming
main debug: Streaming is at 1
main debug: creating new input thread
main debug: Creating an input for 'Streaming'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 5736 (input) created at priority 1 (input/input.c:370)
qt4 debug: Updating the stream status: 3
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=file,mux=ts,dst=F:\Documents and Settings\Raul\Desktop\test.avi}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to file
main debug: set config option: sout-standard-mux to ts
main debug: set config option: sout-standard-dst to F:\Documents and Settings\Raul\Desktop\test.avi
stream_out_standard debug: creating `file/ts://F:\Documents and Settings\Raul\Desktop\test.avi'
stream_out_standard debug: extension is avi
stream_out_standard debug: extension -> mux=avi
stream_out_standard debug: using `file/ts://F:\Documents and Settings\Raul\Desktop\test.avi'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (F:\Documents and Settings\Raul\Desktop\test.avi)
main debug: using sout access module "access_output_file"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: TIMER module_Need() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: TIMER module_Need() : 20.000 ms - Total 20.000 ms / 1 intvls (Avg 20.000 ms)
main debug: using sout stream module "stream_out_duplicate"
main debug: TIMER module_Need() : 20.000 ms - Total 20.000 ms / 1 intvls (Avg 20.000 ms)
main debug: set config option: sout-transcode-vcodec to mp2v
main debug: set config option: sout-transcode-vb to 800
main debug: set config option: sout-transcode-scale to 1
main debug: set config option: sout-transcode-acodec to mpga
main debug: set config option: sout-transcode-ab to 128
main debug: set config option: sout-transcode-channels to 2
stream_out_transcode debug: codec audio=mpga 0Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=mp2v 0x0 scaling: 1.000000 800kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_Need() : 32.000 ms - Total 32.000 ms / 1 intvls (Avg 32.000 ms)
main debug: `screen:// :screen-fps=1' gives access `screen' demux `' path ` :screen-fps=1'
main debug: creating demux: access='screen' demux='' path=' :screen-fps=1'
main debug: looking for access_demux module: 1 candidate
screen debug: screen width: 1280, height: 1024, depth: 32
main debug: selecting program id=0
qt4 debug: New Event: type 1108
main debug: using access_demux module "screen"
main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: looking for a subtitle file in F:\Documents and Settings\Raul\Desktop\
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "rawvideo"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread 5892 (decoder) created at priority 0 (input/decoder.c:217)
main debug: starting in sync mode
main debug: `screen:// :screen-fps=1' successfully opened
main debug: thread started
qt4 debug: New Event: type 1103
qt4 debug: Updating the stream status: 3
main debug: control type=1
main debug: adding a new sout input (sout_input:02C9B008)
stream_out_transcode debug: creating video transcoding from fcc=`RV32' to fcc=`mp2v'
main debug: looking for decoder module: 34 candidates
kate debug: kate: OpenDecoder
main debug: using decoder module "rawvideo"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for encoder module: 11 candidates
avcodec debug: libavcodec already initialized
avcodec error: cannot open encoder
qt4 debug: Hide the Interaction Dialog
main debug: TIMER module_Need() : 16.000 ms - Total 16.000 ms / 1 intvls (Avg 16.000 ms)
stream_out_transcode error: cannot find video encoder (module:any fourcc:mp2v)
main debug: removing module "rawvideo"
stream_out_transcode error: cannot create video chain
main error: cannot create packetizer output (RV32)

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby Rémi Denis-Courmont » 06 Nov 2008 20:44

You don't have the adequate encoder/decoder.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

e268
New Cone
New Cone
Posts: 1
Joined: 07 Nov 2008 17:57

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby e268 » 07 Nov 2008 20:18

I am new here as well, and have the same problem, i.e., vlc cannot open encoder. This is on vlc 0.9.4. However, when I installed an older version 0.8.6a, the stream works and convert/save works. So, please explain what I need in terms of encoder for 0.9.4 and where I would get it. I am using Vista. Thanks.

popelheini
New Cone
New Cone
Posts: 3
Joined: 08 Nov 2008 19:56

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby popelheini » 08 Nov 2008 20:16

I am new here as well, and have the same problem, i.e., vlc cannot open encoder. This is on vlc 0.9.4. However, when I installed an older version 0.8.6a, the stream works and convert/save works. So, please explain what I need in terms of encoder for 0.9.4 and where I would get it. I am using Vista. Thanks.

I'm using Fedora 9 and can confirm e268's comment. On 0.8.6a everything was working fine, on 0.9.5 I can't convert DVDs (have tested it with DVDs successful converted on 0.8.6a)
VLC stops with
*** glibc detected *** vlc: malloc(): memory corruption: 0xae732eb0 ***
Segmentation fault

Cheers

Popel

tkapela
Blank Cone
Blank Cone
Posts: 13
Joined: 11 Nov 2008 18:15

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby tkapela » 11 Nov 2008 22:24

This error folks in this thread have been getting is identical to the error I've been seeing.

Here's the forum post I created for my issue, which tracks closely: viewtopic.php?f=2&t=52591

Can the others here who have had similar trouble try mp4v or h264, and see what happens?

For what it's worth, I've had the same problem on win32 and osx vlc 0.9.6.

Perhaps the encoder is silently dying internally, but not spewing useful logs.

-Tk

av8r
New Cone
New Cone
Posts: 7
Joined: 25 Nov 2008 05:02
VLC version: 0.8.6i or 0.9.6
Operating System: WINXP32

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby av8r » 26 Nov 2008 03:58

Reference this thread: viewtopic.php?f=14&t=53142

While I get this error with some files, others stream nicely. The only difference outlined in the above referenced post is XviD version in which the video was encoded with.

decadentlywasted
New Cone
New Cone
Posts: 2
Joined: 29 Nov 2008 13:08

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby decadentlywasted » 29 Nov 2008 13:52

I have a similar issue to this too: I'm trying to rip my DVDs to .WMV or .MP4 - anything that'll let me transfer them onto a USB to watch on my netbook - but when I try to convert them, or stream them to a file, all I get is a windows message box saying that "VLC has encountered a problem and has to close" with the "send report" and Do not send report" buttons (VLC then shuts down), or I get an error message from VLC saying that VLC can't open the codec.

I'm using XP sp3 and VLC 0.9.6 and I've tried the preset settings for MP4, WMV and MPEG2 - all with no luck. So I'm wondering, am I asking VLC to do something that it can't (convert DVDs to another format - is it a copy protection issue?), is this a bug or have I got a dodgy copy (downloaded from videolan site, so not probable). Thanks in advance for any replies.

av8r
New Cone
New Cone
Posts: 7
Joined: 25 Nov 2008 05:02
VLC version: 0.8.6i or 0.9.6
Operating System: WINXP32

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby av8r » 29 Nov 2008 16:28

I have a similar issue to this too: I'm trying to rip my DVDs to .WMV or .MP4 - anything that'll let me transfer them onto a USB to watch on my netbook - but when I try to convert them, or stream them to a file, all I get is a windows message box saying that "VLC has encountered a problem and has to close" with the "send report" and Do not send report" buttons (VLC then shuts down), or I get an error message from VLC saying that VLC can't open the codec.

I'm using XP sp3 and VLC 0.9.6 and I've tried the preset settings for MP4, WMV and MPEG2 - all with no luck. So I'm wondering, am I asking VLC to do something that it can't (convert DVDs to another format - is it a copy protection issue?), is this a bug or have I got a dodgy copy (downloaded from videolan site, so not probable). Thanks in advance for any replies.
I, too, have XP SP3. I also have XP Codec Pack 2.0.6 installed. The older VLC versions work fine with this setup.

As for DVD copy protection, I would something like DVD Decrypter and then convert to eliminate that aspect of your issue.

decadentlywasted
New Cone
New Cone
Posts: 2
Joined: 29 Nov 2008 13:08

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby decadentlywasted » 30 Nov 2008 13:17

Cheers for the info, especially for the DVD Decrypter. I'll give that a whirl.

yuzo
New Cone
New Cone
Posts: 2
Joined: 03 Dec 2008 20:51

Re: Streaming / Transcoding failed:VLC could not open the encode

Postby yuzo » 03 Dec 2008 20:59

I am also a noob to to VLC streaming and have been unsuccessful in saving the screen on Mac OS X (on a MacBook)as well.

I thought I was doing something wrong because when I choose the transcode options through the wizard for Mpeg2, I would notice a transcode failure warning in the messages output screen. Any file I try to save the screen to seems to end up with 0 bytes. This is all with the 0.9.6 version.

Should I try with an earlier version? I'm a bit worried that the 0.8 version may not work on OS X.

Yuzo


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests