aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorMoritz Barsnick <barsnick@gmx.net>2014-08-19 14:28:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-19 20:18:01 +0200
commit66d02d3ca626664b7cdaf9b21a44b130959c6c24 (patch)
tree109dcb5d879941b5d1fab05f8de7ec533910b99a /libavformat/mpegtsenc.c
parentb1cf83b3d4e83b5e7d80ef7262039d1ef0e626e2 (diff)
downloadffmpeg-66d02d3ca626664b7cdaf9b21a44b130959c6c24.tar.gz
align and correct messages regarding bitstream filters
The messages regarding the recommended use of bitstream filters are somewhat different. This also adds the ":v" stream specifier to "-bsf h264_mp4toannexb". Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 208360f465..0184d87149 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -1193,7 +1193,8 @@ int ff_check_h264_startcode(AVFormatContext *s, const AVStream *st, const AVPack
if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) {
if (!st->nb_frames) {
av_log(s, AV_LOG_ERROR, "H.264 bitstream malformed, "
- "no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)\n");
+ "no startcode found, use the video bitstream filter 'h264_mp4toannexb' to fix it "
+ "('-bsf:v h264_mp4toannexb' option with ffmpeg)\n");
return AVERROR_INVALIDDATA;
}
av_log(s, AV_LOG_WARNING, "H.264 bitstream error, startcode missing\n");