[FFmpeg-user] EPG stream

Henk D. Schoneveld belcampo at zonnet.nl
Sun Sep 6 23:08:54 CEST 2015


> On 06 Sep 2015, at 23:06, Henk D. Schoneveld <belcampo at zonnet.nl> wrote:
> 
>> 
>> On 06 Sep 2015, at 22:44, Mitja Pirih <mitja at alternet.si> wrote:
>> 
>> On 06. 09. 2015 21:54, Henk D. Schoneveld wrote:
>>>> On 06 Sep 2015, at 20:48, Mitja Pirih <mitja at alternet.si> wrote:
>>>> 
>>>> On 31. 08. 2015 11:12, Mitja Pirih wrote:
>>>>> Hello,
>>>>> 
>>>>> What are my options for EPG with ffmpeg?
>>>>> Currently I am grabbing a DVB-T stream (with mumudvb) and encoding it to
>>>>> x264, but it the process I am loosing EPG.
>>>>> Is there a method to inserting EPG back into the stream?
>>>>> 
>>> EPG = Electronic Program Guide. What makes you think this data is available in your source file ?
>> 
>> VLC is showing EPG on a multicast stream grabbed from DVB-T. So I
>> deducted it is encoded into one of the streams.
> Somewhere in the DVB-stream, which contains several TransportStreams and there will be EPG data which VLC is able to show, but that isn’t part of the TransportStream that you are encoding. This is AFAIK. And AFAIK the TransportStream isn’t able to hold these data, program description etc.TVheadend does something like mumudvb is doing and is able to save these program data in an mov container when the recording option is
Not a mov, but a mkv container, autospelling AARRGGHH 
> chosen. AFAIK it combines the the data of the EPG with that of the TransportStream, that way it is possible to achieve what you probably are looking for. I hope it helps a little bit. Once repeated again all is AFAIK, no guarantees. 
>> 
>> ffprobe http://10.1.2.202:8007/bysid/4006
>> ffprobe version N-73895-g323ec6b Copyright (c) 2007-2015 the FFmpeg
>> developers
>> built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>> configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg
>> --enable-avresample --disable-debug --enable-nonfree --enable-gpl
>> --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
>> --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse
>> --enable-libdcadec --enable-libx264 --enable-libx265 --enable-libfdk-aac
>> --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx
>> --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
>> --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
>> libavutil      54. 28.100 / 54. 28.100
>> libavcodec     56. 50.101 / 56. 50.101
>> libavformat    56. 40.101 / 56. 40.101
>> libavdevice    56.  4.100 / 56.  4.100
>> libavfilter     5. 25.100 /  5. 25.100
>> libavresample   2.  1.  0 /  2.  1.  0
>> libswscale      3.  1.101 /  3.  1.101
>> libswresample   1.  2.101 /  1.  2.101
>> libpostproc    53.  3.100 / 53.  3.100
>> [mpeg2video @ 0x2fb6320] Invalid frame dimensions 0x0.
>>   Last message repeated 7 times
>> [mpegts @ 0x2fa7980] Could not find codec parameters for stream 4
>> (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
>> Consider increasing the value for the 'analyzeduration' and 'probesize'
>> options
>> [mpegts @ 0x2fa7980] Could not find codec parameters for stream 5
>> (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
>> Consider increasing the value for the 'analyzeduration' and 'probesize'
>> options
>> [mpegts @ 0x2fa7980] Could not find codec parameters for stream 6
>> (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
>> Consider increasing the value for the 'analyzeduration' and 'probesize'
>> options
>> [mpegts @ 0x2fa7980] Could not find codec parameters for stream 7
>> (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
>> Consider increasing the value for the 'analyzeduration' and 'probesize'
>> options
>> [mpegts @ 0x2fa7980] Could not find codec parameters for stream 8
>> (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
>> Consider increasing the value for the 'analyzeduration' and 'probesize'
>> options
>> Input #0, mpegts, from 'http://10.1.2.202:8007/bysid/4006':
>> Duration: N/A, start: 28231.348789, bitrate: N/A
>> Program 4006
>>   Metadata:
>>     service_name    : Italia1
>>     service_provider: Mediaset
>>   Stream #0:0[0x653](ita,ita): Subtitle: dvb_teletext ([6][0][0][0] /
>> 0x0006)
>>   Stream #0:1[0x654]: Video: mpeg2video (Main) ([2][0][0][0] /
>> 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25
>> fps, 25 tbr, 90k tbn, 50 tbc
>>   Stream #0:2[0x655](ita): Audio: mp2 ([4][0][0][0] / 0x0004), 48000
>> Hz, stereo, s16p, 192 kb/s
>>   Stream #0:3[0x656](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000
>> Hz, stereo, s16p, 128 kb/s
>>   Stream #0:4[0x1e78]: Unknown: none ([11][0][0][0] / 0x000B)
>>   Stream #0:5[0x1e79]: Unknown: none ([11][0][0][0] / 0x000B)
>>   Stream #0:6[0x1ea0]: Unknown: none ([5][0][0][0] / 0x0005)
>>   Stream #0:7[0x1ea1]: Unknown: none ([5][0][0][0] / 0x0005)
>>   Stream #0:8[0x1ea2]: Unknown: none ([5][0][0][0] / 0x0005)
>> Unsupported codec with id 94215 for input stream 0
>> Unsupported codec with id 0 for input stream 4
>> Unsupported codec with id 0 for input stream 5
>> Unsupported codec with id 0 for input stream 6
>> Unsupported codec with id 0 for input stream 7
>> Unsupported codec with id 0 for input stream 8
>> 
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list