[FFmpeg-user] KLV in ffmpeg
Mar Andrés López
mar.andres.l at gmv.com
Wed Sep 23 14:48:54 EEST 2020
Dear all,
I guess I found the problem why it was not working. My KLV stream is the stream 1
See the log,
[mpegts @ 0000026b6a21c380] start time for stream 1 is not set in estimate_timings_from_pts
How can I set the start time just for the stream 1??
>>ffmpeg -i testklv.mpg
ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200621
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[mpegts @ 0000026b6a21c380] start time for stream 1 is not set in estimate_timings_from_pts
Input #0, mpegts, from 'testklv.mpg':
Duration: 00:00:04.00, start: 1.960000, bitrate: 4574 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1024x768 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 1130496 vbv_delay: N/A
Stream #0:1[0x101]: Data: klv (KLVA / 0x41564C4B)
________________________________
De: Mar Andrés López
Enviado: miércoles, 23 de septiembre de 2020 11:11:24
Para: ffmpeg-user at ffmpeg.org
Asunto: KLV in ffmpeg
Dear all,
I am having so many issues trying to clip a video with KLV. When I edit a video with KLV I lose the KLV.
I have read about -map 0 option, from my understading it copies all the streams of a video from the input 0.
The command I have tried and it is not working is the following:
ffmpeg -ss 00:01:00.000 -t 00:04:00.000 -re -i video.mpg -map 0 -c copy -f mpegts out.mpg
When I use a video player that displays KLV the KLV is not displayed for out.mpg,
¿Do you have any help please?
A lot of thanks.
P Please consider the environment before printing this e-mail.
More information about the ffmpeg-user
mailing list