You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After executing make command, the executable program gst-omx_codec_h264 will be created.
26
26
```
27
-
$ cd /data/OpenMAX-Video/
27
+
$ cd OpenMAX-Video/
28
28
$ make
29
29
```
30
30

31
31
32
32
## Test
33
33
After compile the sample app, you are free to use the app to test the encode and decode.
34
34
###Encode
35
-
The program will encode the yuv file in h264 codec to output_encode.mp4 and the output file will be put under ./test_video.
35
+
The program will encode the yuv file in h264 codec to output_encode.mp4 and the output file will be put under current directory.
36
36
37
37
Notes: "/test_video" does not exist. You may need to find ".yuv" and ".mp4" files to test encode and decode. The following test results are for reference only.
38
38
@@ -89,9 +89,8 @@ $ 352 288 23 25
89
89
90
90
For more format information, you can refer to [Gstreamer Videoparse Format Reference](https://gstreamer.freedesktop.org/documentation/video/video-format.html?gi-language=c#GstVideoFormat).
91
91
92
-
Sample.yuv (flower_cif.yuv) can be put under ./test_video to test encode
93
92
###Decode
94
-
The program will decode a sample mp4 file in h264 codec to output_decode.yuv and the output file will be put under ./test_video
93
+
The program will decode a sample mp4 file in h264 codec to output_decode.yuv and the output file will be put under current directory.
0 commit comments