Opened 16 years ago
Closed 16 years ago
Last modified 16 years ago
#4475 closed defect (fixed)
MythArchive stream selection failure
Reported by: | otto at kolsi dot fi | Owned by: | paulh |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mytharchive | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When using ProjectX to demux DVB-T recording, mythburn.py fails with following log.
2008-01-15 19:51:10 ************************************************************* 2008-01-15 19:51:10 Processing file /file/1003_20071223223600.mpg of type recording 2008-01-15 19:51:10 ************************************************************* 2008-01-15 19:51:27 Preferred audio languages fin and eng 2008-01-15 19:51:27 Video id: 0x131, Audio1: [1] 0x231 (MP2, fin), Audio2: [-1] - 0x-1 (N/A, N/A) 2008-01-15 19:51:27 Using Project-X to demux file 2008-01-15 19:51:27 projectx -out "/file/MythArchiveTemp/work/1" -name "1003_20071223223600" "/file/1003_20071223223600.mpg" 2008-01-15 19:52:48 Preferred audio languages fin and eng 2008-01-15 19:52:48 Video id: 0x131, Audio1: [1] 0x231 (MP2, fin), Audio2: [-1] - 0x-1 (N/A, N/A) 2008-01-15 19:52:48 ------------------------------------------------------------ Traceback (most recent call last): File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 5092, in main processJob(job) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4834, in processJob processFile(node,folder) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4321, in processFile doProcessFileProjectX(file, folder) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4668, in doProcessFileProjectX progress.log 2008-01-15 19:58:27.321 Deleting UPnP client... if not runProjectX(chanid, starttime, folder, False, mediafile): File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 2020, in runProjectX renameProjectXFiles(folder, pxbasename) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 2099, in renameProjectXFiles if os.path.exists(streamFiles[streamIds.index(stream)]): IndexError: list index out of range 2008-01-15 19:52:48 ------------------------------------------------------------
For the record, this is what ProjectX shows the file contains:
-> Input File 0: '/file/1003_20071223223600.mpg' (1,639,677,156 bytes) -> Filetype is TS (generic PES Container) -> demux -> Service ID 0x1 -> PMT 0x100 refers to these usable streams: Video: PID: 0x131 Audio: PID: 0x231(fin) Teletext: PID: 0x331(fin_i100 ) Subpict.: PID: 0x431(fin_0x11_p1_a0 ) demuxing DVB MPEG-TS file 1003_20071223223600.mpg !> PID 0x0 (PAT) (0 #1) -> ignored !> PID 0x100 (PMT) (188 #2) -> ignored ok> PID 0x131 has PES-ID 0xE0 (MPEG Video) (376 #3) ok> PID 0x331 has PES-ID 0xBD (private stream 1) (TTX) (1128 #7) ok> PID 0x231 has PES-ID 0xC0 (MPEG Audio) (26508 #142) -> video basics: 720*576 @ 25fps @ 0.7031 (16:9) @ 5000000bps, vbvBuffer 112
Attachments (2)
Change History (10)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Here is the log:
renameProjectXFiles start ----------------------------------------- found stream 0x131 found stream 0x331 found stream 0x231 /file/MythArchiveTemp/work/1/1003_20071223223600.m2v /file/MythArchiveTemp/work/1/1003_20071223223600.mp2 Preferred audio languages fin and eng Video id: 0x131, Audio1: [1] 0x231 (MP2, fin), Audio2: [-1] - 0x-1 (N/A, N/A) got stream: 305 found video streamID found video stream file got stream: 817 got stream: 561 found audio1 streamID ------------------------------------------------------------ Traceback (most recent call last): File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 5092, in main processJob(job) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4834, in processJob processFile(node,folder) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4321, in processFile doProcessFileProjectX(file, folder) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4668, in doProcessFileProjectX if not runProjectX(chanid, starttime, folder, False, mediafile): File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 2020, in runProjectX renameProjectXFiles(folder, pxbasename) File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 2099, in renameProjectXFiles if os.path.exists(streamFiles[streamIds.index(stream)]): IndexError: list index out of range ------------------------------------------------------------
comment:3 Changed 16 years ago by
OK thanks. I can see what's going wrong but don't know why yet. I'm going to need some more of the output from projectx to figure this out. I'm interested in the parts around where it says something like
---> new File:
or anything like
--> stream omitted
My guess is the private stream is being ignored and so no file is being created for that which is throwing the stream parsing off.
Changed 16 years ago by
Attachment: | mythburn.log added |
---|
Changed 16 years ago by
Attachment: | progress.log added |
---|
comment:4 Changed 16 years ago by
I've attached full mythburn.log and progress.log, hope these help.
comment:5 Changed 16 years ago by
comment:7 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [15609]) Add option to add subtitles to DVD's created by MythArchive?.
There's a new 'Add Subtitles' setting that when turned on will cause the script to automaticaly add subtitles to the DVD for any files that have them.
Only DVB subtitles are currently supported and requires that you tell MythArchive? to use ProjectX as the cutter/demuxer.
It's only been very lightly tested with a few DVB-t recordings I had to hand so there are probably still issues to be fixed.
This commit also should fix #4475.
comment:8 Changed 16 years ago by
I just installed ProjectX. On the first attempt to use it in Mytharchive (mythburn.py (0.1.20080325-1-fixes) from ATrpms), and using a cutlist, I got failure in ffmpeg while converting from mp2 to ac3.
In fact the stream files in the work folder are misidentified: stream.mv2 is the audio and stream0.mp2 is the video.
Can you also add from mythburn.log the bits between renameProjectXFiles start ----------------- renameProjectXFiles end ------------------
So I can see which streams the script is finding.