[mythtv-users] Failed radio recordings from dvb-t with 0.26-fixes
HP-mini
blm-ubunet at slingshot.co.nz
Wed Apr 24 22:10:17 UTC 2013
On Wed, 2013-04-24 at 15:39 +0100, John Pilkington wrote:
> On 24/04/13 11:21, Roger Siddons wrote:
> > >> The file length is actually 564 bytes; 3*188 bytes or 3 packets.
> > >> I was going to paste the entire thing here, but the line wrapping spoils
> > >> it. The packet heads are 47 40 00 15, 47 45 14 12, 47 05 16 3f
> > >> That was Radio4.
That looks like the "no video stream keep buffering" (no writing) bug..
The first packet is a PSI/PAT..
Try:
dvbsnoop -if <filename> -s -ts
> Hmm, yes. I often regret failure to heed 'if it ain't broke....'
> 0.25.3 Just Worked - eventually.
>
> Something else that is broke now - sometimes - is Audio track selection
> in my mythDVBcut script. This is new. I use
>
> mythffmpeg -i "filename" 2>&1 | grep -C 4 Video > tmp.txt
>
> to find out what's there and grep for Audio and Video. Now I'm seeing
>
> > [mpegts @ 0x185e140] Could not find codec parameters (Audio: mp3, 0 channels, s16)
> > [NULL @ 0x1862280] start time is not set in estimate_timings_from_pts
> > Input #0, mpegts, from '1072_20130424093100.mpg':
> > Duration: 00:26:57.37, start: 51109.892644, bitrate: 1880 kb/s
> > Stream #0:0[0x1ab1]: Video: mpeg2video (Main), yuv420p, 544x576 [SAR 32:17 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
> > Stream #0:1[0x1ab2](eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
> > Stream #0:2[0x1ab3](eng): Audio: mp3, 0 channels, s16
> > Stream #0:3[0x1ab6](eng): Subtitle: dvb_subtitle
> > At least one output file must be specified
>
> and the complaint in the first line, which I haven't seem before, breaks
> it. Just changing the grep -C 4 may fix it. It seems quite possible
> that the radio recording failure has a similar origin...
I use these to parse ffprobe output:
strsearch="\<$ff_aac_latm"
temp_str=`ffprobe -i $thefile 2>&1 | grep 'Audio' | grep $language |
grep $strsearch `
streams_latm_pid=( `echo $temp_str | awk -F'[' '{ print $2 }' | awk
-F']' '{ print$1 }' ` )
streams_latm_index=( `echo $temp_str | awk -F'#0:' '{ print $2 }' | awk
-F'[' '{ print$1 }' ` )
where language="eng" & ff_aac_latm="aac_latm"
More information about the mythtv-users
mailing list