Any advises? I can not find a key to set ES Info, so my DVB-equipment can't recognize video-stream correctly. Does anyone here use ffmpeg to create DVB-ready stream?

On 14.10.2016. 17:33, Eugenijus Urbonas wrote:

I am trying to generate still image with silent audio-track to push it to the DVB network. MPEG-ts stream is generating with this command:

~/bin/ffmpeg -loop 1 -i ~/image-mpeg4.jpg -f lavfi -i anullsrc -map 0:v -map 1:a -c:a mp2 -b:a 128k -c:v libx264 -preset medium -profile:v baseline -level 3.0 -tune stillimage -pix_fmt yuv420p -s 720x576 -framerate 25 -crf 1 -bufsize 2000k -maxrate 2000k -f mpegts udp://

in the result I get correct SPTS with two ESs inside, but video-stream is not described as it should (there is no ES-info section): https://drive.google.com/open?id=0B27FBYXaYyqAQ2NmNHBKNXZMdXc

Input #0, mpegts, from 'udp://':

  Duration: N/A, start: 13590.794289, bitrate: N/A

  Program 1


      service_name    : Service01

      service_provider: FFmpeg

Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc

Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16p, 128 kb/s

For example, stream generated with vlc contains all info inside: https://drive.google.com/open?id=0B27FBYXaYyqATnVXX0p5dU8zY2s

Input #0, mpegts, from 'udp://':

  Duration: N/A, start: 90599.384444, bitrate: N/A

  Program 1

Stream #0:0[0x43]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc

Actually the same issue is present even if I try to wrap pre-generated h.264 file into MPEG-ts with command:

~/bin/ffmpeg -re -stream_loop 1 -i ~/video2.mpg -c:v copy -vsync drop -c:a copy -f mpegts udp://

So the question is, how could I set ES info? Could not find any useful information in documentation.

Ar cieņu, Eugenijus Urbonas
A/S Balticom
Televīzijas pakalpojuma IT inženieris
E-pasta adrese: eugenij...@balticom.eu
Kont. tālr.: 27028292

ffmpeg-user mailing list

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to