@@ -26,16 +26,17 @@ url = "2.5.4"
2626serial_test = " 3.2.0"
2727encoding_rs = " 0.8.35"
2828
29- # Use rsmpeg with platform-specific FFmpeg features and versions
29+ # Use CCExtractor's forked rsmpeg with FFmpeg 7
30+ # All platforms use ffmpeg7 feature with prebuilt bindings for API consistency
3031[target .'cfg(target_os = "linux")' .dependencies ]
31- rsmpeg = { version = " 0.14.2 " , default-features = false , features = [" ffmpeg6 " , " link_system_ffmpeg" ], optional = true }
32+ rsmpeg = { git = " https://github.com/CCExtractor/rsmpeg.git " , default-features = false , features = [" ffmpeg7 " , " link_system_ffmpeg" , " use_prebuilt_binding " ], optional = true }
3233
3334[target .'cfg(target_os = "windows")' .dependencies ]
34- rsmpeg = { version = " 0.14.2 " , default-features = false , features = [" ffmpeg6 " , " link_system_ffmpeg " ], optional = true }
35+ rsmpeg = { git = " https://github.com/CCExtractor/rsmpeg.git " , default-features = false , features = [" ffmpeg7 " , " link_vcpkg_ffmpeg " ], optional = true }
3536
36- # Fallback for other platforms (FreeBSD, etc.)
37+ # macOS and other platforms use FFmpeg 7
3738[target .'cfg(not(any(target_os = "linux", target_os = "windows")))' .dependencies ]
38- rsmpeg = { version = " 0.18.0 " , default-features = false , features = [" ffmpeg8 " , " link_system_ffmpeg" ], optional = true }
39+ rsmpeg = { git = " https://github.com/CCExtractor/rsmpeg.git " , default-features = false , features = [" ffmpeg7 " , " link_system_ffmpeg" ], optional = true }
3940
4041[build-dependencies ]
4142bindgen = " 0.64.0"
0 commit comments