Hello,

I'm trying to transcode a .dv file to mpeg2.  The .dv file comes from my 
camcorder and I used dvgrab to copy it to disk.

When trying to transcode I'm getting this:

$ transcode -i judo-2006.05.11_17-21-52.dv --export_asr 3 -F 8,"-a 3" -y 
mpeg2enc,mp2enc -o judo-2006.05.11_17-21-52 --print_status 10
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't open file VIDEO_TS.IFO.
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source judo-2006.05.11_17-21-52.dv (ok)
[transcode] V: import format    | Digital Video  (V=dv|A=dv)
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 16:9
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x1     PCM          [48000,16,2] 1536 kbps
[transcode] A: export format    | 0x50    MPEG layer-2 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
tc_memcpy: using libc for memcpy
[transcode] V: video buffer     | 10 @ 720x576
[import_dv.so] v0.3.1 (2003-10-14) (video) DV | (audio) PCM
[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_dv.so] tcextract -x dv -i "judo-2006.05.11_17-21-52.dv" -d 0 | 
tcdecode -x dv -y pcm -d 0
[import_dv.so] tcextract -x dv -i "judo-2006.05.11_17-21-52.dv" -d 0 | 
tcdecode -x dv -y yv12 -d 0 -Q 5
tc_memcpy: using libc for memcpy
tc_memcpy: using libc 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 
3 -o "judo-2006.05.11_17-21-52.m2v" -a 3
[export_mp2enc.so] (65/4096) cmd=mp2enc -v 0 -r 48000 -b 
128 -s -o "judo-2006.05.11_17-21-52.mpa"
sh: line 1: 12527 Broken pipe             tcextract -x 
dv -i "judo-2006.05.11_17-21-52.dv" -d 0
     12529 Segmentation fault      (core dumped) | tcdecode -x dv -y yv12 -d 
0 -Q 5
**ERROR: [mp2enc] Error reading wave data

clean up | frame threads | unload modules | cancel signal | internal threads | 
done
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length   0.00 s


both, transcode and mjpegtools, have been compiled with CFLAGS="-O2 -ggdb", 
but gdb does not provide usefull information:

(gdb) core core
Failed to read a valid object file image from memory.
Core was generated by `mpeg2enc -v 0 -I 0 -f 8 -F 3 -n p -a 3 -o 
judo-2006.05.11_17-21-52.m2v -a 3 '.
Program terminated with signal 11, Segmentation fault.
#0  0x0000040000068d90 in ?? ()
(gdb)


gdb says mpeg2enc fails, but the broken pipe is reported as tcdecode, so I'm 
not sure where to report this error...

I can reprocude this on Ubuntu/x86, Gentoo/PPC64, Gentoo/PPC. I'm using 
transcode version 1.0.2 and mjpegtools version 1.8.0.

I could upload the dv file to some webspace if there is need for this.

Regards,

Markus

Reply via email to