[mythtv] Newbie questions about mpeg2->mpeg2 transcode.
Britt Houser
britthouser at gmail.com
Fri May 21 10:02:32 EDT 2004
Hey,
I have a couple newbie questions about getting mpeg2->mpeg2 to encode.
I was using the following thread as reference.
http://www.gossamer-threads.com/lists/mythtv/dev/18050?search_string=mpeg2%20-%3E%20mpeg2;#18050
I am running version .14 (knoppmyth R4v3 install), and I saw that you
had this working in the CVS version on Jan 15th. Since version .14
was released on the 31st, does .14 release have this support?
I assumed it did, so I went head and did:
mysql -u root mythconverg
update recordingprofiles set videocodec = "MPEG-2" where name = "MPEG2";
exit
Then I fired off mythtranscode:
mythtranscode -c 2027 -s 2004-05-16T13:00:00 -l --profile
autodetect --fifodir /myth/tmp
And it started out fine, but now seems to just be hung or something.
The output thus far is:
2004-05-21 08:54:28 Transcoding from
/myth/tv/2027_20040516130000_20040516153000.nuv to
/myth/tv/2027_20040516130000_20040516153000.nuv.tmp
Input #0, mpeg, from '/myth/tv/2027_20040516130000_20040516153000.nuv':
Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2004-05-21 08:54:30 Created video fifo: /myth/tmp/vidout
2004-05-21 08:54:30 Created audio fifo: /myth/tmp/audout
2004-05-21 08:54:30 Video 480x480 at 29.97fps Audio rate: 48000
2004-05-21 08:54:30 Created fifos. Waiting for connection.
2004-05-21 08:54:30 Fast-Forwarding from 0 to 601
2004-05-21 08:54:30 Audio is 496ms ahead of video at # 3
2004-05-21 08:54:30 Audio is 463ms ahead of video at # 5
2004-05-21 08:54:30 Audio is 429ms ahead of video at # 7
2004-05-21 08:54:30 Audio is 397ms ahead of video at # 9
2004-05-21 08:54:30 Audio is 363ms ahead of video at # 11
2004-05-21 08:54:30 Audio is 329ms ahead of video at # 13
2004-05-21 08:54:30 Audio is 296ms ahead of video at # 15
2004-05-21 08:54:30 Audio is 263ms ahead of video at # 17
2004-05-21 08:54:30 Audio is 229ms ahead of video at # 19
2004-05-21 08:54:30 Audio is 196ms ahead of video at # 21
2004-05-21 08:54:30 Audio is 163ms ahead of video at # 23
2004-05-21 08:54:30 Audio is 129ms ahead of video at # 25
2004-05-21 08:54:30 Audio is 96ms ahead of video at # 27
2004-05-21 08:54:30 Audio is 62ms ahead of video at # 29
It started creating the fifos and the new file, but its size is not
growing. Also, I am not out of disk space:
# ls -l /myth/tv/2027_20040516130000*
-rw-r--r-- 1 mythtv mythtv 5831215040 May 16 15:30
/myth/tv/2027_20040516130000_20040516153000.nuv
-rw-r--r-- 1 mythtv mythtv 25717 May 16 13:44
/myth/tv/2027_20040516130000_20040516153000.nuv.png
-rw-r--r-- 1 root root 98756608 May 21 08:53
/myth/tv/2027_20040516130000_20040516153000.nuv.tmp
# ls -l /myth/tmp
total 0
prw-r--r-- 1 root root 0 May 21 08:54 audout
prw-r--r-- 1 root root 0 May 21 08:54 vidout
# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.0G 1.4G 1.5G 50% /
/dev/root.old 2.2M 342K 1.8M 16% /initrd
/dev/hda3 8.1G 1.9M 8.1G 1% /cache
/dev/hda4 100G 63G 38G 63% /myth
So I'm kind curious about what I am doing wrong? Reading up on
mythtranscode, the HOWTO-21 page says mythtranscode "can decode nuv
files into raw format". So do I need to use some other encoder in
order to get the video stream back into mpeg2. That kinda defeats the
purpose if I have to re-encode the whole thing, right? Anyway, any
help would be appreciated.
thx,
britt
PS. System is a Shuttle SV25 ( North bridge:VIA Twister-T PN133T
South bridge:VIA 686B), with PVR250, PIII-733 and 128Mb of RAM. I
know there is a bug with VIA chipset which causes live-tv to freeze
due to dma problems. Could it be what I am seeing here?)
More information about the mythtv-dev
mailing list