Quantcast
Channel: VideoHelp Forum
Viewing all articles
Browse latest Browse all 45436

mpeg2 transport stream, vlc ffmpeg

$
0
0
hello everybody... i need your help please

I'm working with a small local tv station and want to feed in our video files in the cable network.

I actually have a working solution, but I'm not really lucky with it, because some cable reveiver (set-top boxes) have problems
when playing my stream. audio video dropouts.

Currently I'm doing the following:
- I have mpeg input files, 720x576, 16:9, 25fps
progressive, interlaced (bff, tff)

I convert them with ffmpeg to mpegts
Code:

ffmpeg -y -i $i -flags +ilme -pix_fmt yuv420p -r 25 -s 720x576 -profile:v 4 -bf 2 -b:v 4000k -maxrate:v 5000k -acodec mp2 -ac 2 -ab 128k -ar 48000 -f mpegts $FILE_TMP
output is almost similar to other tv stations
Code:

Format                                  : MPEG Video
Format version                          : Version 2
Format profile                          : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                    : M=3, N=12
Codec ID                                : 2
Duration                                : 27s 879ms
Bit rate mode                            : Variable
Bit rate                                : 3 101 Kbps
Maximum bit rate                        : 5 000 Kbps
Width                                    : 720 pixels
Height                                  : 576 pixels
Display aspect ratio                    : 16:9
Frame rate                              : 25.000 fps
Standard                                : PAL
Color space                              : YUV
Chroma subsampling                      : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                              : Top Field First

for playout i use vlc
Code:

cvlc -d --loop --miface eth1 ../playout/$PLAYOUTFILE --sout '#std{access=udp,mux=ts,dst=230.1.0.2:5000}'
bitrate is really low, but setting it to 5 or 6mbit, set-top boxes have problems to display the video. Also I have to set audio bitrate
to 128kbit, a higher value results in dropouts.

I'm a bit confused about that, because other tv stations play with 4-12mbit and 192kbit audio and have no problems.
what I'm doing wrong?
I would appreciate every hints about my issue... maybe other solutions...

thanks for reading :)

Viewing all articles
Browse latest Browse all 45436

Trending Articles