LinHES Forums
http://forums.linhes.org/

Transcode out of memory
http://forums.linhes.org/viewtopic.php?f=11&t=19359
Page 1 of 1

Author:  jeanetienne [ Mon Dec 22, 2008 11:52 am ]
Post subject:  Transcode out of memory

Hi, I have a simple need but it looks like it's complicated to solve it. I want to compress my TV shows that I record with my PVR-350. That's it. For now each hour of show is about 2.2G, quite big.
I've tryed transcode to do the job like this: transcode -i 1002_20081222111500.mpg -o test -y ffmpeg -F mpeg2video

Has I understand this should compress to a smaller file size, am I right?

When I use transcode like this it's getting me this error:

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 1002_20081222111500.mpg (ok)
[transcode] V: import format | MPEG (V=null|A=mp3)
[transcode] V: AV demux/sync | (0) sync AV at PTS start - demuxer disabled
[transcode] V: import frame | disabled
[transcode] V: bits/pixel | 0.000 (unknown)
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x50 MPEG layer-2 [48000,16,2] 384 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] V: IA32/AMD64 accel | sse (sse mmxext mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer | 10 @ 0x0
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.11.0 | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "1002_20081222111500.mpg" -x mp2 -d 0 | tcdecode -x mp2 -d 0 -z 0
tc_memcpy: using sse for memcpy
[export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video).
picture size invalid (0x0)
[export_ffmpeg.so] Could not allocate enough memory.
[transcode] warning : (encoder.c) video export module error: init failed
[transcode] critical: failed to init encoder


Ok I see the memory error, how much memory do I need? Does it tell me that I need more hard drive space or RAM memory? I've tryed with mp4 codec and the responce is worst. Has you can see I need help here, thanks in advance.

J-E

Author:  bigbro [ Mon Dec 22, 2008 5:19 pm ]
Post subject: 

I don't see any of your hardware specs.
Have you tried the built in encoders available in the Watch Recordings menu. On my remote it is Right arrow and then select Job Options then select "Begin Transcoding" It brings up a menu that has different settings but it leaves the completed file in the same location just smaller.

While you test that you also can try this:
As a simple solution you can adjust the Bitrates for your recordings.
I use mostly Default and High Quality, but have also setup a Low Quality for just space saving of some of the "Junk" I record.

Go to Utilities/Setup then Choose > Setup.
Choose > TV Settings then Choose > Recording Profiles Then the Mpeg-2 encoders


My settings are like this.
Low Quality - 720x480 I use 1400 and 1800 produces just under 1gb/hr
Default - 720x480 I use 2000 and 2600 produces about 1.1 gb/hr
High Quality - 720x480 I use 6000 and 8000 produces 2+ gb/hr. These I use for sports or a nice movie I will transcode for later.

For Ref. Live TV - 720x480 I have 4500 and 6000

They seem acceptable to me in playback on my Sony 40" widescreen. Still better quality than any of my VCR's, even when they were fresh and had very expensive High grade tapes in them.

There are multiple variables in the remaining setup screens for audio sample rate etc. These can affect your picture quality as well.

Anyway, I hope this will help with your file sizes while we get the transcode issues solved for you. It seems that memory is not really an issue, I have 512M or more in all my systems but I thought some were running as little as 256M

Hardware posted for ref in my Sig below.

Author:  jeanetienne [ Tue Dec 23, 2008 8:00 am ]
Post subject: 

Your right, I didn't post my setup. I have an amazing Celeron 900Mhz with 128Kb of cache, with a 30G hard drive and 256Mb of RAM. I'm using a PVR-350 card witch is working great and I'm using KnoppMyth R5F27. I'm using this version because after trying all the previous one, this one gave me the better quality of KnoppMyth itself. All the other versions gave me troubles for many reasons, the latest made the image noncontinuous (I don't know the English word for saccadé). Thanks for the help, I'll try it and give you a feed back. But for the others, does somebody know how to deal with transcode?

Thanks

Author:  bigbro [ Tue Dec 23, 2008 2:41 pm ]
Post subject: 

256M ram is listed as the bare minimum for Knoppmyth in the Hardware section.

Have you tried the other steps for transcoding, as in using the built-in transcoder profiles?

Those have always worked for me.

My lightest system has always been 512M ram however.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/