![]() |
Muxing interlaced video - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Muxing interlaced video (/thread-1166.html) |
Muxing interlaced video - kingcrimsonster - 22.09.2019 1.I am muxing the source file into the transport stream. As a muxer, I chose ffmpeg, since the ts-muxer introduces A-V resync. The output is a small inappropriate source file. 2. I am muxing the source file in to MKV. In the tab "Muxing" - "Adjsut to stream frame rate" check or uncheck this box - no difference. Source file options:
Format : MPEG Video
Frame rate : 25.000 FPS Standard : PAL Output File Options:
Frame rate mode : Variable
Frame rate : 50.000 FPS Original frame rate : 25.000 FPS If I mux the source file using mkvtoolnix - Output file options:
Frame rate mode : Constant
Frame rate : 25.000 FPS Standard : PAL Source file RE: Muxing interlaced video - Selur - 22.09.2019 Quote:Source file options:Where do these values come from? When looking at the source file I get: Video Cu Selur RE: Muxing interlaced video - kingcrimsonster - 22.09.2019 (22.09.2019, 21:30)Selur Wrote:Quote:Source file options:Where do these values come from? the sorce file has a constant frame rate. It's right. When I mux this file in the *.mkv with Mkvtoolnix output file has a constant frame rate. It's right. When I mux this file in the *.mkv with Hybrid output file indicated as vfr. It's wrong! RE: Muxing interlaced video - Selur - 22.09.2019 Ah, I see problem is probably with the mkvmerge muxing call. -> I'll look into it. Cu Selur RE: Muxing interlaced video - kingcrimsonster - 22.09.2019 Selur, please fix besides this problem, the problem of mux in the transport stream with FFmpeg. RE: Muxing interlaced video - Selur - 22.09.2019 Problem with the ffmpeg muxing ffmpeg -y -r 25 -i "E:\Output\21_56_32_1910_02.m2v" -i "E:\Output\iId_1_aid_0_21_56_32_1910_01.wav" -vcodec copy -acodec copy -map 0:0 -map 1:0 -metadata encoding_tool="Hybrid 2019.09.21.1" -aspect 133375:100000 -r 25 -fflags +genpts -f mpegts -muxrate 100000000 "E:\Output\Adriana Russo - Capriccio ( Discoring 81).ts" Quote:[mpegts @ 0000021f25038200] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properlyNo real clue why this happens and how to fix it. The extracted audio&video stream seem to be okay. Adding '-fflags +genpts' does seem to fix something since the muxing doesn't crash, but the output audio isn't muxed properly now. :/ Cu Selur RE: Muxing interlaced video - kingcrimsonster - 22.09.2019 Selur, please fix the A-V resync when muxing to the transport stream using TS-muxer. This source file without resync. When I mux it with Hybrid (using TS-muxer) in the output *.ts file beginning with 01:10 it has a A-V resync. RE: Muxing interlaced video - Selur - 22.09.2019 About muxing pcm audio with ffmpeg into a transport stream is not supported by ffmpeg. (tsMuxeR converts the audio to LPCM which ffmpeg doesn't support afaik.) Looking into the second file and tsMuxer remuxing. RE: Muxing interlaced video - Selur - 23.09.2019 I suspect that the stream is stretched, but the mkv stretch detection is broken atm. looking into it. This will take a while,... (may be tomorrow in case I find the time) Cu Selur RE: Muxing interlaced video - kingcrimsonster - 23.09.2019 (22.09.2019, 23:40)Selur Wrote: About muxing pcm audio with ffmpeg into a transport stream is not supported by ffmpeg. Quote from here Quote: Though PCM is a more general term, it is often used to describe data encoded as LPCM.ts-muxer is not able to convert or change any parameter of audio or video. Selur, try opening "Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv" in TS-muxer. You will see in the "tracks" window in the column "codec" "LPCM" in the properties of the audio track |