- 28 5月, 2020 1 次提交
-
-
由 Jun Zhao 提交于
commit 32aeba12 missed coding style fix. Signed-off-by: NJun Zhao <barryjzhao@tencent.com>
-
- 27 5月, 2020 2 次提交
-
-
由 Limin Wang 提交于
Merge the short lines after the last commit Reviewed-by: NMarton Balint <cus@passwd.hu> Signed-off-by: NLimin Wang <lance.lmwang@gmail.com>
-
由 Limin Wang 提交于
Reviewed-by: NMarton Balint <cus@passwd.hu> Signed-off-by: NLimin Wang <lance.lmwang@gmail.com>
-
- 14 5月, 2020 2 次提交
-
-
由 Andriy Gelman 提交于
ts->{tsid,onid} stores the values of ts->{transport_stream_id,original_network_id} Reviewed-by: NMarton Balint <cus@passwd.hu> Signed-off-by: NAndriy Gelman <andriy.gelman@gmail.com>
-
由 Andriy Gelman 提交于
A temporary heap array currently stores pids from all streams. It is used to make sure there are no duplicated pids. However, this array is not needed because the pids from past streams are stored in the MpegTSWriteStream structs. Reviewed-by: NMarton Balint <cus@passwd.hu> Signed-off-by: NAndriy Gelman <andriy.gelman@gmail.com>
-
- 23 4月, 2020 1 次提交
-
-
由 Gyan Doshi 提交于
-
- 22 4月, 2020 5 次提交
-
-
由 Gyan Doshi 提交于
They can be demuxed by ffmpeg.
-
由 Marton Balint 提交于
Fixes ticket #2622. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
The standard does not allow more. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 23 12月, 2019 1 次提交
-
-
由 Gyan Doshi 提交于
The MPEG-TS muxer will mux streams with unsupported codec id as a private data stream; this usually makes the stream not recognizable by ffmpeg and likely other tools.
-
- 13 12月, 2019 1 次提交
-
-
由 Andreas Rheinhardt 提交于
It is not uncommon to find code where the caller thinks to know better what the return value should be than the callee. E.g. something like "if (av_new_packet(pkt, size) < 0) return AVERROR(ENOMEM);". This commit changes several instances of this to instead forward the actual error. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 03 12月, 2019 5 次提交
-
-
由 Marton Balint 提交于
6144 byte alignment is needed. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
This sets the range of the first automatically assigned PMT PID or elementary stream PID parameters to [0x20, 0x1ffa]. You can still assign manually a PID for a stream using AVStream->id in the wider [0x10, 0x1ffe] range as specified by ISO13818-1. But since DVB and ATSC both reserves some PIDs, let's not allow them to be automatically assigned. Also make sure that assigned PID numbers are valid and fix the error message for the previous PID collision checks. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 04 11月, 2019 1 次提交
-
-
由 Jun Zhao 提交于
fix the logic check error fix #6751 Reviewed-by: NAndriy Gelman <andriy.gelman@gmail.com> Signed-off-by: NJun Zhao <barryjzhao@tencent.com>
-
- 03 9月, 2019 1 次提交
-
-
由 Marton Balint 提交于
7d097a0f had the same purpose as 3700f655 but the former is much simpler, so let's remove the latter. Unfortunately both checks were wrong, because in order to make sure DTS > PCR we have to give us some headroom, so instead of using a dts_difference < max_delay check let's use a dts_difference < max_delay/2 check. Fixes DTS < PCR errors with this command line: ./ffmpeg -loglevel verbose -y -f lavfi -i \ "testsrc=s=64x64:d=20,split=2[out0][tmp1];[tmp1]vflip[out1];sine=d=20,asetnsamples=1000[out2]" \ -flags +bitexact -fflags +bitexact -sws_flags +accurate_rnd+bitexact \ -codec:v libx264 -codec:a mp2 -b:a 32k -pix_fmt yuv420p \ -map '0:v:0' \ -map '0:v:1' \ -map '0:a:0' \ -muxrate 800000 \ -program st=0:st=2 -program st=1:st=2 -program st=2 -program st=0 -f mpegts out1.ts Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 24 8月, 2019 4 次提交
-
-
由 Marton Balint 提交于
The packet counting based approach caused excessive sdt/pat/pmt for VBR, so let's use a timestamp based approach instead similar to how we emit PCRs. SDT/PAT/PMT period should be consistent for both VBR and CBR from now on. Also change the type of sdt_period and pat_period to AV_OPT_TYPE_DURATION so no floating point math is necessary. Fixes ticket #3714. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
PCR does not need to be recalcualted for CBR when inserting a NULL or PCR only packet. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Also document the algorithm for the default PCR interval. Fixes ticket #8061. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 15 8月, 2019 6 次提交
-
-
由 Marton Balint 提交于
Deprecated since 2014. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
PCR generation was based on counting packets for both CBR and VBR streams. Couting packets might have worked for CBR streams (when muxrate was specified) but it only took into account the packets of a service (or the packets of the PCR stream lately), so even that was problematic for multi program streams. The new code works on actual timestamps for both CBR and VBR streams. For VBR streams the behaviour of the old code is simulated by selecting a PCR interval which is the highest multiple of the frame duration but still less than 100 ms. It should be trivial to add support for setting the PCR interval for VBR streams as well in a later patch. The accuracy of PCR packets for CBR streams was greatly improved by preemtively sending them at PCR intervals even if sending the payload of another stream is in progress. This may fix these tickets: - #5750 - #7524 Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Maybe we should use service ID instead of increasing numbers? Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
The MPEG-TS muxer had a serious bug related to the use of multiple programs: in that case, the PCR pid selection was incomplete for all services except one. This patch solves this problem and selects a stream to become PCR for each service, preferably the video stream. This patch also moves pcr calculation attributes to MpegTSWriteStream from MpegTSService. PCR is a per-stream and not per-service thing, so it was misleading to refer to it as something that is per-service. Also remove *service from MpegTSWriteStream because a stream can belong to multiple services so it was misleading to select one for each stream. You can check the result with this example command: ./ffmpeg -loglevel verbose -y -f lavfi -i \ "testsrc=s=64x64:d=10,split=2[out0][tmp1];[tmp1]vflip[out1];sine=d=10,asetnsamples=1152[out2]" \ -flags +bitexact -fflags +bitexact -sws_flags +accurate_rnd+bitexact \ -codec:v libx264 -codec:a mp2 -pix_fmt yuv420p \ -map '0:v:0' \ -map '0:v:1' \ -map '0:a:0' \ -program st=0:st=2 -program st=1:st=2 -program st=2 -program st=0 -f mpegts out.ts You should now see this: [mpegts @ 0x37505c0] service 1 using PCR in pid=256 [mpegts @ 0x37505c0] service 2 using PCR in pid=257 [mpegts @ 0x37505c0] service 3 using PCR in pid=258 [mpegts @ 0x37505c0] service 4 using PCR in pid=256 Fixes ticket #8039. v2: a video is stream is preferred if there are no programs, just like before the patch. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 02 3月, 2019 2 次提交
-
-
由 Marton Balint 提交于
This improves compatibility with some consumer (LG WebOS) TVs which apparently search a HEVC descriptor (which our mpegts muxer can't generate) or a format identifier. Since the HEVC format identifier is not registered (but used in the wild), it is not written if strict_std_compliance is higher than normal. This fixes the issue in ticket #7744. Signed-off-by: NMarton Balint <cus@passwd.hu>
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 22 2月, 2019 1 次提交
-
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 08 12月, 2018 1 次提交
-
-
由 Artyom Lebedev 提交于
Fixes ticket #7597. Signed-off-by: NPeter Ross <pross@xvid.org>
-
- 13 5月, 2018 1 次提交
-
-
由 Aman Gupta 提交于
This allows remuxing streams from one mpegts container to another, without requiring avformat_find_stream_info() (or using `ffmpeg -probesize 32` on the cli). Signed-off-by: NAman Gupta <aman@tmm1.net> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 29 1月, 2018 1 次提交
-
-
由 Marton Balint 提交于
Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 07 7月, 2017 1 次提交
-
-
由 Derek Buitenhuis 提交于
Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 29 3月, 2017 1 次提交
-
-
由 Clément Bœsch 提交于
-
- 17 3月, 2017 1 次提交
-
-
由 Lou Logan 提交于
pcr_period is in milliseconds. Signed-off-by: NLou Logan <lou@lrcd.com>
-
- 18 1月, 2017 1 次提交
-
-
由 Michael Niedermayer 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-