[mythtv-users] vdr and mythv

Per Jessen per at computer.org
Tue Jun 17 20:24:48 UTC 2014


Richard Hulme wrote:

> On 17/06/14 08:08, Per Jessen wrote:
>> Richard Hulme wrote:
>>
>>> You could almost certainly achieve the same thing now by running a
>>> user-job after recording that, for example, runs ffmpeg to determine
>>> the audio languages present and if not English (or whatever
>>> language(s)), deletes the recording.
>>
>> Would ffmpeg be able to do that?
> 
> If you run ffmpeg -i <filename> you get something like this:
> 
> Input #0, mpegts, from '11260_20120915090500.mpg':
>    Duration: 01:45:10.06, start: 69390.978700, bitrate: 3161 kb/s
>    Program 1
>      Stream #0.0[0xd14]: Video: mpeg2video (Main), yuv420p, 704x576
>      [PAR
> 16:11 DAR 16:9], 15000 kb/s, 28.32 fps, 25 tbr, 90k tbn, 50 tbc
>      Stream #0.1[0xd15](eng): Audio: mp2, 48000 Hz, stereo, s16, 192
>      kb/s Stream #0.2[0xd16](NAR): Audio: mp2, 48000 Hz, stereo, s16,
>      128
> kb/s (visual impaired)
>      Stream #0.3[0x932](eng): Subtitle: [6][0][0][0] / 0x0006
>      Stream #0.4[0x933](eng): Subtitle: dvbsub
> 
> That should be pretty easy to parse.

Interesting, I might look into that. It would be a fairly easy
work-around. 



-- 
Per Jessen, Zürich (17.9°C)
http://www.dns24.ch/ - your free DNS host, made in Switzerland.



More information about the mythtv-users mailing list