[vlc] 0.9.8a Windows XP, encode open error transcoding ATSC 1080i to Mpeg PS

Keith Kyzivat kamaji at gmail.com
Wed Jan 14 20:27:55 CET 2009


I'm using the official 0.9.8a Windows build package, and I'm encountering
errors when trying to re-encode a saved ATSC 1080i stream (from broadcast
signal) as either a Program Stream or Transport Stream (doesn't matter).

If I just change the container and convert (leaving data the same -- no
transcoding), then all works fine, but as soon as I instruct to do a
re-encode to MPEG-2 video, VLC crashes (when using TS container) or reports
error (when using PS container) opening encoder.

If I convert to a Program stream, I can actually see VLC reporting error via
message dialog -- not so with transport stream. I'll see about getting logs
for both using cvlc interface..

Here are the logs I receive in the message dialog when converting the 1080i
ATSC TS file to Mpeg-PS, Mpeg2-audio, default bitrate and scale - verbosity
2:

ts debug: eof ?
main debug: EOF reached

qt4 debug: New Event: type 1103

qt4 debug: Updating the stream status: 8

main debug: finished input

main debug: dying input

qt4 debug: Updating the stream status: 8

main debug: dying input

ts debug: pid list:

ts debug: - pid[0] seen

ts debug: - pid[48] seen

main debug: removing module "packetizer_mpegvideo"

main debug: killing decoder fourcc `mpgv', 0 PES in FIFO

ts debug: - pid[49] seen

main debug: removing module "a52"

main debug: killing decoder fourcc `a52 ', 0 PES in FIFO

main debug: removing a sout input (sout_input:00D073D8)

main debug: removing module "a52"

main debug: thread ended

main debug: thread times: real 0m56.375000s, kernel 0m0.062500s, user
0m0.531250s

main debug: thread 5840 joined (input/decoder.c:248)

main debug: killing decoder fourcc `a52 ', 0 PES in FIFO

main debug: removing module "a52tofloat32"

main debug: removing module "bandlimited_resampler"

aout_directx debug: closing audio device

main debug: dying input

main debug: dying input

aout_directx debug: DirectSoundThread exiting

main debug: thread ended

main debug: thread times: real 0m56.421875s, kernel 0m0.000000s, user
0m0.000000s

main debug: thread 5792 joined (directx.c:664)

main debug: removing module "aout_directx"

main debug: removing module "converter_float"

main debug: removing module "float32_mixer"

main debug: Program doesn't contain anymore ES

ts debug: - pid[52] seen

ts debug: - pid[8191] seen

main debug: removing module "ts"

main debug: removing module "access_file"

main debug: thread ended

main debug: dead input

main debug: thread times: real 0m56.484375s, kernel 0m0.093750s, user
0m0.187500s

main debug: thread 5624 joined (playlist/engine.c:244)

main debug: TIMER input launching for 'Streaming' : 30.000 ms - Total 30.000
ms / 1 intvls (Avg 30.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=display)

main debug: removing module "stream_out_display"

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: changing item without a request (current 2/3)

main debug: nothing to play

main debug: stream=`display'

main debug: looking for sout stream module: 1 candidate

main debug: using sout stream module "stream_out_display"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: using sout stream module "stream_out_duplicate"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.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

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() : 14.000 ms - Total 14.000 ms / 1 intvls
(Avg 14.000 ms)

main debug: `C:\Documents and Settings\kkyzivat\My Documents\My
Videos\Capture\Video\WHDH-HD (7.1) 2009-01-09_152422.TS' gives access `'
demux `' path `C:\Documents and Settings\kkyzivat\My Documents\My
Videos\Capture\Video\WHDH-HD (7.1) 2009-01-09_152422.TS'

main debug: creating demux: access='' demux='' path='C:\Documents and
Settings\kkyzivat\My Documents\My Videos\Capture\Video\WHDH-HD (7.1)
2009-01-09_152422.TS'

main debug: looking for access_demux module: 1 candidate

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: creating access '' path='C:\Documents and Settings\kkyzivat\My
Documents\My Videos\Capture\Video\WHDH-HD (7.1) 2009-01-09_152422.TS'

qt4 debug: New Event: type 1103

qt4 debug: Updating the stream status: 1

main debug: looking for access module: 5 candidates

vcd debug: trying .cue file: C:\Documents and Settings\kkyzivat\My
Documents\My Videos\Capture\Video\WHDH-HD (7.1) 2009-01-09_152422.cue

vcd debug: could not find .cue file

access_file debug: opening file `C:\Documents and Settings\kkyzivat\My
Documents\My Videos\Capture\Video\WHDH-HD (7.1) 2009-01-09_152422.TS'

main debug: using access module "access_file"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: Using AStream*Stream

main debug: pre-buffering...

main debug: received first data for our buffer

qt4 debug: New Event: type 1103

qt4 debug: Updating the stream status: 2

main debug: pre-buffering done 1408981 bytes in 0s - 687635 kbytes/s

main debug: creating demux: access='' demux='' path='C:\Documents and
Settings\kkyzivat\My Documents\My Videos\Capture\Video\WHDH-HD (7.1)
2009-01-09_152422.TS'

main debug: looking for demux module: 51 candidates

main debug: using demux module "ts"

main debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg
3.000 ms)

main debug: looking for a subtitle file in C:\Documents and
Settings\kkyzivat\My Documents\My Videos\Capture\Video\

ts debug: DEMUX_SET_GROUP 0 00000000

main debug: starting in async mode

main debug: `C:\Documents and Settings\kkyzivat\My Documents\My
Videos\Capture\Video\WHDH-HD (7.1) 2009-01-09_152422.TS' successfully opened

ts debug: pid[49] unknown

ts debug: PATCallBack called

qt4 debug: New Event: type 1103

qt4 debug: Updating the stream status: 3

ts debug: new PAT ts_id=1363 version=5 current_next=1

ts debug: * number=3 pid=48

ts debug: * number=4 pid=64

ts debug: pid[52] unknown

main debug: control type=1

ts debug: PMTCallBack called

ts debug: new PMT program number=3 version=1 pid_pcr=49

ts debug: * es pid=49 type=2 fcc=mpgv

main debug: selecting program id=3

qt4 debug: New Event: type 1108

main debug: looking for packetizer module: 18 candidates

main debug: using packetizer module "packetizer_mpegvideo"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: stream out mode -> no decoder thread

ts debug: * es pid=52 type=129 fcc=a52

main debug: looking for packetizer module: 18 candidates

main debug: using packetizer module "a52"

main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg
0.000 ms)

main debug: stream out mode -> no decoder thread

ts warning: first packet for pid=49 cc=0xd

ts warning: first packet for pid=52 cc=0x4

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

a52 info: A/52 channels:6 samplerate:48000 bitrate:384000

main debug: adding a new sout input (sout_input:00D073D8)

stream_out_transcode debug: not transcoding a stream (fcc=`a52 ')

stream_out_duplicate debug: duplicated a new stream codec=a52 (es=52
group=3)

main debug: looking for decoder module: 34 candidates

main debug: using decoder module "a52"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: thread 5840 (decoder) created at priority 2
(input/decoder.c:217)

stream_out_duplicate debug: - added for output 0

main debug: switching to sync mode

main debug: thread started

a52 info: A/52 channels:6 samplerate:48000 bitrate:384000

main debug: no aout present, spawning one

main debug: looking for audio output module: 3 candidates

aout_directx debug: OpenAudio

aout_directx debug: found device: Primary Sound Driver

aout_directx debug: found device: SigmaTel Audio

aout_directx debug: found device: Bluetooth Audio

aout_directx debug: found device: Bluetooth High Quality Audio

aout_directx debug: device supports 5.1 channels

aout_directx debug: device supports 4 channels

aout_directx debug: device supports 2 channels

aout_directx debug: device supports 1 channel

aout_directx debug: Windows says your SpeakerConfig is stereo

aout_directx debug: device supports A/52 over S/PDIF

aout_directx debug: creating DirectSoundThread

main debug: thread 5792 (DirectSound Notification Thread) created at
priority 15 (directx.c:392)

main debug: using audio output module "aout_directx"

main debug: TIMER module_Need() : 29.000 ms - Total 29.000 ms / 1 intvls
(Avg 29.000 ms)

main debug: thread started

aout_directx debug: DirectSoundThread ready

main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes

main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes

main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo

main debug: looking for audio filter module: 24 candidates

main debug: using audio filter module "converter_float"

main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg
0.000 ms)

main debug: found a filter for the whole conversion

main debug: looking for audio mixer module: 3 candidates

main debug: using audio mixer module "float32_mixer"

main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg
0.000 ms)

main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/1536 bytes

main debug: filter(s) 'a52 '->'fl32' 48000 Hz->48000 Hz 3F2R/LFE->Stereo

main debug: looking for audio filter module: 24 candidates

main debug: using audio filter module "a52tofloat32"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: found a filter for the whole conversion

main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo

main debug: looking for audio filter module: 24 candidates

main debug: using audio filter module "bandlimited_resampler"

main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg
1.000 ms)

main debug: found a filter for the whole conversion

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: waiting for sequence start

packetizer_mpegvideo debug: size 1920x1080 fps=29.970

main debug: adding a new sout input (sout_input:00BA9FB0)

stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to
fcc=`mp2v'

main debug: looking for decoder module: 34 candidates

main debug: using decoder module "libmpeg2"

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 debug: Warning vbv_delay will be set to 0xFFFF (=VBR) as the
specified vbv buffer is too large for the given bitrate!

(mpeg2video at 02D4D690)

avcodec debug: removing common factors from framerate

(mpeg2video at 02D4D690)

avcodec warning: Set profile and level

(mpeg2video at 02D4D690)

avcodec error: cannot open encoder

qt4 debug: Destroy the Interaction Dialog

qt4 debug: Hide the Interaction Dialog

main debug: TIMER module_Need() : 10.000 ms - Total 10.000 ms / 1 intvls
(Avg 10.000 ms)

stream_out_transcode error: cannot find video encoder (module:any
fourcc:mp2v)

main debug: removing module "libmpeg2"

stream_out_transcode error: cannot create video chain

main error: cannot create packetizer output (mpgv)


I do see libavcodec_plugin.dll in the plugins directory, so I wouldn't think
it would be a problem with it not finding the avcodec dll...
Any ideas? Is it something stupid I overlooked?

-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20090114/8048d60a/attachment.html>


More information about the vlc mailing list