[mythtv-users] mytharchive failing HD-PVR

terry chusty at attglobal.net
Sun Apr 8 22:15:57 UTC 2012


Problem: mytharchive "Failed while running ffmpeg to re-encode video" I
had it working before and after some upgrade did not work any more. I
can not pinpoint when this occurred. 

Ref: 
opnesuse 12.1 and opensuse 11.4 both 64b
ffmpeg 0.10.2-2.1-x64
myth 0.24.2
-Hauppage HD-PVR

This is part of the log that shows that error: "sps_id out of
range..etc" 

I appreciate any tips or direction where should I go.
-=terry=-

----------------------------------------------------------


There are 1 files to process
Pre-processing recording 1: '/mnt_tb/video/1073_20120408070000.mpg'
2012-04-08 15:58:26.809 getFileInfo(): Opening
'/mnt_tb/video/1073_20120408070000.mpg'
[h264 @ 0x6f9230] sps_id out of range
[h264 @ 0x6f9230] non-existing SPS 15 referenced in buffering period
[h264 @ 0x6f9230] non-existing PPS referenced
----------------------------snip----------------------------------------
[h264 @ 0x6f9230] sps_id out of range
[h264 @ 0x6f9230] non-existing SPS 32 referenced in buffering period
[h264 @ 0x6f9230] non-existing PPS 0 referenced
[h264 @ 0x6f9230] decode_slice_header error
[h264 @ 0x6f9230] no frame!
[h264 @ 0x6f9230] mmco: unref short failure
Input #0, mpegts, from '/mnt_tb/video/1073_20120408070000.mpg':
  Duration: 03:29:55.19, start: 0.408378, bitrate: 1826 kb/s
    Stream #0.0[0x1011]: Video: h264, yuv420p, 720x480 [PAR 8:9 DAR
4:3], 224.85 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x1100]: Audio: aac, 48000 Hz, stereo, s16, 126 kb/s
2012-04-08 15:58:26.820 duration = 12595
2012-04-08 15:58:26.820 Extracting details from: 1073_20120408070000.mpg
2012-04-08 15:58:26.820 chanid: 1073 starttime:2012-04-08T07:00:00 
2012-04-08 15:58:26.823 File is a MythTV recording.
2012-04-08 15:58:26.824 cutframes = 609925
2012-04-08 15:58:26.824 cutduration = 10175
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in
use, all queries will cease to work.
streaminfo.xml :-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="2420"
duration="12595" filename="/mnt_tb/video/1073_20120408070000.mpg"
type="mpegts">    
        <streams count="2">        
                <video aspectratio="1.33333" bitrate="0" codec="h264"
ffmpegindex="0" fps="59.9401" height="480" id="4113"
start_time="0.55855" streamindex="0" width="720"/>        
                <audio bitrate="126000" channels="2" codec="aac"
ffmpegindex="1" id="4352" language="N/A" samplerate="48000"
start_time="0.36754" streamindex="1"/>        
        </streams>    
</file>
          Cycling
Video resolution is 720 by 480
*************************************************************
Processing recording 1: '/mnt_tb/video/1073_20120408070000.mpg'
*************************************************************
File type is 'mpegts'
Video codec is 'h264'
2012-04-08 15:58:27.098 getFileInfo(): Opening
'/mnt_tb/video/1073_20120408070000.mpg'
[h264 @ 0x6f9230] sps_id out of range
[h264 @ 0x6f9230] non-existing SPS 15 referenced in buffering period
[h264 @ 0x6f9230] non-existing PPS referenced
[h264 @ 0x6f9230] sps_id out of range
-------------------------------snip--------------------------------------------------------
[h264 @ 0x6f9230] sps_id out of range
[h264 @ 0x6f9230] non-existing SPS 32 referenced in buffering period
[h264 @ 0x6f9230] non-existing PPS 0 referenced
[h264 @ 0x6f9230] decode_slice_header error
[h264 @ 0x6f9230] no frame!
[h264 @ 0x6f9230] mmco: unref short failure
Input #0, mpegts, from '/mnt_tb/video/1073_20120408070000.mpg':
  Duration: 03:29:55.19, start: 0.408378, bitrate: 1826 kb/s
    Stream #0.0[0x1011]: Video: h264, yuv420p, 720x480 [PAR 8:9 DAR
4:3], 224.85 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x1100]: Audio: aac, 48000 Hz, stereo, s16, 126 kb/s
2012-04-08 15:58:27.109 duration = 12595
2012-04-08 15:58:27.109 Extracting details from: 1073_20120408070000.mpg
2012-04-08 15:58:27.110 chanid: 1073 starttime:2012-04-08T07:00:00 
2012-04-08 15:58:27.112 File is a MythTV recording.
2012-04-08 15:58:27.114 cutframes = 609925
2012-04-08 15:58:27.114 cutduration = 10175
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in
use, all queries will cease to work.
streaminfo.xml :-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="2420"
duration="12595" filename="/mnt_tb/video/1073_20120408070000.mpg"
type="mpegts">    
        <streams count="2">        
                <video aspectratio="1.33333" bitrate="0" codec="h264"
ffmpegindex="0" fps="59.9401" height="480" id="4113"
start_time="0.55855" streamindex="0" width="720"/>        
                <audio bitrate="126000" channels="2" codec="aac"
ffmpegindex="1" id="4352" language="N/A" samplerate="48000"
start_time="0.36754" streamindex="1"/>        
        </streams>    
</file>
Preferred audio languages eng and eng
Video id: 0x1011, Audio1: [1] 0x1100 (AAC, N/A), Audio2: [-1] - 0x-1
(N/A, N/A)
Aspect ratio is 4:3
Re-encoding audio and video
Using encoder profiles
from /usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_ntsc.xml
Encoding profile (SP) found
ffmpeg -threads 8 -v 1 -i "/mnt_tb/video/1073_20120408070000.mpg" -r
ntsc -target dvd -b 4771k -s 720x480 -acodec ac3 -ab 192k -ac 2 -copyts
-aspect 4:3 "/mnt_tb/dvd/work/1/newfile2.mpg" -map 0:0 -map 0:1 
************************************************************
ERROR: Failed while running ffmpeg to re-encode video.
Command was ffmpeg -threads 8 -v 1 -i
"/mnt_tb/video/1073_20120408070000.mpg" -r ntsc -target dvd -b 4771k -s
720x480 -acodec ac3 -ab 192k -ac 2 -copyts -aspect 4:3
"/mnt_tb/dvd/work/1/newfile2.mpg" -map 0:0 -map 0:1 
************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120408/11fb0910/attachment-0001.html>


More information about the mythtv-users mailing list