Search the Community
Showing results for tags 'edl'.
-
Hi all, I've been playing with Comskip on my Media Portal recordings. My recordings are in .ts files. The recording in particular that I'm trying to gives the following data in MediaInfo: General ID : 4 (0x4) Complete name : C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.ts Format : MPEG-TS File size : 3.97 GiB Duration : 2h 8mn Overall bit rate mode : Variable Overall bit rate : 4 403 Kbps Video ID : 48 (0x30) Menu ID : 137 (0x89) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : 27 Duration : 2h 8mn Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 25.000 fps Standard : Component Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 64 (0x40) Menu ID : 137 (0x89) Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Muxing mode : LATM Codec ID : 17 Duration : 2h 8mn Bit rate mode : Variable Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Delay relative to video : -475ms Language : English descriptor_tag_extension : 6 Text ID : 80 (0x50) Menu ID : 137 (0x89) Format : DVB Subtitle Codec ID : 6 Duration : 2h 8mn Delay relative to video : 3s 934ms Language : English I've successfully generated edl files one of my recordings - here's the content I am trying to apply. Here's the log file from generating the edl: St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.log 5.00 257.80 0 1295.40 1560.36 0 2749.56 3014.24 0 4202.24 4467.20 0 5762.88 6082.48 0 7306.20 7731.40 0 I've tried to use Mencoder to apply the edl using the following command line: "C:\Media Utilities\Mencoder\mencoder.exe" -oac copy -ovc copy "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.ts" -edl "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.edl" -o "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27_Edited.ts" Which gave me the following result: Audio format 0x4c34504d is incompatible with '-oac copy', please try '-oac pcm' instead or use '-fafmttag' to override it. I've attached the complete log file: Attempt1.txt So I tried the following with -oac pcm: "C:\Media Utilities\Mencoder\mencoder.exe" -oac pcm -ovc copy "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.ts" -edl "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.edl" -o "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27_Edited.ts" And got "Too many audio packets in the buffer: (4096 in 3495096 bytes). I've attached the complete log file: Attempt2.txt Lastly, I tried this: "C:\Media Utilities\Mencoder\mencoder.exe" -oac copy -fafmttag 0x706d -ovc copy "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.ts" -edl "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27.edl" -o "C:\Temp\ComskipTests\St Trinian's 2_ The Legend of... - Channel 4 HD - 2015-09-27_Edited.ts" and got the "Too many audio packets in the buffer: (4096 in 3414814 bytes)." I've attached the complete log file: Attempt3.txt Can anyone help get get this applied. I tried to find out if ffmpeg could process edl files and produce a direct stream copy of the edited source - but it looks like that can only do one cut at a time into a new file and then join the edits (files) together. I've also read that mencoder is only really suitable for avi file processing - but anything other approach is not well documented and quite thin on the ground. Once I understand what is going on, I plan to do a POC where emby could possibly support this out-of-the-box, but that seems a long way away! Thanks - any help or insight is appreciated.