:sout=#transcode{vcodec=mp2v,vb=2000,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=C:\Documents and Settings\Administrator\Desktop\transcode-output.ts}}
If you're interested, the input file is a short capture of a HDV stream in .ts form. You can download it here: http://eng.5ninesdata.com/~tkapela/iptv ... y-plant.ts (approx. 150 megabytes in size).
FWIW, I've tried other input filetypes, transports, etc. All result in the same error when attempting to encode with mp2v.
The messages which resulted are as follows:
Code: Select all
qt4 debug: MRL passed to the Sout: C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts
qt4 debug: Sout mrl :sout=#transcode{vcodec=mp2v,vb=2000,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=C:\Documents and Settings\Administrator\Desktop\transcode-output.ts}}
main debug: adding item `Streaming' ( C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts )
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 0
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: thread started
main debug: waiting for thread initialization
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=C:\Documents and Settings\Administrator\Desktop\transcode-output.ts}'
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 C:\Documents and Settings\Administrator\Desktop\transcode-output.ts
stream_out_standard debug: creating `file/ts://C:\Documents and Settings\Administrator\Desktop\transcode-output.ts'
stream_out_standard debug: extension is ts
stream_out_standard debug: extension -> mux=ts
stream_out_standard debug: using `file/ts://C:\Documents and Settings\Administrator\Desktop\transcode-output.ts'
main debug: looking for sout access module: 1 candidate
main debug: thread 5644 (input) created at priority 1 (input/input.c:370)
qt4 debug: Updating the stream status: 3
access_output_file debug: file access output opened (C:\Documents and Settings\Administrator\Desktop\transcode-output.ts)
main debug: using sout access module "access_output_file"
main debug: TIMER module_Need() : 18.365 ms - Total 18.365 ms / 1 intvls (Avg 18.365 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() : 10.067 ms - Total 10.067 ms / 1 intvls (Avg 10.067 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() : 35.576 ms - Total 35.576 ms / 1 intvls (Avg 35.576 ms)
main debug: using sout stream module "stream_out_duplicate"
main debug: TIMER module_Need() : 35.863 ms - Total 35.863 ms / 1 intvls (Avg 35.863 ms)
main debug: set config option: sout-transcode-vcodec to mp2v
main debug: set config option: sout-transcode-vb to 2000
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 2000kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_Need() : 52.877 ms - Total 52.877 ms / 1 intvls (Avg 52.877 ms)
main debug: `C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts' gives access `' demux `' path `C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts'
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts'
main debug: looking for access_demux module: 1 candidate
main debug: TIMER module_Need() : 0.759 ms - Total 0.759 ms / 1 intvls (Avg 0.759 ms)
main debug: creating access '' path='C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\Administrator\Desktop\smelly-plant.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts'
main debug: using access module "access_file"
main debug: TIMER module_Need() : 1.091 ms - Total 1.091 ms / 1 intvls (Avg 1.091 ms)
main debug: Using AStream*Stream
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 1408981 bytes in 0s - 95103 kbytes/s
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts'
main debug: looking for demux module: 51 candidates
main debug: using demux module "ts"
main debug: TIMER module_Need() : 7.441 ms - Total 7.441 ms / 1 intvls (Avg 7.441 ms)
main debug: looking for a subtitle file in C:\Documents and Settings\Administrator\Desktop\
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: starting in sync mode
main debug: `C:\Documents and Settings\Administrator\Desktop\smelly-plant.ts' successfully opened
ts debug: PATCallBack called
ts debug: new PAT ts_id=1241 version=29 current_next=1
ts debug: * number=1 pid=66
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=29 pid_pcr=69
ts debug: * es pid=68 type=3 fcc=mpga
main debug: selecting program id=1
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_Need() : 0.674 ms - Total 0.674 ms / 1 intvls (Avg 0.674 ms)
main debug: stream out mode -> no decoder thread
ts debug: * es pid=69 type=2 fcc=mpgv
main debug: looking for packetizer module: 18 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: TIMER module_Need() : 0.745 ms - Total 0.745 ms / 1 intvls (Avg 0.745 ms)
main debug: stream out mode -> no decoder thread
mpeg_audio debug: waiting for PTS
main debug: control type=1
mpeg_audio debug: waiting for PTS
mpeg_audio debug: waiting for PTS
mpeg_audio debug: waiting for PTS
mpeg_audio debug: waiting for PTS
mpeg_audio debug: waiting for PTS
mpeg_audio debug: waiting for PTSmpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:384
main debug: adding a new sout input (sout_input:02BA3A60)
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mpga'
main debug: looking for decoder module: 33 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_Need() : 0.841 ms - Total 0.841 ms / 1 intvls (Avg 0.841 ms)
main debug: looking for encoder module: 11 candidates
avcodec debug: libavcodec already initialized
avcodec debug: found encoder MPEG Audio layer 1/2
main debug: using encoder module "avcodec"
main debug: TIMER module_Need() : 9.502 ms - Total 9.502 ms / 1 intvls (Avg 9.502 ms)
stream_out_transcode debug: Looking for filter (mpga->s16l, channels 2->2, rate 48000->48000)
main debug: looking for audio filter2 module: 8 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: TIMER module_Need() : 1.811 ms - Total 1.811 ms / 1 intvls (Avg 1.811 ms)
main debug: Filter 'mpgatofixed32' (00C8CA90) appended to chain
stream_out_transcode debug: Looking for filter (fl32->s16l, channels 2->2, rate 48000->48000)
main debug: looking for audio filter2 module: 8 candidates
audio_format debug: fl32->s16l, bits per sample: 32->16
main debug: using audio filter2 module "audio_format"
main debug: TIMER module_Need() : 0.440 ms - Total 0.440 ms / 1 intvls (Avg 0.440 ms)
main debug: Filter 'audio_format' (02B943F0) appended to chain
stream_out_duplicate debug: duplicated a new stream codec=mpga (es=68 group=1)
main debug: adding a new input
mux_ts debug: adding input codec=mpga pid=68
mux_ts debug: new PCR PID is 68
stream_out_duplicate debug: - added for output 0
main debug: switching to async mode
main debug: adding a new sout input (sout_input:02B29CE8)
stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to fcc=`mp2v'
main debug: looking for decoder module: 33 candidates
main debug: using decoder module "libmpeg2"
main debug: TIMER module_Need() : 0.759 ms - Total 0.759 ms / 1 intvls (Avg 0.759 ms)
main debug: looking for encoder module: 11 candidates
avcodec debug: libavcodec already initialized
avcodec error: cannot open encoder
main debug: TIMER module_Need() : 20.775 ms - Total 20.775 ms / 1 intvls (Avg 20.775 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)
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:384
ts debug: eof ?
main debug: EOF reached
main debug: finished input
ts debug: pid list:
ts debug: - pid[0] seen
ts debug: - pid[66] seen
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:02BA3A60)
main debug: TIMER encoding audio frame : 0.602 ms - Total 1047.654 ms / 2029 intvls (Avg 0.516 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 'mpgatofixed32' (00C8CA90) removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 'audio_format' (02B943F0) removed from chain
main debug: removing module "audio_format"
mux_ts debug: removing input pid=68
mux_ts debug: new PCR PID is 8191
main warning: no more input streams for this mux
ts debug: - pid[68] seen
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
ts debug: - pid[69] seen
ts debug: - pid[8191] seen
main debug: removing module "ts"
main debug: removing module "access_file"
main debug: thread ended
qt4 debug: Updating the stream status: 8
main debug: dead input
main debug: thread times: real 0m10.024414s, kernel 0m1.872692s, user 0m7.651001s
main debug: thread 5644 joined (playlist/engine.c:244)
main debug: TIMER input launching for 'Streaming' : 281.984 ms - Total 281.984 ms / 1 intvls (Avg 281.984 ms)
qt4 debug: Destroy the Interaction Dialog
qt4 debug: Hide the Interaction Dialog
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: changing item without a request (current 1/2)
main debug: nothing to play
packetizer_mpegvideo debug: size 1440x1080 fps=29.970
thanks!