[mythtv-users] Cannot transcode H.264 recording

Mark Perkins perkins1724 at hotmail.com
Sat Nov 22 21:20:51 UTC 2014



> -----Original Message-----
> From: mythtv-users [mailto:mythtv-users-bounces at mythtv.org] On Behalf
> Of Yianni
> Sent: Saturday, 22 November 2014 10:58 PM
> To: mythtv-users mailing list
> Subject: [mythtv-users] Cannot transcode H.264 recording
> 
> Hi, everyone.
> 
> DVB-T just arrived in my area and I tested lossless transcoding, but it
fails
> with:
> 
> Nov
>  22 13:50:22 al2kpro.volara.net mythtranscode[13741]:
> mythtranscode[13741]: C thread_unknown
> mythcommandlineparser.cpp:2597
> (ConfigureLogging) Qt version: compile: 4.8.6, runtime: 4.8.6 Nov 22
> 13:50:22 al2kpro.volara.net mythtranscode[13741]: mythtranscode[13741]: N
> thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging)
> Enabled verbose msgs:  general Nov 22 13:50:23 al2kpro.volara.net
> mythtranscode[13741]: mythtranscode[13741]: E CoreContext
> transcode.cpp:788 (TranscodeFile) Unknown video codec: H.264 Nov 22
> 13:50:23 al2kpro.volara.net mythtranscode[13741]: mythtranscode[13741]: E
> CoreContext main.cpp:724 (main) Transcoding
> /myth/disk2/tval2kpro/2011_20141121211000.mpg failed
> 
> mythtv has been compiled with:
> MythTV Version : v0.28-pre-2415-gd0b4a31 MythTV Branch : master Network
> Protocol : 83 Library API : 0.28.20141030-1 QT Version : 4.8.6 Options
compiled
> in:
>  linux
>  release use_hidesyms using_alsa using_oss using_backend
> using_bindings_perl using_bindings_python using_bindings_php using_dvb
> using_frontend using_ceton using_hdpvr using_ivtv using_libcrypto
> using_libfftw3 using_libxml2 using_libudf using_lirc using_mheg
> using_opengl using_opengl_video using_qtwebkit using_qtscript
> using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr
> using_bindings_perl using_bindings_python using_bindings_php
> using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads
> using_mheg using_libass using_libxml2 using_libudf
> 
> al2kpro:~ # mediainfo /myth/disk2/tval2kpro/2011_20141121211000.mpg
> General
> ID                                       : 102 (0x66) Complete
name                            :
> /myth/disk2/tval2kpro/2011_20141121211000.mpg
> Format                                   : MPEG-TS File
size                                : 3.47 GiB
> Duration                                 : 2h 19mn Overall bit rate
mode                    : Variable
> Overall bit rate                         : 3 546 Kbps
> 
> Video
> ID                                       : 1550 (0x60E) Menu
ID                                  : 1 (0x1)
> Format                                   : AVC
Format/Info                              : Advanced Video
> Codec Format profile                           : Main at L3.0 Format
settings,
> CABAC                   : Yes Format settings, ReFrames                : 4
frames Codec
> ID                                 : 27
Duration                                 : 2h 19mn Bit
> rate                                 : 3 177 Kbps
Width                                    : 720 pixels
> Height                                   : 576 pixels Display aspect
ratio                     : 16:9 Frame
> rate                               : 25.000 fps
Standard                                 : PAL Color
> space                              : YUV Chroma
subsampling                       : 4:2:0 Bit
> depth                                : 8 bits Scan
type                                : MBAFF
> Bits/(Pixel*Frame)                       : 0.306 Stream
size                              : 3.11 GiB
> (90%)
> 
> Audio
> ID                                       : 1551 (0x60F) Menu
ID                                  : 1 (0x1)
> Format                                   : MPEG Audio Format
version                           : Version
> 1 Format profile                           : Layer 2
Mode                                     : Joint stereo
> Mode extension                           : Intensity Stereo + MS Stereo
Codec
> ID                                 : 3
Duration                                 : 2h 19mn Bit rate
> mode                            : Constant Bit
rate                                 : 192 Kbps
> Channel(s)                               : 2 channels Sampling
rate                            : 48.0 KHz
> Compression mode                         : Lossy Delay relative to
video                  : -1s
> 89ms Stream size                              : 192 MiB (5%)
Language                                 :
> Greek
> 
> Text
> ID                                       : 1552 (0x610)-100 Menu
ID                                  : 1 (0x1)
> Format                                   : Teletext
Language                                 : Greek
> 
> Menu
> ID                                       : 45 (0x2D) Menu
ID                                  : 1 (0x1)
> Duration                                 : 2h 19mn
List                                     : 1550 (0x60E) (AVC)
> / 1551 (0x60F) (MPEG Audio, Greek) / 1552 (0x610) ()
> Language                                 :  / Greek
> 
> 
> 
> Is it a mythtv limitation or am I missing some setting?
> 
> Thanks,
> 
> 
> Yianni.
> _______________________________________________

I'm guessing you will need to configure at compile time with some of these
options enabled (at least libx264)? Use configure --help for the full list.
https://www.mythtv.org/wiki/MythTV-HOWTO_-_0.27#Manually_building_MythTV

>>External codec library options (used for mythffmpeg and streaming
transcode):
>>  --enable-libmp3lame      enable MP3 encoding via libmp3lame [no]
>>  --enable-libfaac         enable AAC encoding via libfaac [no]
>>  --enable-libx264         enable H.264 encoding via x264 [no]
>>  --enable-libvpx          enable VP8 encoding via libvpx [no]
>>  --enable-libxvid         enable Xvid encoding via xvidcore,
>>                           native MPEG-4/Xvid encoder exists [no]
>>  --enable-sdl             enable Simple DirectMedia Layer (required for
ffplay)



More information about the mythtv-users mailing list