Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136341 - mythtv-0.19_p9163-r1, mythtranscode fails with 'unknown video codec'
Summary: mythtv-0.19_p9163-r1, mythtranscode fails with 'unknown video codec'
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-10 16:57 UTC by Brian Tarricone
Modified: 2006-11-09 07:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
console output from mythtranscode (mythtranscode.log,13.55 KB, text/plain)
2006-06-10 16:58 UTC, Brian Tarricone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Tarricone 2006-06-10 16:57:05 UTC
I can't seem to get mythtranscode to transcode any recorded shows.  Trying to tell the GUI to transcode after recording simply results in no transcoded video.  I tried running mythtranscode manually as:

mythtranscode --chanid 1000 --starttime '2006-06-10 06:00:00' \
    --profile 'autodetect' -v all

I'll attach the command output after posting.  The output reports "Unknown video codec:".  Odd that its seems like there should be something else after the colon, but it's blank.

emerge --info:

Portage 2.1_rc1-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.12.0_pre19
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.23.23/gentoo-distfiles/ http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ http://gentoo.ccccom.com"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac acpi4linux alsa apache2 apm asf audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cli crypt cups curl dga divx4linux dlloader dpms dri dts dv dvb dvd dvdread eds emboss encode esd exif extrafilters fbcon ffmbeg ffmpeg flac foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 ieee1394 imagemagick imlib ipv6 isdnlog joystick jpeg libg++ libwww lirc live lzo mad madwifi matroska mikmod mjpeg mmap mmx mmx2 mmxext mp3 mpeg musepack mysql mythtv ncurses net network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl pic png pppd python quicktime readline real reflection rtc samba sdl session spell spl sse sse2 ssl tcpd tga theora tiff transcode truetype truetype-fonts type1-fonts udev ungif usb v4l v4l2 vcd vorbis win32codecs x264 xinerama xml xorg xv xvid xvmc xxmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Brian Tarricone 2006-06-10 16:58:37 UTC
Created attachment 88868 [details]
console output from mythtranscode
Comment 2 Brian Tarricone 2006-06-10 17:08:39 UTC
OK, I got this to work (of course, it happens properly after I file the bug).

I also tried using the 'high profile' quality (though I had to pass the profile ID from the database rather than the text string, annoyingly), with the same (failing) results.

Then I tried looking at the recording profiles options (for 'high quality') via the GUI, and even though I didn't change anything, now 'high quality' is working.  It seems like maybe the recording parameters aren't getting initialised properly?

However, I still can't make it transcode from the GUI.  During playback, if I bring up the menu, and select "Start Transcoding", it says it's doing it, but nothing appears to happen.  This only works from the cmdline.
Comment 3 Brian Tarricone 2006-06-10 17:14:50 UTC
Sorry for the repeated posts... It seems I was just impatient.  It appears mythtranscode starts up about 5-10 minutes after requesting it to start.

However, the issue still remains that the recording profiles aren't getting initialised with sane values, causing transcode jobs to fail.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2006-09-15 18:45:07 UTC
please test with the newer snapshot or with 0.20
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2006-09-28 08:47:31 UTC
Brian: The recording profiles aren't getting set properly. There doesn't appear to be an upstream bug for that if you'd like to file one with all the details you've got and post a link back here.

http://svn.mythtv.org
Comment 6 Yannick Moussette 2006-09-28 16:48:27 UTC
I'm having the same issue (in 0.19). However, when I ran the mythbackend with full debugging, I get the following lines when I queue a transcoding job:
 
2006-09-28 19:23:25.445 transcode: Transcode Starting: Atomic Betty: 1.1 GB (High Quality)
2006-09-28 19:23:25.445 JobQueue running command: '/usr/bin/mythtranscode -j 60 -V 4294967295 -p 27 '


Looks like the backend is starting mythtranscode with invalid parameters... Didn't try with 0.20 yet because of the mythweb vs backend version issue...
Comment 7 Yannick Moussette 2006-09-29 17:32:53 UTC
Same Issue with 0.20: (Unknown video Codec)

2006-09-29 17:30:36.890 adding: fizban as a client (events: 1)
[mpeg @ 0xb74ef580]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 97.099
1: start_time: 1988.993 duration: 97.104
2: start_time: 0.026 duration: 97.075
stream: start_time: 0.289 duration: 23178.561 bitrate=242 kb/s
2006-09-29 17:30:36.945 AFD: Opened codec 0x8126800, id(MPEG2VIDEO) type(Video)
2006-09-29 17:30:36.965 AFD: Opened codec 0x8126ff0, id(MP2) type(Audio)
2006-09-29 17:30:37.050 Unknown video codec:
2006-09-29 17:30:37.052 Transcoding /videos/mythtv/1139_20060929141200.mpg failed
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2006-10-05 19:49:59 UTC
Is this the same old version from 0.19? or a video recorded under 0.19? Have you configured your recording profiles.
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2006-11-06 23:53:33 UTC
which exact version of 0.20? Which version of MythTV was the video recorded with? What was the input source for the video?
Comment 10 Yannick Moussette 2006-11-09 07:00:00 UTC
I've upgraded versions since I last checked this. I'll check if this is still an issue and get back to you... I'm still a bit new with Mythtv and those recording profiles vs transcoding still has me a bit confused...