[FFmpeg-user] Ffmpeg logging

2021-04-20 Thread Mohammed Bey Ahmed Khernache
Hello, would you tell me whether it is possible to log the number of cycles needed to decode every single frame using ffmpeg ? I tried the following command, but I didn't get what I am looking for. FFREPORT=file=ffreport.log:level=48 taskset 0x01 ffmpeg -threads 1 -i /root/dataset/blue_sky_fps_25.

[FFmpeg-user] "Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)" error

2020-07-02 Thread Mohammed Bey Ahmed Khernache
Hello, I am facing an error when trying to decode HEVC-coded content for some video sequences. I varied the video resolution as follows: 2160p: decoded successfully 1600p: decoded successfully 1080p: error 720p: error When I try to decode low resolutions (720p and 1080p), ffmpeg outputs the follo

Re: [FFmpeg-user] HEVC acceleration

2020-07-01 Thread Mohammed Bey Ahmed Khernache
Hi Andriy, Thank you for the patch. Now, the hardware decoding is working fine. Here's how I applied the patch: git apply -v Mohammed > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To un

Re: [FFmpeg-user] HEVC acceleration

2020-06-25 Thread Mohammed Bey Ahmed Khernache
> You should probably also try with older FFmpeg versions... I tried with an older version of ffmpeg (3.4.7), and it works. The issue is that I don't see any difference when using ffmpeg with and without the "-c:v hevc_v4l2m2m" option. This means that the HEVC accelerator is not enabled. Am I right

[FFmpeg-user] HEVC acceleration

2020-06-24 Thread Mohammed Bey Ahmed Khernache
Hello, I am trying to decode HEVC-encoded content using ffmpeg. I am still unable to leverage the HEVC accelerator, which is hevc_v4l2m2m in the case of the platform I am using, RB3. Below are the command and the output. - root@linaro

Re: [FFmpeg-user] Asking for help

2020-05-05 Thread Mohammed Bey Ahmed Khernache
Thank you for your reply. > Complete, uncut console output missing. Here is the complete output. root@odroid:~/ffmpeg# ./ffmpeg -i ../dataset/encoded_with_wpp/blue_sky_fps_25.yuv.h265 -f null /dev/null ffmpeg version N-97619-gf90a48b Copyright (c) 2000-2020 the FFmpeg developers built with gcc 6

[FFmpeg-user] Asking for help

2020-05-05 Thread Mohammed Bey Ahmed Khernache
Hello, I compiled ffmpeg without encoders (--disable-encoders). Then, when I try to decode a video bit-stream, I get this error message: "Automatic encoder selection failed for output stream #0:0. Default encoder for format null (codec wrapped avframe) is probably disabled. Please choose an encoder

[FFmpeg-user] HEVC decoding

2020-03-03 Thread Mohammed Bey Ahmed Khernache
Hello, which API or plug-in does ffmpeg use to decode HEVC-coded content? Is HEVC-Tiles-based parallelism supported by ffmpeg? Best regards ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscrib

[FFmpeg-user] Ffmeg multi-threading introduction

2020-02-18 Thread Mohammed Bey Ahmed Khernache
Hello, I am novice to programming upon ffmpeg. I would like to know how ffmpeg manages to decode multiple regions of a frame (slices, tiles, NALs, etc) in parallel. Could you point me to the files/functions that do this job? Best regards ___ ffmpeg-user

[FFmpeg-user] Encode with "tiles" scheme using ffmpeg

2019-04-29 Thread Mohammed Bey Ahmed Khernache
Hello, how to encode a video sequence in hevc, with "*tiles*" or "*wpp*" schemes using ffmpeg? Following is the command line and the output: - PS D:\tools\ffmpeg\windows\ffmpeg-20190128-1db30d6-win64-sta

Re: [FFmpeg-user] Converting video format issue

2019-04-15 Thread Mohammed Bey Ahmed Khernache
On Mon, Apr 15, 2019 at 12:39 PM Carl Eugen Hoyos wrote: > Command line and complete, uncut console output missing, > the input sample may be useful. Below are the outputs: - Converting to mp4 -- PS D:\tools\f

Re: [FFmpeg-user] Converting video format issue

2019-04-15 Thread Mohammed Bey Ahmed Khernache
Thank you for your reply. Unfortunately, the same issue happens again. The output video file doesn't have the same number of frames as the input video file. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-use

[FFmpeg-user] Converting video format issue

2019-04-15 Thread Mohammed Bey Ahmed Khernache
Hello, I am trying to convert a video format from ".bit" to ".mp4", using the following command: ffmpeg -i -codec copy The problem is that the number of frames of the output video is not equal to that of the input video. ___ ffmpeg-user mailing list ff

Re: [FFmpeg-user] Encode in "intra-only"

2019-03-27 Thread Mohammed Bey Ahmed Khernache
That's working perfectly. Now, I need to know which parallelization scheme (slice, tile, or wavefront parallel processing) is used to encode a video sequence. How's that possible with *ffprobe*? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://

Re: [FFmpeg-user] Encode in "intra-only"

2019-03-26 Thread Mohammed Bey Ahmed Khernache
Thank you for your reply. Can we check with *ffprobe/ffmpeg* whether a video sequence is encoded in intra-only? I didn't succeed to get such information using those tools. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/li

[FFmpeg-user] Encode in "intra-only"

2019-03-26 Thread Mohammed Bey Ahmed Khernache
Hello, how to encode a video sequence into hevc with "intra-only" mode using ffmpg? I tried the following command but it seems not working: ffmpeg.exe -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt yuv420p -frame_type if -i pedestrian_area_375.yuv -c:v libx265 -x265-params frame-threads=4

[FFmpeg-user] Asking for help

2019-02-21 Thread Mohammed Bey Ahmed Khernache
Hello, is there a way to know whether an HEVC video sequence is encoded with WPP, tiles, or slices using ffmpeg/ffprobe? Best regards ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, vis

Re: [FFmpeg-user] "missing picture in access unit" error

2019-01-24 Thread Mohammed Bey Ahmed Khernache
I have installed the lastest version of ffmpeg on another ubuntu machine. It doesn't output the error message posted before. Rather, I got this message: "Unknown HEVC profile: 0", and the decoding is successful. What does this message mean, please? This is the output (only ffmpeg):

[FFmpeg-user] "missing picture in access unit" error

2019-01-24 Thread Mohammed Bey Ahmed Khernache
Hello, I am trying to decode an HEVC video content with ffmpeg and ffplay on Windows and I got the following error messages. Could someone explain to me what is it about? --- output of ffmpeg --- D:\Tools\FF

Re: [FFmpeg-user] ffmpeg compile error on ubuntu

2018-09-07 Thread Mohammed Bey Ahmed Khernache
>> In the newest veraion of FFMPEG compilation it gives error on yasm replace --enable-yasm by --enable-x86asm It worked for me. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link

[FFmpeg-user] FFmpeg error when using "Mediacodec"

2018-09-05 Thread Mohammed Bey Ahmed Khernache
Hello, I cross-compiled FFmpeg successfully for aarch64 ARM under Android OS. I enabled "mediacodec" option to leverage the Hardware HEVC decoder available in the board I am using (Snapdragon 810). Here is the command line to configure the compilation: --

Re: [FFmpeg-user] How to decode an HEVC content with Hardware video decoder using FFmpeg

2018-08-21 Thread Mohammed Bey Ahmed Khernache
Yeah, in configure's output, there is no hwaccel enabled. "Enabled hwaccels:" line is empty. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...

Re: [FFmpeg-user] How to decode an HEVC content with Hardware video decoder using FFmpeg

2018-08-21 Thread Mohammed Bey Ahmed Khernache
Thank you. I tried again. I used the option "--list-hwaccels" to get the list of hardware decoders that FFmpeg can support. I tried some of them, but I still get "Enabled hwaccels:" line empty. This is the command line I have used: ./configure --cross-prefix=/root/arm64-toolchains-r14b/bin/aarch64-

[FFmpeg-user] How to decode an HEVC content with Hardware video decoder using FFmpeg

2018-08-20 Thread Mohammed Bey Ahmed Khernache
Hello, I would like to decode an HEVC content with Hardware video decoder on a board running on Android. I successfully cross-compiled FFmpeg to be run on Android. Now I want to enable Hardware acceleration of FFmpeg. I tried the option: " *--enable-hwaccel=auto*" but it seems like it has no effec

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-25 Thread Mohammed Bey Ahmed Khernache
​> Should be fixed in current FFmpeg.​ > ​Could you precise what's being fixed in current FFmpeg? > ​I mean which of the following issues is fixed: - ffplay for Android?​ - no need to add "-pie" option in order to be able to run ffmpeg on Android? - any other issue... Thank you in advance. _

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-14 Thread Mohammed Bey Ahmed Khernache
> The make it work, you need to have libSDL2 available. libSDL2 must be installed on the host machine (where I am building), or on the target machine (Android)? > Is ffplay of any use to you on android? Do you expect it to play on the > Android device's screen? (I'm not saying that's ruled out -

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Mohammed Bey Ahmed Khernache
; 2018-07-13 18:31 GMT+02:00, Mohammed Bey Ahmed Khernache < > mohbeyi...@gmail.com>: > >> Why didn't you start with the configure line I provided (and tested)? > >>>The following configure line works fine here: > >>> $ ./configure --cross-prefix=../ndk-

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Mohammed Bey Ahmed Khernache
lib -pie" --enable-ffplay --bindir="$HOME/bin" --enable-gpl --enable-nonfree On Fri, Jul 13, 2018 at 6:31 PM Mohammed Bey Ahmed Khernache < mohbeyi...@gmail.com> wrote: > > Why didn't you start with the configure line I provided (and tested)? > >>The

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-13 Thread Mohammed Bey Ahmed Khernache
works fine. Thank you very much. Of course, I added "-pie" option to allow running it on Android Lollipop. FFmpeg finally runs on Android. ​ ​Best regards​ On Fri, Jul 13, 2018 at 1:49 PM Carl Eugen Hoyos wrote: > 2018-07-13 7:03 GMT+02:00, Mohammed Bey Ahmed Khernache < >

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-12 Thread Mohammed Bey Ahmed Khernache
M64v8a builds finished /home/mohammedbey/Desktop/ffmpeg4Android-master/ffmpeg-build-script --- ​ ---- Mohammed BEY AHMED KHERNACHE PhD student Lab-STICC / CNRS UMR 6285 University of Southern Brittany, Lorient, France Tel: +33-783-700-185 Email: mohammed.bey-ahmed-kherna...@univ-ubs.fr -

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-11 Thread Mohammed Bey Ahmed Khernache
d, Jul 11, 2018 at 5:08 AM Carl Zwanzig wrote: > On 7/10/2018 7:47 PM, Mohammed Bey Ahmed Khernache wrote: > > Till now, i always get the error: > > C compiler test failed > > So I can not compile for Android. > > I am using NDK-r17b. > > I think you need to do some

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Mohammed Bey Ahmed Khernache
Till now, i always get the error: C compiler test failed So I can not compile for Android. I am using NDK-r17b. On Tue, Jul 10, 2018 at 7:00 PM Mohammed Bey Ahmed Khernache < mohbeyi...@gmail.com> wrote: > > Are you sure that there is a C compiler that runs *on* Android? > No, I

Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-10 Thread Mohammed Bey Ahmed Khernache
> Are you sure that there is a C compiler that runs *on* Android? No, I am not sure. I am newbie on Android OS command line. I am trying cross-compilation. ​​ On Tue, Jul 10, 2018 at 2:26 PM Carl Eugen Hoyos wrote: > 2018-07-09 11:04 GMT+02:00, Mohammed Bey Ahmed Khernache <

[FFmpeg-user] How to compile ffmpeg on Android

2018-07-09 Thread Mohammed Bey Ahmed Khernache
Hello, Can someone guide me to compile FFmpeg on Android OS. I am using *adb shell*. The commands are very restricted, no apt-get, no git Your help is very appreciated. Best regards ​ Mohammed BEY AHMED KHERNACHE

Re: [FFmpeg-user] ffplay output

2018-07-04 Thread Mohammed Bey Ahmed Khernache
Thank you. That's what I really wanted. ​ Mohammed BEY AHMED KHERNACHE PhD student Lab-STICC / CNRS UMR 6285 University of Southern Brittany, Lorient, France Tel: +33-783-700-185 Email: mohammed.bey-ahmed-kherna...

[FFmpeg-user] ffplay output

2018-07-04 Thread Mohammed Bey Ahmed Khernache
Hello, could someone explain to me the *ffplay* outputs? Given a video of 3288 frames. Decoding it with ffplay gives the output below: fd=742 aq=0KB vq=0KB sq=0B f=0/0 Best regards. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/ma

Re: [FFmpeg-user] ffplay error

2018-06-17 Thread Mohammed Bey Ahmed Khernache
On Sun, Jun 17, 2018 at 11:17 PM Carl Eugen Hoyos wrote: > 2018-06-17 22:40 GMT+02:00, Mohammed Bey Ahmed Khernache < > mohbeyi...@gmail.com>: > >> ffplay does not work > >> with video via ssh which I don't consider very worrying. > > > > This

Re: [FFmpeg-user] ffplay error

2018-06-17 Thread Mohammed Bey Ahmed Khernache
te: > 2018-06-17 21:16 GMT+02:00, Mohammed Bey Ahmed Khernache < > mohbeyi...@gmail.com>: > > > I am trying to play (decode) a video with *ffplay*. Unfortunately, > > I got this error, given below. > > Can anyone guide me to fix this issue? > > You have told us

[FFmpeg-user] ffplay error

2018-06-17 Thread Mohammed Bey Ahmed Khernache
Hello, I am trying to play (decode) a video with *ffplay*. Unfortunately, I got this error, given below. Can anyone guide me to fix this issue? -- ffplay output - root@odroid:~/HEVC# ffplay -autoexit video-h265.mkv ffpl

Re: [FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

2018-06-12 Thread mohammed bey ahmed khernache
r replies.​ On Tue, Jun 12, 2018 at 3:27 AM Zak wrote: > On 2018-06-11 at 5:32 PM EDT, Carl Eugen Hoyos wrote: > > 2018-06-07 23:40 GMT+02:00, mohammed bey ahmed khernache < > mohbeyi...@gmail.com>: > > > >> My purpose is to calculate some metrics such as: fps, m

Re: [FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

2018-06-11 Thread mohammed bey ahmed khernache
Hello again, I tried to run *ffplay* without "-*nodisp*" option, where being connected to my board via *Remote Desktop Connection*. Unfortunately, ffplay couldn't play it. Below is the output: -- output of ffplay - root

Re: [FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

2018-06-07 Thread mohammed bey ahmed khernache
t is the use case for "-nodisp"? My purpose is to calculate some metrics such as: fps, miss rate, etc, of video decoding. So I need only to decode a video without displaying it. On Thu, Jun 7, 2018 at 11:05 PM Moritz Barsnick wrote: > On Thu, Jun 07, 2018 at 18:45:32 +0200, mohammed b

Re: [FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

2018-06-07 Thread mohammed bey ahmed khernache
> On Thu, Jun 07, 2018 at 17:25:30 +0200, mohammed bey ahmed khernache wrote: > > root@odroid:~/HEVC# ffplay -nodisp -autoexit Tears_400_x265.mp4 > > ffplay_output > [...] > > Failed to open file 'Tears_400_x265.mp4' or configure filtergraph > > It seems tha

Re: [FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

2018-06-07 Thread mohammed bey ahmed khernache
bench: utime=13.910s stime=0.385s rtime=3.281s bench: maxrss=88464kB __ --- Thank you again On Thu, Jun 7, 2018 at 5:04 PM Moritz Barsnick wrote: > On Thu, Jun 07, 2018 at 16:50:32 +0200, mohammed bey ahmed khernache wrote: > > Hello, > > I have a video

[FFmpeg-user] why ffplay cannot decode a sequence that can be decoded by ffmpeg

2018-06-07 Thread mohammed bey ahmed khernache
Hello, I have a video encoded with HEVC. Is there a reason why *ffmpeg* can decode it whereas *ffplay* can not? Thank you ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above

Re: [FFmpeg-user] ffplay doesn't decode hevc correctly

2018-05-20 Thread mohammed bey ahmed khernache
I don't know, I followed the reply of Moritz Barsnick. Thank you. ​ ___ Mohammed BEY AHMED KHERNACHE PhD student at Lab-STICC Université Bretagne

Re: [FFmpeg-user] ffplay doesn't decode hevc correctly

2018-05-20 Thread mohammed bey ahmed khernache
s16le frame= 291 fps= 80 q=-0.0 size=N/A time=00:00:12.01 bitrate=N/A speed= 3.3x ​ ___________ Mohammed BEY AHMED KHERNACHE PhD student at Lab-STICC Université Breta

[FFmpeg-user] ffplay doesn't decode hevc correctly

2018-05-20 Thread mohammed bey ahmed khernache
Hello, I am using *ffplay *to play back a video. ​1) how can I get the details of decoding (fps, miss rate, time, etc) 2) how can decode *hevc *content ? I compiled ffmpeg with libx265​. When I try to play back a video encoded with hevc, I can not decode it correctly, i.e. ffplay plays it very slow

Re: [FFmpeg-user] Frame dropping

2018-05-09 Thread mohammed bey ahmed khernache
Thank you very much for your help. On Wed, May 9, 2018 at 8:21 PM, Gabriel Balaich wrote: > > > > PS: vsync is neither an input nor an output option, it is a > > global option. > > > Good to know. > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg

Re: [FFmpeg-user] Frame dropping

2018-05-09 Thread mohammed bey ahmed khernache
Thank you for your reply. The input video is encoded with hevc at 25 fps. I tries this command: ffmpeg -threads 1 -vsync drop -i -f null /dev/null I got this message in yellow: Encoder did not produce proper pts, making some up Unfortunately, I can not reach 25 fps while decoding, even with dropp

[FFmpeg-user] Frame dropping

2018-05-09 Thread mohammed bey ahmed khernache
Hello, could you tell me how to enable "frame dropping" while decoding with ffmpeg ? Thank you in advance ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpe

Re: [FFmpeg-user] Asking for help about FFmpeg

2018-05-04 Thread mohammed bey ahmed khernache
Thank you for your reply. Yes, I don't need an output video. I just want to decode a video at 25 fps and then calculate the miss rate. So I don't want to skip anything. ​ ___ Mohammed BEY AHMED

[FFmpeg-user] Asking for help about FFmpeg

2018-05-04 Thread mohammed bey ahmed khernache
this command for decoding: ffmpeg -benchmark -i ​ -f null out.null Please, any help is welcome. Best regards. ​ ___ Mohammed BEY AHMED KHERNACHE PhD student at Lab-STICC