[mythtv-users] Could not find codec parameters == no audio elements in stream info file ??

Greg Grotsky spikeygg at gmail.com
Fri Jul 14 03:10:28 UTC 2006


On 7/2/06, Greg Grotsky <spikeygg at gmail.com> wrote:
>
> I've been trying to get mytharchive to work but when using SP to re-encode
> the video, after it cuts the commercials it complains:
>
> --- cut ---
> File will be re-encode using profile SP
> Preferred audio languages eng and eng
> Didn't find any audio elements in stream info file.!!!
>
> Terminated
> --- end cut ---
>
> I remembed transcoding to cut commercials a while back and the audio
> disappeared as well.  How can I cut commercials without loosing quality AND
> audio?
>


Still trying to fix this problem.  When I run mytharchive on one of my
recordings from DVB-T, I get this (from /tmp/log/mythburn.log):

mythburn.py (0.1.20060629-1) starting up...
Process priority 8
script path:/usr/local/share/mythtv/mytharchive/scripts
myth share path:/usr/local/share/mythtv
passed job file: /tmp/config/mydata.xml
passed progress log file: /tmp/logs/progress.log
mythburn.py (0.1.20060629-1) starting up...
Obtaining MythTV settings from MySQL database for hostname mythbox
Obtaining date and time settings from MySQL database for hostname mythbox
Processing Mythburn job number 1.
Options - mediatype           savefilename Looking for: /usr/local/share/mythtv/mytharchive/themes/G.A.N.T./theme.xml
Loading font 0, /usr/local/share/mythtv/FreeSans.ttf size 23
Loading font 1, /usr/local/share/mythtv/FreeSans.ttf size 19
Loading font 2, /usr/local/share/mythtv/FreeSans.ttf size 17
wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1, wantDetailsPage: 1
Final DVD Video format will be pal
There are 1 files to process
Pre-processing file '1061_20060701180000.mpg' of type 'recording'
          Lilo & Stitch
2006-07-13 20:47:53.312 Opening
/mnt/stuff/recordings/1061_20060701180000.mpg
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Video: mpeg2video)
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Audio: ac3)
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Audio: ac3)
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Audio: ac3)
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Audio: ac3)
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Audio: ac3)
[mpegts @ 0x2b9710aeac40]Could not find codec parameters (Audio: ac3)
Input #0, mpegts, from '/mnt/stuff/recordings/1061_20060701180000.mpg':
  Duration: 02:00:55.3, start: 41624.761200, bitrate: 11604 kb/s
  Stream #0.0[0x31], 59.94 fps(r): Video: mpeg2video, yuv420p, 1280x720,
15000 kb/s
  Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, stereo, 192 kb/s
0: start_time: 3746.264 duration: 652.950
1: start_time: 3746.229 duration: 652.942
stream: start_time: 41624.761 duration: 7255.390 bitrate604 kb/s
2006-07-13 20:47:53.334 duration Video resolution is 1280 by 720
*************************************************************
Processing file 1061_20060701180000.mpg of type recording
*************************************************************
File type is 'mpegts'
Video codec is 'mpeg2video'
File has a cut list - attempting to run mythtrancode to remove unwanted
segments
2006-07-13 20:47:53.616 Using runtime prefix 2006-07-13 20:47:53.656 New DB connection, total: 1
2006-07-13 20:47:53.667 Enabled verbose msgs: important
2006-07-13 20:47:53.672 New DB connection, total: 2
2006-07-13 20:47:53.735 Could not find codec parameters (Video: mpeg2video)
2006-07-13 20:47:53.751 Could not find codec parameters (Audio: ac3)
2006-07-13 20:47:53.751 Could not find codec parameters (Audio: ac3)
2006-07-13 20:47:53.752 Could not find codec parameters (Audio: ac3)
2006-07-13 20:47:53.752 Could not find codec parameters (Audio: ac3)
2006-07-13 20:47:53.753 Could not find codec parameters (Audio: ac3)
2006-07-13 20:47:53.753 Could not find codec parameters (Audio: ac3)
Mux rate: 15.44 Mbit/s
2006-07-13 20:54:54.020 Frame 23 > 22. Corruption likely at pos: 7341125144
File will be re-encode using profile SP
2006-07-13 21:00:01.444 Opening /tmp/work/1/tmp
Input #0, mpeg, from '/tmp/work/1/tmp':
  Duration: 01:20:03.5, start: 0.335011, bitrate: 10556 kb/s
  Stream #0.0[0x1e0], 59.94 fps(r): Video: mpeg2video, yuv420p, 1280x720,
15000 kb/s
0: start_time: 0.030 duration: 432.317
stream: start_time: 0.335 duration: 4803.517 bitrate556 kb/s
2006-07-13 21:00:01.478 duration Preferred audio languages eng and eng
Didn't find any audio elements in stream info file.!!!

chmod: changing permissions of `/tmp': Operation not permitted
chmod: changing permissions of `/tmp/.X11-unix': Operation not permitted
chmod: changing permissions of `/tmp/.X11-unix/X0': Operation not permitted
chmod: changing permissions of `/tmp/.ICE-unix': Operation not permitted
chmod: changing permissions of `/tmp/.X0-lock': Operation not permitted
Terminated

The following is from /tmp/log/progress.log:
2006-07-13 20:47:52 mythburn.py (0.1.20060629-1) starting up...
2006-07-13 20:47:52 Obtaining MythTV settings from MySQL database for
hostname mythbox
2006-07-13 20:47:52 Obtaining date and time settings from MySQL database for
hostname mythbox
2006-07-13 20:47:52 Processing Mythburn job number 1.
2006-07-13 20:47:52 Options - mediatype erasedvdrw 2006-07-13 20:47:52           savefilename 2006-07-13 20:47:52 Looking for:
/usr/local/share/mythtv/mytharchive/themes/G.A.N.T./theme.xml
2006-07-13 20:47:52 Loading font 0, /usr/local/share/mythtv/FreeSans.ttf
size 23
2006-07-13 20:47:52 Loading font 1, /usr/local/share/mythtv/FreeSans.ttf
size 19
2006-07-13 20:47:52 Loading font 2, /usr/local/share/mythtv/FreeSans.ttf
size 17
2006-07-13 20:47:52 wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1,
wantDetailsPage: 1
2006-07-13 20:47:52 Final DVD Video format will be pal
2006-07-13 20:47:52 There are 1 files to process
2006-07-13 20:47:52 Pre-processing file '1061_20060701180000.mpg' of type
'recording'
2006-07-13 20:47:52           Lilo & Stitch
2006-07-13 20:47:53 Video resolution is 1280 by 720
2006-07-13 20:47:53
*************************************************************
2006-07-13 20:47:53 Processing file 1061_20060701180000.mpg of type
recording
2006-07-13 20:47:53
*************************************************************
2006-07-13 20:47:53 File type is 'mpegts'
2006-07-13 20:47:53 Video codec is 'mpeg2video'
2006-07-13 20:47:53 File has a cut list - attempting to run mythtrancode to
remove unwanted segments
2006-07-13 20:59:58 File will be re-encode using profile SP
2006-07-13 21:00:01 Preferred audio languages eng and eng
2006-07-13 21:00:01 Didn't find any audio elements in stream info file.!!!
2006-07-13 21:00:01
2006-07-13 21:00:01 Terminated


I'm not sure if the "could not find codec parameters" is causing the "no
audio elements in stream info file".

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060713/d3a038d7/attachment.htm 


More information about the mythtv-users mailing list