Sunny wrote:
On Fri, Apr 4, 2008 at 12:34 PM, Andrea Giuliano <[EMAIL PROTECTED]> wrote:
 $ transcode -x mpeg2 -i cocco-bill.ts --export_prof dvd -o coccobill
 >
 But mplayer plays cocco-bill.ts perfectly well.


You have the answer in your question :)

$ transcode -x mplayer,mplayer -i cocco-bill.ts --export_prof dvd -o coccobill


Unfortunately, this way I still get a nice olive green movie with no sound. Here is the output from transcode:

transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /data/gulp/cocco-bill.ts (ok)
[transcode] V: import format    | unknown  (V=mplayer|A=mplayer)
[transcode] V: import frame     | disabled
XXX: zoom=yes pre_clip=no
[transcode] V: zoom             | 720x576   nan:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x2000  AC3          [   0,16,0]
[transcode] A: export format    | 0x50    MPEG layer-2 [   0,16,0]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 0 (0.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer     | 10 @ 720x576
[import_mplayer.so] v0.0.5 (2003-03-10) (video) rendered by mplayer | (audio) rendered by mplayer
[export_mp2enc.so] v1.0.10 (2004-09-27) (audio) MPEG 1/2
[export_mpeg2enc.so] v1.1.10 (2003-10-30) (video) MPEG 1/2
[import_mplayer.so] mplayer -hardframedrop -vo null -ao pcm:nowaveheader -ao pcm:file="/tmp/mplayer2transcode-audio.kUVbue" "/data/gulp/cocco-bill.ts" > /dev/null 2>&1 [import_mplayer.so] mplayer -benchmark -noframedrop -nosound -vo yuv4mpeg "/data/gulp/cocco-bill.ts" -osdlevel 0 > /dev/null 2>&1
[import_mplayer.so] tcextract -i ./stream.yuv -x yv12 -t yuv4mpeg
tc_memcpy: using sse for memcpy
[export_mpeg2enc.so] *** init-v *** !
[export_mp2enc.so] *** init-v *** !
[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -f 8 -F 3 -n p -a 2 -o "coccobill.m2v"
[export_mp2enc.so] export profile changed samplerate: 0 -> 48000 Hz.
[export_mp2enc.so] export profile changed channels: mono -> stereo.
[export_mp2enc.so] (50/4096) cmd=mp2enc -v 0 -r 48000 -b 128 -s -o "coccobill.mpa"

**ERROR: [mp2enc] can only handle files with 1 or 2 channels
encoding frame [249],  16.75 fps, 100.0%, ETA: 0:00:00, ( 0| 0| 9)
clean up | frame threads | unload modules | cancel signal | internal threads | done

I will take a closer look at it, at present it's too hard for me to understand.

Anyway many thanks for your kind answer.

--
Andrea

Reply via email to