This commit is contained in:
+1
-1
@@ -8,5 +8,5 @@ coverage/
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
dist/
|
dist/
|
||||||
release/
|
release/
|
||||||
|
.vscode
|
||||||
transcode-cache/
|
transcode-cache/
|
||||||
|
|||||||
@@ -920,8 +920,8 @@ class EpgGuide {
|
|||||||
);
|
);
|
||||||
if (channel) {
|
if (channel) {
|
||||||
await window.app.channelList.selectChannel({ channelId: channel.id });
|
await window.app.channelList.selectChannel({ channelId: channel.id });
|
||||||
// Switch to home page
|
// Switch to live TV page
|
||||||
document.querySelector('[data-page="home"]').click();
|
document.querySelector('[data-page="live"]').click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -433,7 +433,8 @@ class TranscodeSession extends EventEmitter {
|
|||||||
'-preset', 'p4', // Balanced preset (p1=fastest, p7=best)
|
'-preset', 'p4', // Balanced preset (p1=fastest, p7=best)
|
||||||
'-rc', 'constqp', // Constant QP mode
|
'-rc', 'constqp', // Constant QP mode
|
||||||
'-qp', String(qp),
|
'-qp', String(qp),
|
||||||
'-bf', '3' // B-frames for better compression
|
'-bf', '3', // B-frames for better compression
|
||||||
|
'-pix_fmt', 'yuv420p' // Force 8-bit output for compatibility
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -450,7 +451,8 @@ class TranscodeSession extends EventEmitter {
|
|||||||
'-rc', 'cqp', // Constant QP
|
'-rc', 'cqp', // Constant QP
|
||||||
'-qp_i', String(qp),
|
'-qp_i', String(qp),
|
||||||
'-qp_p', String(qp + 2),
|
'-qp_p', String(qp + 2),
|
||||||
'-qp_b', String(qp + 4)
|
'-qp_b', String(qp + 4),
|
||||||
|
'-pix_fmt', 'yuv420p' // Force 8-bit output for compatibility
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -470,7 +472,8 @@ class TranscodeSession extends EventEmitter {
|
|||||||
'-c:v', 'h264_vaapi',
|
'-c:v', 'h264_vaapi',
|
||||||
'-profile:v', 'main', // Use main profile for compatibility
|
'-profile:v', 'main', // Use main profile for compatibility
|
||||||
'-global_quality', String(qp),
|
'-global_quality', String(qp),
|
||||||
'-bf', '3'
|
'-bf', '3',
|
||||||
|
'-pix_fmt', 'yuv420p' // Force 8-bit output for compatibility
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -486,7 +489,8 @@ class TranscodeSession extends EventEmitter {
|
|||||||
'-preset', 'medium',
|
'-preset', 'medium',
|
||||||
'-global_quality', String(qp),
|
'-global_quality', String(qp),
|
||||||
'-look_ahead', '1',
|
'-look_ahead', '1',
|
||||||
'-look_ahead_depth', '40'
|
'-look_ahead_depth', '40',
|
||||||
|
'-pix_fmt', 'yuv420p' // Force 8-bit output for compatibility
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user