diff --git a/tests/ffmpeg_examples/README.md b/tests/ffmpeg_examples/README.md new file mode 100644 index 0000000..5c5dd50 --- /dev/null +++ b/tests/ffmpeg_examples/README.md @@ -0,0 +1 @@ +These tests are ported from: https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples \ No newline at end of file diff --git a/tests/decode_audio.rs b/tests/ffmpeg_examples/decode_audio.rs similarity index 100% rename from tests/decode_audio.rs rename to tests/ffmpeg_examples/decode_audio.rs diff --git a/tests/decode_video.rs b/tests/ffmpeg_examples/decode_video.rs similarity index 100% rename from tests/decode_video.rs rename to tests/ffmpeg_examples/decode_video.rs diff --git a/tests/encode_video.rs b/tests/ffmpeg_examples/encode_video.rs similarity index 100% rename from tests/encode_video.rs rename to tests/ffmpeg_examples/encode_video.rs diff --git a/tests/extract_mvs.rs b/tests/ffmpeg_examples/extract_mvs.rs similarity index 100% rename from tests/extract_mvs.rs rename to tests/ffmpeg_examples/extract_mvs.rs diff --git a/tests/ffmpeg_examples/mod.rs b/tests/ffmpeg_examples/mod.rs new file mode 100644 index 0000000..e220869 --- /dev/null +++ b/tests/ffmpeg_examples/mod.rs @@ -0,0 +1,7 @@ +mod decode_audio; +mod decode_video; +mod encode_video; +mod extract_mvs; +mod remux; +mod transcode; +mod transcode_aac; diff --git a/tests/remux.rs b/tests/ffmpeg_examples/remux.rs similarity index 100% rename from tests/remux.rs rename to tests/ffmpeg_examples/remux.rs diff --git a/tests/transcode.rs b/tests/ffmpeg_examples/transcode.rs similarity index 100% rename from tests/transcode.rs rename to tests/ffmpeg_examples/transcode.rs diff --git a/tests/transcode_aac.rs b/tests/ffmpeg_examples/transcode_aac.rs similarity index 100% rename from tests/transcode_aac.rs rename to tests/ffmpeg_examples/transcode_aac.rs diff --git a/tests/av_spliter.rs b/tests/misc/av_spliter.rs similarity index 100% rename from tests/av_spliter.rs rename to tests/misc/av_spliter.rs diff --git a/tests/avio_reading.rs b/tests/misc/avio_reading.rs similarity index 100% rename from tests/avio_reading.rs rename to tests/misc/avio_reading.rs diff --git a/tests/avio_writing.rs b/tests/misc/avio_writing.rs similarity index 100% rename from tests/avio_writing.rs rename to tests/misc/avio_writing.rs diff --git a/tests/image_dump.rs b/tests/misc/image_dump.rs similarity index 100% rename from tests/image_dump.rs rename to tests/misc/image_dump.rs diff --git a/tests/metadata.rs b/tests/misc/metadata.rs similarity index 100% rename from tests/metadata.rs rename to tests/misc/metadata.rs diff --git a/tests/misc/mod.rs b/tests/misc/mod.rs new file mode 100644 index 0000000..4bca8fa --- /dev/null +++ b/tests/misc/mod.rs @@ -0,0 +1,7 @@ +mod av_spliter; +mod avio_reading; +mod avio_writing; +mod image_dump; +mod metadata; +mod thumbnail; +mod tutorial01; \ No newline at end of file diff --git a/tests/thumbnail.rs b/tests/misc/thumbnail.rs similarity index 100% rename from tests/thumbnail.rs rename to tests/misc/thumbnail.rs diff --git a/tests/tutorial01.rs b/tests/misc/tutorial01.rs similarity index 100% rename from tests/tutorial01.rs rename to tests/misc/tutorial01.rs diff --git a/tests/tests.rs b/tests/tests.rs new file mode 100644 index 0000000..6e7a60a --- /dev/null +++ b/tests/tests.rs @@ -0,0 +1 @@ +mod ffmpeg_examples;