<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.1">
</HEAD>
<BODY>
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. <BR>
<BR>
Ref: <BR>
opnesuse 12.1 and opensuse 11.4 both 64b<BR>
ffmpeg 0.10.2-2.1-x64<BR>
myth 0.24.2<BR>
-Hauppage HD-PVR<BR>
<BR>
This is part of the log that shows that error: "sps_id out of range..etc" <BR>
<BR>
I appreciate any tips or direction where should I go.<BR>
-=terry=-<BR>
<BR>
----------------------------------------------------------<BR>
<BR>
<BR>
There are 1 files to process<BR>
Pre-processing recording 1: '/mnt_tb/video/1073_20120408070000.mpg'<BR>
2012-04-08 15:58:26.809 getFileInfo(): Opening '/mnt_tb/video/1073_20120408070000.mpg'<BR>
[h264 @ 0x6f9230] sps_id out of range<BR>
[h264 @ 0x6f9230] non-existing SPS 15 referenced in buffering period<BR>
[h264 @ 0x6f9230] non-existing PPS referenced<BR>
----------------------------snip----------------------------------------<BR>
[h264 @ 0x6f9230] sps_id out of range<BR>
[h264 @ 0x6f9230] non-existing SPS 32 referenced in buffering period<BR>
[h264 @ 0x6f9230] non-existing PPS 0 referenced<BR>
[h264 @ 0x6f9230] decode_slice_header error<BR>
[h264 @ 0x6f9230] no frame!<BR>
[h264 @ 0x6f9230] mmco: unref short failure<BR>
Input #0, mpegts, from '/mnt_tb/video/1073_20120408070000.mpg':<BR>
Duration: 03:29:55.19, start: 0.408378, bitrate: 1826 kb/s<BR>
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<BR>
Stream #0.1[0x1100]: Audio: aac, 48000 Hz, stereo, s16, 126 kb/s<BR>
2012-04-08 15:58:26.820 duration = 12595<BR>
2012-04-08 15:58:26.820 Extracting details from: 1073_20120408070000.mpg<BR>
2012-04-08 15:58:26.820 chanid: 1073 starttime:2012-04-08T07:00:00 <BR>
2012-04-08 15:58:26.823 File is a MythTV recording.<BR>
2012-04-08 15:58:26.824 cutframes = 609925<BR>
2012-04-08 15:58:26.824 cutduration = 10175<BR>
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in use, all queries will cease to work.<BR>
streaminfo.xml :-<BR>
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="2420" duration="12595" filename="/mnt_tb/video/1073_20120408070000.mpg" type="mpegts"> <BR>
<streams count="2"> <BR>
<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"/> <BR>
<audio bitrate="126000" channels="2" codec="aac" ffmpegindex="1" id="4352" language="N/A" samplerate="48000" start_time="0.36754" streamindex="1"/> <BR>
</streams> <BR>
</file><BR>
Cycling<BR>
Video resolution is 720 by 480<BR>
*************************************************************<BR>
Processing recording 1: '/mnt_tb/video/1073_20120408070000.mpg'<BR>
*************************************************************<BR>
File type is 'mpegts'<BR>
Video codec is 'h264'<BR>
2012-04-08 15:58:27.098 getFileInfo(): Opening '/mnt_tb/video/1073_20120408070000.mpg'<BR>
[h264 @ 0x6f9230] sps_id out of range<BR>
[h264 @ 0x6f9230] non-existing SPS 15 referenced in buffering period<BR>
[h264 @ 0x6f9230] non-existing PPS referenced<BR>
[h264 @ 0x6f9230] sps_id out of range<BR>
-------------------------------snip--------------------------------------------------------<BR>
[h264 @ 0x6f9230] sps_id out of range<BR>
[h264 @ 0x6f9230] non-existing SPS 32 referenced in buffering period<BR>
[h264 @ 0x6f9230] non-existing PPS 0 referenced<BR>
[h264 @ 0x6f9230] decode_slice_header error<BR>
[h264 @ 0x6f9230] no frame!<BR>
[h264 @ 0x6f9230] mmco: unref short failure<BR>
Input #0, mpegts, from '/mnt_tb/video/1073_20120408070000.mpg':<BR>
Duration: 03:29:55.19, start: 0.408378, bitrate: 1826 kb/s<BR>
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<BR>
Stream #0.1[0x1100]: Audio: aac, 48000 Hz, stereo, s16, 126 kb/s<BR>
2012-04-08 15:58:27.109 duration = 12595<BR>
2012-04-08 15:58:27.109 Extracting details from: 1073_20120408070000.mpg<BR>
2012-04-08 15:58:27.110 chanid: 1073 starttime:2012-04-08T07:00:00 <BR>
2012-04-08 15:58:27.112 File is a MythTV recording.<BR>
2012-04-08 15:58:27.114 cutframes = 609925<BR>
2012-04-08 15:58:27.114 cutduration = 10175<BR>
QSqlDatabasePrivate::removeDatabase: connection 'DBManager0' is still in use, all queries will cease to work.<BR>
streaminfo.xml :-<BR>
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="2420" duration="12595" filename="/mnt_tb/video/1073_20120408070000.mpg" type="mpegts"> <BR>
<streams count="2"> <BR>
<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"/> <BR>
<audio bitrate="126000" channels="2" codec="aac" ffmpegindex="1" id="4352" language="N/A" samplerate="48000" start_time="0.36754" streamindex="1"/> <BR>
</streams> <BR>
</file><BR>
Preferred audio languages eng and eng<BR>
Video id: 0x1011, Audio1: [1] 0x1100 (AAC, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)<BR>
Aspect ratio is 4:3<BR>
Re-encoding audio and video<BR>
Using encoder profiles from /usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_ntsc.xml<BR>
Encoding profile (SP) found<BR>
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 <BR>
************************************************************<BR>
ERROR: Failed while running ffmpeg to re-encode video.<BR>
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 <BR>
************************************************************<BR>
<BR>
</BODY>
</HTML>