
Apologies, site is back up.circuit_breaker wrote:Anyone got a copy of this script, any2vob ? the filename is any2vob-0.18.sh
(the author's site in this HOWTO has had a squid error displaying for a few days.)
google gives me -nothing-, don't think i didn't try!
Please, I need the script badly- gotta make some movies for a party tonight.
thanks!!
Code: Select all
$ tcprobe -i movie.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 23.976 fps, codec=XVID, frames=308989, width=608, height=256
[avilib] A: 48000 Hz, format=0x2000, bits=0, channels=5, bitrate=448 kbps,
[avilib] 201345 chunks, 721689538 bytes, CBR
[tcprobe] summary for movie.avi, (*) = not default, 0 = not detected
import frame size: -g 608x256 [720x576] (*)
frame rate: -f 23.976 [25.000] frc=1 (*)
audio track: -a 0 [0] -e 48000,0,5 [48000,16,2] -n 0x2000 [0x2000] (*)
bitrate=448 kbps
length: 308989 frames, frame_time=41 msec, duration=3:34:47.429Code: Select all
$ tcextract -d2 -i movie.avi -a0 -x ac3 | tcextract -d2 -x ac3 -t raw > audio.ac3Code: Select all
$ transcode -i movie.avi -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -c 0-00:00:00 2>&1 |grep "pre clip frame"
[transcode] V: pre clip frame | 608x360 (-52,0,-52,0)Code: Select all
$ cat ffmpeg.cfg
[mpeg2video]
vrc_minrate=1000
vrc_maxrate = 5000
vrc_buf_size = 1792Code: Select all
$ transcode -i movie.avi -y ffmpeg -F mpeg2 -Z 352x480 --export_asr 3 --encode_fields b -j -52,0,-52,0 --pulldown -o movie -P 2 -w 2200No; instead, you probably want to say "-y ffmpeg,null" to select a null audio codec. This is from the transcode man page:gmichels wrote:As you can see, I am using the "-P 2" option to bypass audio processing. Is that the correct way of doing that?
Code: Select all
-P flag
pass-through flag (0=off|1=V|2=A|3=A+V) [0].
Pass-through for flag != 1 is broken and not a trivial thing to
fix.I don't think so, but I'm not entirely positive. I would suggest using the modfps plugin on the transcode commandline:gmichels wrote:I am using "--pulldown" to add the flag and get 29.97 fps, so I don't have to deal with frame rates. Is that the correct way of doing that?
Code: Select all
-J modfps=clonetype=3 --export_fps=29.97,4Good luck!gmichels wrote:As for the rest of the process, everything is pretty much straightforward, so I guess there won't be any problems.
Thanks! Strangely my ffmpeg installation doesn't have any man pages, so I got that from google. I already changed the ffpmeg command line.danorris wrote:No; instead, you probably want to say "-y ffmpeg,null" to select a null audio codec. This is from the transcode man page:
Code: Select all
-P flag pass-through flag (0=off|1=V|2=A|3=A+V) [0]. Pass-through for flag != 1 is broken and not a trivial thing to fix.
Ok, as you are not certain, I will first try using the --pulldown option. If that doesn't work, I'll try your method, but then I would need to process the ac3 audio also, right?danorris wrote::I don't think so, but I'm not entirely positive. I would suggest using the modfps plugin on the transcode commandline:
The clonetype tells it how to replicate frames to get up to 29.97 fps. 3 means to take an average of the two adjacent frames, which seems (for me) to give the best results, although for normal CRT TVs you might want to try clonetype=1. The full list of modfps options is available on the Transcode Wiki.Code: Select all
-J modfps=clonetype=3 --export_fps=29.97,4

Code: Select all
spumux spumux.xml < menu.mpg > menu_final.mpg
DVDAuthor::spumux, version 0.6.11.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=C
INFO: Converting filenames to ANSI_X3.4-1968
INFO: Picture sel.png had 15 colors
INFO: Picture sel.png had 15 colors
INFO: Constructing blank img
INFO: Autodetect 0 = 495x52-576x109
INFO: Autodetect 1 = 273x124-436x160
INFO: Autodetect 2 = 248x164-411x200
INFO: Autodetect 3 = 221x204-384x240
INFO: Autodetect 4 = 212x244-375x280
INFO: Autodetect 5 = 193x284-356x320
INFO: Autodetect 6 = 210x324-373x360
INFO: Autodetect 7 = 237x364-400x400
INFO: Autodetect 8 = 272x405-435x441
ERR: Cannot pick button masks
ERR: Blank image, skipping line -1
WARN: Read 0, expected 4
INFO: 0 subtitles added, 1 subtitles skipped, stream: 32, offset: 0.18
Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 0 bytes.
Code: Select all
convert -colors 2 sel.png sel-out.png
convert: Invalid bit depth for RGBA image `sel-out.png'.
Code: Select all
[mpeg4 @ 0xb53d59d0]header damaged15.70 fps, EMT: 0:23:39, ( 1| 0| 8)
[transcode] warning : [import_ffmpeg.so] frame decoding failed| 0| 4)
sh: line 1: 13476 Broken pipe tcextract -a 0 -i "Easy_Rider.avi" -x mp3 -d 0
13477 | tcdecode -x mp3 -d 0 -z 44100
Try using '-depth 8' in your convert command line.nife wrote:I am now having trouble creating the menus in gimp. I have a png that is transparent except for 9 lime green boxes. They are each about 2 pixels. However when I try to use spumux it never works. It finds the buttons then gives me an error about not being able to find the masks.... I'm not sure what has happened since my old png's still work just fine with spumux.
Here is the image:
Here is the output
Code: Select all
spumux spumux.xml < menu.mpg > menu_final.mpg DVDAuthor::spumux, version 0.6.11. Build options: gnugetopt magick iconv freetype Send bugs to <dvdauthor-users@lists.sourceforge.net> INFO: Locale=C INFO: Converting filenames to ANSI_X3.4-1968 INFO: Picture sel.png had 15 colors INFO: Picture sel.png had 15 colors INFO: Constructing blank img INFO: Autodetect 0 = 495x52-576x109 INFO: Autodetect 1 = 273x124-436x160 INFO: Autodetect 2 = 248x164-411x200 INFO: Autodetect 3 = 221x204-384x240 INFO: Autodetect 4 = 212x244-375x280 INFO: Autodetect 5 = 193x284-356x320 INFO: Autodetect 6 = 210x324-373x360 INFO: Autodetect 7 = 237x364-400x400 INFO: Autodetect 8 = 272x405-435x441 ERR: Cannot pick button masks ERR: Blank image, skipping line -1 WARN: Read 0, expected 4 INFO: 0 subtitles added, 1 subtitles skipped, stream: 32, offset: 0.18 Statistics: - Processed 0 subtitles. - The longest display line had -1 characters. - The maximum number of displayed lines was 0. - The normal display height of the font arial.ttf was 0. - The bottom display height of the font arial.ttf was 0. - The biggest subtitle box had 0 bytes.
so it looks like it is getting the buttons but failing.... I don't know....
and running
so I can't change the number of colors.... What have I done wrong ? The only thing that I can think of is that one of my export settings in gimp is wrong, but I'm not sure what it could be. I have tried all the combonations... I think they all fail to change anything... all I know is that I am outta ideas... any help would be grealy appreciated.Code: Select all
convert -colors 2 sel.png sel-out.png convert: Invalid bit depth for RGBA image `sel-out.png'.
Hey Viperlin,viperlin wrote:hey, that any2vob script is "da bomb" as some people would say
using it on an avi but i think theres a small corruption in the avi, is there any way to make it ignore the fact and keep going because it wont encode past 23 mins
Code: Select all
[mpeg4 @ 0xb53d59d0]header damaged15.70 fps, EMT: 0:23:39, ( 1| 0| 8) [transcode] warning : [import_ffmpeg.so] frame decoding failed| 0| 4) sh: line 1: 13476 Broken pipe tcextract -a 0 -i "Easy_Rider.avi" -x mp3 -d 0 13477 | tcdecode -x mp3 -d 0 -z 44100
They do work, but it depends on where they are called from.redguy666 wrote:Maybe this was mentioned before, but...
how about "jump titleset x menu y;" and "call titleset x menu y;" commands? according to the dvdauthor documentation these commands are correct, but in reality dvdauthor throws error on them...
this functionality would be very useful for me...
is there any fixup, tip or plans to implement such commands?
With regard to changing from 23.976->29.97 fps, I agree with danorris that using '-J modfps' is the better more compatible option. And also that if you find the video jerky, experiment with different clonetypes.gmichels wrote:Ok, the --pulldown option really didn't work, dvdauthor complainted about the frame rate.
So, I used the same application I used in Windows, called PULLDOWN.EXE. I ran it thru wine (it's a CLI application) and then the movie had its frame rate changed to 29.97 fps, allowing dvdauthor to use the muxed m2v file.
Regarding quality, I would say it's pretty good for my needs (even considering the length of the movie), however using CCE SP gives me somewhat better quality. Perhaps it's because I usually do a 2-pass encoding in CCE SP (apart from the first analysis pass, so it's more like 3-pass) and in transcode I did only one pass.
I'll try 2-pass encoding with transcode to see if quality gets better. First I have to figure out how to do that!
Code: Select all
[mpeg2video]
fps_code = 4Code: Select all
transcode -i movie.avi -y ffmpeg -F mpeg2 -Z 352x240 --export_asr 3 --encode_fields b -o movie -E 48000,16,2 -b 224 -N 0x2000 -s2 -m movieCode: Select all
ffmpeg -i movie.ac3 movie.wavCode: Select all
soundstretch movie.wav movie_new.wav -tempo=25Code: Select all
ffmpeg -i movie_new.wav -ar 48000 -ab 384 movie_new.ac3Code: Select all
mplex -f8 -o movie.VOB movie.m2v movie_new.ac3Using pulldown conversion, the converted file does not have more (or less) frames.danorris wrote:Shiznix, I don't understand why you would need to stretch the audio track. Suppose I have a demuxed 60-second video clip, so I have a 60-second audio track and a 60-second video track at 23.976 fps. Then I convert the video up to 29.97 fps. It hasn't gotten any longer... it's still 60 seconds long... it just has more frames and is in a bigger file. If I now mux the new video back in with the original audio stream, won't everything be fine? The player should still keep everything in sync since the timestamps on the video frames have been updated to reflect the new frame rate, right?
Assume you mean 23.976 to 25 fpsThe only time I have ever needed to stretch an audio track is when converting PAL DVDs of NTSC source material back to NTSC. When the studios convert NTSC source material to PAL, they just speed up the audio, pitch shifting and all, to go from 23.976 to 29.97.
Try without '-f wav', ffmpeg should be able to detect what format to encode from/to based on the input & output filename extensions.jflintz wrote:All works great thanks to the HOWTO. Only issue that I have is with converting the ac3 file to wav to create the 5.1
here is the error that I get when trying as root or regular user
ffmpeg -i thx.ac3 -f wav thx.wav
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on May 5 2005 22:07:08, gcc: 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
thx.ac3: could not find codec parameters
I have read the whole post and search the forums and have not found an answer.
Thanks
jflintz
is missing the -D0 flag on ntsctranscode -i outtakes.avi -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o outtakes -s2 -m outtakes.ac3 -J modfps=clonetype=1 --export_fps 29.97
Could you make this blue? First time going through the guide I thought the mplex commands were part ofCombine the new audio & video files into one DVD mpg
Convert 2-channel stereo audio track to 5.1 surround sound (optional)
Done, and thanksdarcon wrote:Thanks for the great howto shiznix! My dvd plays great on my standalone dvd player, now I've just gotta figure out why my ps2 refuses to play it. Also I had 2 suggestions.
is missing the -D0 flag on ntsctranscode -i outtakes.avi -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o outtakes -s2 -m outtakes.ac3 -J modfps=clonetype=1 --export_fps 29.97
Could you make this blue? First time going through the guide I thought the mplex commands were part ofCombine the new audio & video files into one DVD mpgConvert 2-channel stereo audio track to 5.1 surround sound (optional)
Code: Select all
bash-2.05b$ transcode -i /home/chris/media/vids/holiday1.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o HOL1 -D0 -s2 -m HOL1.ac3 -J modfps=clonetype=3 --export_fps 25
transcode v1.0.0beta3 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
(dvd_reader.c) no support for DVD reading configured - exit.
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /home/chris/media/vids/holiday1.avi (ok)
[transcode] V: import format | DivX;-) RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame | 640x272 2.35:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame | 640x382 (-56,0,-54,0)
[transcode] V: zoom | 720x576 1.76:1 (Lanczos3)
[transcode] V: bits/pixel | 0.181
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x55 MPEG layer-3 [48000,16,2] 145 kbps
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] A: rescale stream | 2.000
[transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using amd64 for memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 23.9760fps to 25.0000fps
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4743 | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "/home/chris/media/vids/holiday1.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000
tc_memcpy: using amd64 for memcpy
KilledCode: Select all
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
write(4, "\340*V\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0NA\0"..., 168) = 168
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
rt_sigsuspend([INT TERM] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
rt_sigreturn(0x20) = -1 EINTR (Interrupted system call)
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
write(4, "\340*V\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\240RA"..., 168) = 168
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0Code: Select all
bash-2.05b$ file matrix.ac3
matrix.ac3: MPEG ADTS, layer III, v1, 128 kBits, 48 kHz, JntStereo
bash-2.05b$ file matrix.m2v
matrix.m2v: MPEG sequence, v2, MP@ML progressive Y'CbCr 4:2:0 video, 25 fps
Greets qwijibow,qwijibow wrote:Just wondering if anyone has managed to get transcode working on AMD64 ???
I cant seem to find any clues as to why transcode keeps ketting killed.Code: Select all
bash-2.05b$ transcode -i /home/chris/media/vids/holiday1.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o HOL1 -D0 -s2 -m HOL1.ac3 -J modfps=clonetype=3 --export_fps 25 transcode v1.0.0beta3 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg (dvd_reader.c) no support for DVD reading configured - exit. [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms [transcode] auto-probing source /home/chris/media/vids/holiday1.avi (ok) [transcode] V: import format | DivX;-) RIFF data, AVI (V=ffmpeg|A=mp3) [transcode] V: import frame | 640x272 2.35:1 XXX: zoom=yes pre_clip=yes [transcode] V: pre clip frame | 640x382 (-56,0,-54,0) [transcode] V: zoom | 720x576 1.76:1 (Lanczos3) [transcode] V: bits/pixel | 0.181 [transcode] V: decoding fps,frc | 23.976,1 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x55 MPEG layer-3 [48000,16,2] 145 kbps [transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7680 (7680.000000) [transcode] A: adjustment | 0@1000 [transcode] A: rescale stream | 2.000 [transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx asm C) tc_memcpy: using amd64 for memcpy [transcode] V: video buffer | 10 @ 720x576 [import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG [import_ffmpeg.so] v0.1.11 (2004-02-29) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG [filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate [filter_modfps.so] converting from 23.9760fps to 25.0000fps [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4743 | (audio) MPEG/AC3/PCM [import_mp3.so] MP3->PCM [import_mp3.so] tcextract -a 0 -i "/home/chris/media/vids/holiday1.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000 tc_memcpy: using amd64 for memcpy Killed
i have been trying to get transcode on gentoo to work on and off for several months now, (every time i notice this guide getting updated)
i am using all the software versions for each package as given on the first post.
any ideas anyone ?
No, video seems ok but the audio has been encoded to MP3.EDIT:
i tried transcode -i /home/chris/media/vids/holiday1.avi -y ffmpeg -F mpeg2video --export_asr 3 -o matrix -D0 -s2 -m matrix.ac3 -J modfps=clonetype=3 --export_fps 25
(using -F mpeg2video instea of --export_prof dvd-pal) and its encoding
file types are....
Will my stand alone DVD player be able to play this ???Code: Select all
bash-2.05b$ file matrix.ac3 matrix.ac3: MPEG ADTS, layer III, v1, 128 kBits, 48 kHz, JntStereo bash-2.05b$ file matrix.m2v matrix.m2v: MPEG sequence, v2, MP@ML progressive Y'CbCr 4:2:0 video, 25 fps
Unfortunately I don't own a 64-bit machine to testEDIT2: AHAAAA getting somwhere...
-F mpeg4 works too... its the --export_prof dvd-pal option that is causing the problem.
any ideas on how to fix this ?
Some DVD players do support playback of MPEG4/Divx/Xvid, but it's not yet common place.EDIT3:
Nope, didnt work. plays fine on my PC, but fails to play on the standalone DVD player. the dvd accepts the disk, but plays strange hirzontal lies of colour.
If none of the above help in any way, someone else on this forum may answer the call.still looking for a solution.
Code: Select all
bash-2.05b$ transcode -q2 -i /home/chris/media/vids/JnSBSB.avi -y ffmpeg,null --export_prof dvd-pal --export_asr 3 -o JnSBSB -D0 -s2 -m JnSBSB.ac3 -J modfps=clonetype=3 --export_fps 25
transcode v1.0.0beta3 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
(dvd_reader.c) no support for DVD reading configured - exit.
[tcprobe] RIFF data, AVI video
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
(probe.c) V magic=0x17, A magic=0x17, V codec=0x31b3, A codec=0x55
(probe.c) V magic=RIFF data, AVI, A magic=RIFF data, AVI, V codec=DivX;-), A codec=MPEG layer-3
[transcode] auto-probing source /home/chris/media/vids/JnSBSB.avi (ok)
[transcode] V: import format | DivX;-) RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame | 640x272 2.35:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame | 640x382 (-56,0,-54,0)
[transcode] V: zoom | 720x576 1.76:1 (Lanczos3)
[transcode] V: bits/pixel | 0.181
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x55 MPEG layer-3 [48000,16,2] 145 kbps
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] A: rescale stream | 2.000
[transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using amd64 for memcpy
[transcode] encoder delay = decode=40000 encode=40000 usec
[transcode] V: video buffer | 10 @ 720x576
[transcode] allocating 10 framebuffer (static)
loading audio import module /usr/lib64/transcode/import_mp3.so
loading video import module /usr/lib64/transcode/import_ffmpeg.so
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
Audio capability flag 0x1 | 0x1
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG
Video capability flag 0x2a | 0x2
(filter.c) modfps=clonetype=3
[transcode] loading filter module (0) /usr/lib64/transcode/filter_modfps.so
Filter[0].name (modfps) instance # (0)
Filter[1].name (-) instance # (0)
Filter[2].name (-) instance # (0)
Filter[3].name (-) instance # (0)
Filter[4].name (-) instance # (0)
Filter[5].name (-) instance # (0)
Filter[6].name (-) instance # (0)
Filter[7].name (-) instance # (0)
Filter[8].name (-) instance # (0)
Filter[9].name (-) instance # (0)
Filter[10].name (-) instance # (0)
Filter[11].name (-) instance # (0)
Filter[12].name (-) instance # (0)
Filter[13].name (-) instance # (0)
Filter[14].name (-) instance # (0)
Filter[15].name (-) instance # (0)
(filter.c) successfully loaded 1 filter plugin(s)
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 23.9760fps to 25.0000fps
loading audio export module /usr/lib64/transcode/export_null.so
loading video export module /usr/lib64/transcode/export_ffmpeg.so
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
(encoder.c) audio capability flag 0xffffffff | 0x1
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4743 | (audio) MPEG/AC3/PCM
(encoder.c) video capability flag 0x21f | 0x2
[transcode] starting 1 frame processing thread(s)
[transcode] starting 1 frame processing thread(s)
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "/home/chris/media/vids/JnSBSB.avi" -x mp3 -d 3 | tcdecode -x mp3 -d 3 -z 48000
tc_memcpy: using amd64 for memcpy
[tcextract] (pid=6411) RIFF data, AVI video
[tcextract] (pid=6411) starting, doing mp3
(decoder.c) audio thread id=65541
(decoder.c) video thread id=81926
Killed
bash-2.05b$ (decode_mp3.c) channels=2, samplerate=48000 Hz, bitrate=112 kbps, (1152)
bash-2.05b$ 
Just a shot in the dark, but I've seen "Killed", with no other message, when running out of swap. You might retry whatever you were doing while keeping an eye on swap/memory usage.qwijibow wrote:i know almost nothing about the inner workings of transcode. but i would hope to see some kind of error, or warning message.Code: Select all
(decoder.c) audio thread id=65541 (decoder.c) video thread id=81926 Killed bash-2.05b$ (decode_mp3.c) channels=2, samplerate=48000 Hz, bitrate=112 kbps, (1152) bash-2.05b$
a simple "Killed" could be coming from anywhere.
.

Hmmm.... Running out of slots in the process table?? I think it's a fixed size. Could it be forking a lot of processes and wiping out the process table??qwijibow wrote:Thanks for the input, but i dont think memory is the problem.
i have 1Gb of ram, and 1.5Gb of swap. swappynss is set to 60, and the swap free never below 100%. (im on a bit of a monster of a machine)
the killed error message pops up instantly, before any encoding is done.