L-SMASH-WORKS and replacement for deprecated ffmpeg --enable-avresample

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

L-SMASH-WORKS and replacement for deprecated ffmpeg --enable-avresample

hydra3333
Hello.  I gather that when built from source, x264.exe can
- input various container formats if built with "lavf support" (from
ffmpeg).
- output various container formats if built with "L-SMASH support" (from
L-SMASH-WORKS) https://github.com/VFR-maniac/L-SMASH-Works 

eg from it's help:
Infile can be raw (in which case resolution is required),
  or YUV4MPEG (*.y4m),
  or Avisynth if compiled with support (yes).
  or libav* formats if compiled with lavf support (yes) or ffms support
(no).
Outfile type is selected by filename:
 .264 -> Raw bytestream
 .mkv -> Matroska
 .flv -> Flash Video
 .mp4 -> MP4 if compiled with GPAC or L-SMASH support (lsmash)
Output bit depth: 8/10

However, L-SMASH-WORKS depends on an ffmpeg lib built with
--enable-avresample and LSW fails to build without it.

Unfortunately, ffmpeg's --enable-avresample is deprecated ?

So ...
what did ffmpweg replace --enable-avresample with
and in your view would there be some possibility of being able to patch
L-SMASH-WORKS to use that instead ?

The scenario being considered is cross-compiling it all under Ubuntu to run
in Win10 x64 (it works).

Thanks


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: L-SMASH-WORKS and replacement for deprecated ffmpeg --enable-avresample

Moritz Barsnick
On Tue, Nov 27, 2018 at 00:26:09 +1030, [hidden email] wrote:
> However, L-SMASH-WORKS depends on an ffmpeg lib built with
> --enable-avresample and LSW fails to build without it.
>
> Unfortunately, ffmpeg's --enable-avresample is deprecated ?

But it's still available as of today.

> what did ffmpweg replace --enable-avresample with
> and in your view would there be some possibility of being able to patch
> L-SMASH-WORKS to use that instead ?

This commit:

https://github.com/FFmpeg/FFmpeg/commit/c29038f3041a4080342b2e333c1967d136749c0f

says:

  "Users of this library are asked to migrate to libswresample, which,
  as well as providing more functionality, is faster and has higher
  accuracy."

> - input various container formats if built with "lavf support" (from ffmpeg).
> - output various container formats if built with "L-SMASH support" (from
>   L-SMASH-WORKS) https://github.com/VFR-maniac/L-SMASH-Works

Does it support any formats which ffmpeg (the command line tool) does
not? If not, you could use ffmpeg.exe instead if x264.exe.

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://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: L-SMASH-WORKS and replacement for deprecated ffmpeg --enable-avresample

hydra3333
> From: ffmpeg-user <[hidden email]> On Behalf Of
> Moritz Barsnick
> Sent: Tuesday, November 27, 2018 1:03 AM
> To: FFmpeg user discussions <[hidden email]>
> Subject: Re: [FFmpeg-user] L-SMASH-WORKS and replacement for
> deprecated ffmpeg --enable-avresample
>
> On Tue, Nov 27, 2018 at 00:26:09 +1030, [hidden email] wrote:
> > However, L-SMASH-WORKS depends on an ffmpeg lib built with
> > --enable-avresample and LSW fails to build without it.
> >
> > Unfortunately, ffmpeg's --enable-avresample is deprecated ?
>
> But it's still available as of today.

Yes it is. I am currently able to cross compile ffmpeg and x264-with-LSW
https://github.com/VFR-maniac/L-SMASH-Works with ffmpeg --enable-avresample,
using a variation of the ffmpeg/x264 build script (edited to add in lsw)
at https://github.com/DeadSix27/python_cross_compile_script 
however the author (Deadsix27) prefers not to permanently add in lsw support
on the basis that avresample in ffmpeg is deprecated.
A github issue was raised with the author of L-SMASH-Works early this year
however nothing public has been visible as yet and it seems the author may
have other ongoing priorities.

>
> > what did ffmpweg replace --enable-avresample with and in your view
> > would there be some possibility of being able to patch L-SMASH-WORKS
> > to use that instead ?
>
> This commit:
>
> https://github.com/FFmpeg/FFmpeg/commit/c29038f3041a4080342b2e333
> c1967d136749c0f
>
> says:
>
>   "Users of this library are asked to migrate to libswresample, which,
>   as well as providing more functionality, is faster and has higher
>   accuracy."

OK, thank you for that info.
I'm tempted to have a bit of a look and if easy enough, consider trying
to resurrect 40 yo coding skills 😊 in a fork.  Or, not.

>
> > - input various container formats if built with "lavf support" (from ffmpeg).
> > - output various container formats if built with "L-SMASH support" (from
> >   L-SMASH-WORKS) https://github.com/VFR-maniac/L-SMASH-Works
>
> Does it support any formats which ffmpeg (the command line tool) does not?
> If not, you could use ffmpeg.exe instead if x264.exe.

Yes, my home video workflow was recently updated to use just ffmpeg
instead. As you say, I suppose I could stick with that, although it's handy to
have an enhanced x264 as well (built with libav* lsmash).

>> eg from it's help:
>> Infile can be raw (in which case resolution is required),
>>   or YUV4MPEG (*.y4m),
>>   or Avisynth if compiled with support (yes).
>>   or libav* formats if compiled with lavf support (yes) or ffms support (no).
>> Outfile type is selected by filename:
>>  .264 -> Raw bytestream
>>  .mkv -> Matroska
>>  .flv -> Flash Video
>>  .mp4 -> MP4 if compiled with GPAC or L-SMASH support (lsmash)
>> Output bit depth: 8/10

>
> Cheers,
> Moritz

Thanks, Moritz !
Cheers, le hydra.

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

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

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