Asking for help

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Asking for help

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 manually. Error selecting an encoder for stream 0:0".

The command I used is the following:
ffmpeg -i input.h265 -f null /dev/null

Could someone explain to me why this happened?

Best regards
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Asking for help

Carl Eugen Hoyos-2
Am Di., 5. Mai 2020 um 16:50 Uhr schrieb Mohammed Bey Ahmed Khernache
<[hidden email]>:

> 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 manually. Error selecting an encoder for stream 0:0".
>
> The command I used is the following:
> ffmpeg -i input.h265 -f null /dev/null

Complete, uncut console output missing.

> Could someone explain to me why this happened?

If you have compiled without encoders, there is no
encoder for the output format "null". You need either
the rawvideo encoder or the (default) wrapped_avframe
encoder.

Carl Eugen

PS: Your subject line is also not helpful
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Asking for help

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.5.0 (Ubuntu/Linaro 6.5.0-2ubuntu1~14.04.1) 20181026
  configuration: --enable-gpl --enable-nonfree --enable-static
--disable-shared --enable-pthreads --arch=arm --enable-neon --enable-thumb
--enable-optimizations --disable-encoders
  libavutil      56. 43.100 / 56. 43.100
  libavcodec     58. 82.100 / 58. 82.100
  libavformat    58. 42.102 / 58. 42.102
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 80.100 /  7. 80.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, hevc, from '../dataset/encoded_with_wpp/blue_sky_fps_25.yuv.h265':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080, 25 fps, 25
tbr, 1200k tbn, 25 tbc
Automatic encoder selection failed for output stream #0:0. Default encoder
for format null (codec wrapped_avframe) is probably disabled. Please choose
an encoder manually.
Error selecting an encoder for stream 0:0

> You need either
> the rawvideo encoder or the (default) wrapped_avframe
> encoder.
Does it mean that to decode we need to encode?


> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Asking for help

Carl Eugen Hoyos-2
Am Di., 5. Mai 2020 um 20:06 Uhr schrieb Mohammed Bey Ahmed Khernache
<[hidden email]>:

>
> 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.5.0 (Ubuntu/Linaro 6.5.0-2ubuntu1~14.04.1) 20181026
>   configuration: --enable-gpl --enable-nonfree --enable-static
> --disable-shared --enable-pthreads --arch=arm --enable-neon --enable-thumb
> --enable-optimizations --disable-encoders
>   libavutil      56. 43.100 / 56. 43.100
>   libavcodec     58. 82.100 / 58. 82.100
>   libavformat    58. 42.102 / 58. 42.102
>   libavdevice    58.  9.103 / 58.  9.103
>   libavfilter     7. 80.100 /  7. 80.100
>   libswscale      5.  6.101 /  5.  6.101
>   libswresample   3.  6.100 /  3.  6.100
>   libpostproc    55.  6.100 / 55.  6.100
> Input #0, hevc, from '../dataset/encoded_with_wpp/blue_sky_fps_25.yuv.h265':
>   Duration: N/A, bitrate: N/A
>     Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080, 25 fps, 25
> tbr, 1200k tbn, 25 tbc
> Automatic encoder selection failed for output stream #0:0. Default encoder
> for format null (codec wrapped_avframe) is probably disabled. Please choose
> an encoder manually.
> Error selecting an encoder for stream 0:0
>
> > You need either
> > the rawvideo encoder or the (default) wrapped_avframe
> > encoder.
> Does it mean that to decode we need to encode?

The ffmpeg application only decodes if it also encodes.
(I suspect ffprobe does decode without encoding, never tested.)

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".