Re: [Libav-user] Get list of supported video types

2011-10-28 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> Is it possible to call an ffmpeg API to get the list of video types
> that it supports for decoding and encoding?

See opt_codecs() in cmdutils.c ('ffmpeg -codecs').

> I'd want the associated file extensions as well.

Decoders and encoders are not associated to file extensions.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] About using FFmpeg libraries

2011-11-03 Thread Carl Eugen Hoyos
  writes:

> My name is Artem, I present AIMP Project.
> AIMP is free audio player for Microsoft Windows with closed sources.
> 
> We would like to use binaries of FFmpeg libraries in our application as
> additional decoders set. Can we use binaries of FFmpeg in closed-source
> project

This may be possible.

> (without any modifications of source code)?

This does not make any difference at all.

> Under what conditions?
> Can we distribute FFmpeg binaries in one package with our program?

Please read (and understand) the LGPL to get all information you need about the
obligations when distributing binaries of LGPL'd software.
Among them are:
Do not use GPL-code (it does not like closed-source projects)
Inform your users that your software uses code from FFmpeg
Show the LGPL to your users
Do not claim that FFmpeg belongs to you - we have had enough of that;-)
Share the exact source code (including some build instructions) of FFmpeg that
you used. This has to be done in a way that allows your users to replace the
binary of FFmpeg that comes with your software with a self-compiled version (for
example by changing code in the FFmpeg sources that you provide).

> Of course, we provide information about using libdca in about box of the
> program and EULA.

libdca != FFmpeg

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] H264 1 frame delay.

2011-11-14 Thread Carl Eugen Hoyos
Victor Moray  writes:

> I'm using FFMPEG through VLC to receive and decode H264 video from a hardware
> video encoder over RTSP on a local network. The hardware encoder manufacturer
> provides an ActiveX control which is used to receive and decode video from the
> encoder, and the latency is minimal. However, through FFMPEG there is always a
> 1 frame delay between what the manufacturer-provided control shows, and what
> VLC shows.

Do you see the same latency if you use ffplay (not using vlc)?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Carl Eugen Hoyos
Bruce Wheaton  writes:

> I have a fairly simple .mov with one track of stereo PCM 16-bit audio.
> Quicktime has the channels tagged as left and right. When I open the file with
> libavformat & libavcodec, I get the 'Unimplemented container channel layout'
> warning and it won't play properly (in my app).

Does it play properly with ffplay (or MPlayer)?
Can it be read by ffmpeg?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Carl Eugen Hoyos
Bruce Wheaton  writes:

> > Does it play properly with ffplay (or MPlayer)?
> > Can it be read by ffmpeg?
> 
> I don't have ffplay active now, I'll enable it. FFMPEG fails as below. The
> resulting video is empty.
> $ ./ffmpeg -i Opening\ Video\ PJ\ 720p29.97.mov test.mov

[...]

> encoder 'aac' is experimental and might produce bad results.
> Add '-strict experimental' if you want to use it.

You could either "Add '-strict experimental'" to your command line (before
test.mov) or use test.avi instead of test.mov.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-16 Thread Carl Eugen Hoyos
Bruce Wheaton  writes:

> Sorry, I can't find anywhere, but do ffplay and ffmpeg configure the audio
> codec context at all?

> Obviously, they configure resampling etc., but do they tell the codec context
> to do anything different depending on layout?

If you output to alsa, yes.
The audio encoders - esp (E)AC-3 - have to guess the layout if it is not
specified.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] libavformat doesnt recognize h264 stream in mpegts, but vlc does

2011-11-16 Thread Carl Eugen Hoyos
Andrey Utkin  writes:

> The dump is: ftp://golosimperii.org/tmp/dump.ts

Fixed in current git head, thank you for the sample!

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Is an avfilter applied before encoding/decoding or after that

2011-11-18 Thread Carl Eugen Hoyos
Harry Ma  writes:

> I wonder when a avfilter is applied? is it applied before encoding/decoding or
> after that?

I don't think a (video) filter could do anything useful if it is not applied
after decoding and before encoding.

Please do not cross-post, this is considered rude, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Request: RGBA support for huffyuv decoder

2011-11-18 Thread Carl Eugen Hoyos
Robert Nagy  writes:

> As title the title says. I would like to request that RGBA support was added 
> to
> the huffyuv decoder.

Could you provide a sample (one frame) that contains RGBA huffyuv but cannot be
decoded correctly with FFmpeg?
Please add information on how it can be decoded correctly...
Does the FFmpeg native encoder work? (=Is it only a decoder problem or decoder
and encoder?)

(I thought I found this bug some days ago, but without a sample it is more
difficult to test, and I was too lazy to try to produce one myself.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Request: RGBA support for huffyuv decoder

2011-11-18 Thread Carl Eugen Hoyos
Robert Nagy  writes:

> As title the title says. I would like to request that RGBA support was added 
> to
> the huffyuv decoder.

I found a sample:
http://samples.mplayerhq.hu/V-codecs/HuffYUV/camera2_hfyu32.avi
Decoding works fine, encoding RGBA (ff)huffyuv is broken afaict.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Missing Header on MP2/MPEG-TS (audio bad)

2011-11-20 Thread Carl Eugen Hoyos
Hi!

RichardP  writes:

> Below is the trace of decode_audio3() with Decoded_bytes being its
> return.(inQueue is the packet.size) If I record the original stream and then
> transcode using ffmpeg there are no problems... when I do the same, I get
> millions of "Missing Headers" and no audio is transcoded. (below is the
> first instance of it going bad.. and it does not appear to recover)

Perhaps you need to use the mpegaudio parser?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] disabling probe for specific streams

2011-11-20 Thread Carl Eugen Hoyos
aviad rozenhek  writes:

> I want to disable probing for streams which arent video or audio.
> is there a way to do it?

Does -analyzeduration help?

[...]

> avprobe version v0.7-749-g2214191, Copyright (c) 2007-2011 the Libav

This is very broken and unsupported here.

Please see http://ffmpeg.org/download.html to find out how to download FFmpeg.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Write raw RGB frames to file

2011-11-22 Thread Carl Eugen Hoyos
 <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:

> >I read frames from input files, use swscale to have raw rgb images. I would
> >like to write these images to a Mkv container, keeping the frames in raw rgb.
> >How can this be obtained?
> >What codec do I have to use?
> >I tried CODEC_ID_BMP but I couldn't find any ressource that tells me what
> >settings go together with a specific codec.

I suspect you are searching for CODEC_ID_RAWVIDEO.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Write raw RGB frames to file

2011-11-22 Thread Carl Eugen Hoyos
 <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:

> >I suspect you are searching for CODEC_ID_RAWVIDEO.
> 
> But it seems to me that rawvideo is yuv420 only.

Why do you think so?
I believe that for the sake of your question it supports "all" pix_fmts.
(It does not support all but all relevant ones.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X

2011-11-22 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> I'm running 64-bit Lion but I need to compile a 32-bit version of
> ffmpeg because another library I'm using is only available as 32-bit.
> I've tried a number of different configurations but they're all giving
> me errors. Here's what I've tried:
> 
> ./configure --disable-static --enable-shared --disable-outdev=sdl
> --disable-bzlib --disable-libfreetype --disable-libopenjpeg
> --enable-zlib --enable-runtime-cpudetect --arch=i386
> --extra-cflags="-arch i386" --extra-ldflags="-arch i386"
> --target-os=darwin --enable-cross-compile

What's wrong with "./configure --cc='gcc -m32'"?
Or does this not work on OSX?

If it still fails, please run make again, then run make V=1 and post the
complete, uncut output of make V=1. (Please do not post the complete uncut
output of your first call to make.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X

2011-11-23 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> gcc -m32 -I. -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99
> -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement
> -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
> -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
> -O3 -fno-math-errno -mllvm -stack-alignment=16  -MMD -MF
> libavcodec/h264_cabac.d -MT libavcodec/h264_cabac.o -c -o
> libavcodec/h264_cabac.o libavcodec/h264_cabac.c
> cc1: error in backend: Ran out of registers during register allocation!
> make: *** [libavcodec/h264_cabac.o] Error 1

Afaict, this is a compiler error;-(

Could you add the output of gcc-v?
Does it make any difference if you use "./configure --cc='clang -m32'"?

If you just want to compile FFmpeg, I suggest you copy above command (from gcc
to cabac.c), paste it and remove -fomit-frame-pointer (or replace it with
-fno-omit-frame-pointer). The compilation of h264_cabac.o should succeed and you
can run "make" to compile the rest of the project.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Write raw RGB frames to file

2011-11-23 Thread Carl Eugen Hoyos
 <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:

> Is there any reference or example that tells me, which attributes of the
> AVCodecCtx have to be set in order to get the rawvideo-encoding work?

Assuming you are only interested in mkv: Did you look into matroskaenc.c?
I suspect you have to set an appropriate codec_tag for the pix_fmt.
(And since I did not find a documentation for KaxCodecColourSpace on
matroska.org, it is possible that not all applications will support all tags 
FFmpeg uses.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Write raw RGB frames to file

2011-11-23 Thread Carl Eugen Hoyos
Carl Eugen Hoyos  writes:

>  <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:
> 
> > Is there any reference or example that tells me, which attributes of the
> > AVCodecCtx have to be set in order to get the rawvideo-encoding work?
> 
> Assuming you are only interested in mkv: Did you look into matroskaenc.c?
> I suspect you have to set an appropriate codec_tag for the pix_fmt.
> (And since I did not find a documentation for KaxCodecColourSpace on
> matroska.org, it is possible that not all applications will support all tags 
> FFmpeg uses.)

http://www.matroska.org/technical/specs/index.html "ColourSpace"
Looking at http://fourcc.org/rgb.php at least RGBA should work fine.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Force low-delay handling? question + feature suggestion

2011-11-24 Thread Carl Eugen Hoyos
Camera Man  writes:

> would it work to patch ff_h264_decode_init() and decode_postinit() to also
> check the AV_DISCARD mode, and if we are discarding B and/or nonref frames,
> would set avctx->has_b_frames=0 and low_delay=1 ?

I don't know but I suggest that you write such a patch (optionally test it on
streams with B-frames) and post it on ffmpeg-devel where it can be discussed.

Carl Eugen

PS: Your mail is nearly unreadable here. In case you are sending HTML-mails:
Please don't do that.

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Security Camera App - multiplexing and visual timestamps

2011-11-24 Thread Carl Eugen Hoyos
Camera Man  writes:

> e.g., for (2) there might be a way to multiplex macroblocks from
>   different pictures, without actually decoding them to image and
>   re-encoding (thus avoiding the motion compensation estimation,
>   which is super expensive, and the effects of requantization)
> for (1), there might be a way to increase the picture size to e.g
>   1280x1000, and somehow encode the timestamp into the new 40 pixels
>   (again, without decoding and re-encoding everything?)

While both may be possible in theory (I don't know) it would certainly require
some effort to program this. (It is not supported by current FFmpeg.)

> And assuming that I have to re-encode, is there a some
>   hw-assisted encoder supported by ffmpeg that would be able to do
>   this encoding in real time and without eating too many watts?

I thought for any given hardware encoder, there is a software encoder that is
both faster (fps) and produces better quality (but I did not test myself) ;-)

But seriously:
What encoder are you using with what options? I would be surprised if that
couldn't be accelerated.
And no, FFmpeg does not support hardware encoders. Apart from "patch welcome", I
assumed above is the reason nobody sent one.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X

2011-11-24 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> Thanks guys but omitting -fomit-frame-pointer in the last gcc call or
> replacing it with -fno-omit-frame-pointer resulted in the same error
> (trying both gcc and clang).

[...]

> make V=1 of clang is:
> clang -m32 -I. -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H
> -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -g
> -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
> -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-math-errno
> -fno-signed-zeros -mllvm -stack-alignment=16 -Qunused-arguments  -MMD
> -c -o libavcodec/h264_cabac.o libavcodec/h264_cabac.c

This does not look as if you omitted -fomit-frame-pointer or replaced it with
-fno-omit-frame-pointer ;-(

Please:
Configure with one of the mentioned configure lines (either gcc or clang, it is
possible that one of them fails at another point in the compilation, to save
time you can test this preliminary with configure --disable-decoder=h264)

Run make (it fails)

Run make V=1

Copy everything from "gcc"/"clang" to "libavcodec/h264_cabac.c" and paste it
into your shell. Add -fno-omit-frame-pointer to the end (this should be
sufficient since iirc later compiling options overwrite earlier ones) / remove
-fomit-frame-pointer from the pasted command (this may actually not work because
I believe -O3 implies -fomit-frame-pointer) / replace -fomit-frame-pointer with
-fno-omit-frame-pointer. Press enter. If the compilation does not succeed,
report back, there are other things you can try.

Run make.

Carl Eugen

PS: Please use current git head, the releases are only for distributors, and I
suspect you are a user.

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Creating a standard MP4 file using exisiting H264 Elementary stream

2011-11-24 Thread Carl Eugen Hoyos
Shachar Arieli  writes:

> I have an application which is required to create a video file (only video no
> audio) which is readable by the Microsoft media player (latest version).

Which version?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X

2011-11-24 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> Here's what I did this time. I'm sticking to ffmpeg-0.8.7 because I am
> a distributor.

Does it work with current git head? If yes, we could backport the change...

> 1. Ran ./configure --cc="gcc -m32" --disable-decoder=h264

Should have been --disable-decoder=h264,svq3 --disable-parser=h264 (sorry for
not testing myself).

[...]

> 4. Added -fno-omit-frame-pointer to end and ran gcc -m32 -I.
> -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99
> -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement
> -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
> -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
> -O3 -fno-math-errno -mllvm -stack-alignment=16  -MMD -MF
> libavcodec/h264_cabac.d -MT libavcodec/h264_cabac.o -c -o
> libavcodec/h264_cabac.o -fno-omit-frame-pointer
> libavcodec/h264_cabac.c

You can try to replace -O3 with -O2 (or -O1)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X

2011-11-25 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> 4. Repeated #2 and #3 with clang on current git head and got the same errors

Next tests:
Could you provide the output of
$ grep HAVE_EBX_AVAILABLE config.h
$ grep HAVE_EBP_AVAILABLE config.h
(I assume it is identical for clang and gcc, is it?)

And please test versions 324b8adc and 08d2cee4 to make sure this is not a 
regression.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Write raw RGB frames to file

2011-11-25 Thread Carl Eugen Hoyos
 <=?iso-8859-1?Q?Max_G=F6ttner_-_d.stream?=> writes:

> Resulting files seem ok, when analyzing them with mkvinfo (from mkvtoolnix),
> filesize is also like you'd expect. However no player is able to replay
> them.

mplayer -demuxer lavf ?

> Libav succeeds in opening and recognizing the format but fails in
> decoding and delivers the following message:

Command line and complete, uncut console output missing.
And please see http://ffmpeg.org/download.html to know how to get FFmpeg
versions that are supported on this mailing list.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] about ffmpeg's lgpl

2011-12-06 Thread Carl Eugen Hoyos
Alex Cohn  writes:

> On Mon, Dec 5, 2011 at 12:30, kunkka cai  wrote:
> > Hi,
> > I'm developing a free (in price) software which should be able to play mp3
> > files. I know ffmpeg is a great codec, so I want my application to link
> > against it.
> > Actually I have built some Dlls (avcodec-52.dll, avformat-52.dll,
> > avutil-50.dll) without  "--enable-gpl" and without "--enable-nofree". And my
> > application that linking against those dlls works well.
> > Since I don't want my software to be open-source or become under LGPL/GPL.
> > That means I don't want to distribute the source code of my application, but
> > I can distribute the source code of the ffmpeg dlls I use.
> 
> Yes, you should provide the source code with any build scripts you use.

I am not a native speaker but I wonder if the word "should" (here and below) is
the right choice...

> > Can I compress them(my application and those dlls) together into a single
> > installation file and distribute it on the internet? Or what can I do?
> 
> Yes, you can distribute the binaries of ffmpeg you built, but:
> 
>  - The end user should easily find the licensing info for libav
> components used in your distribution;

The licensing information actually has to be shown to the user.

>  - The end user should easily find the source code and build
> scripts/instructions to rebuild these components if they wish.
> 
> The ultimate solution is to include these sources in your
> distribution; after all, it's only around 10 MByte zipped.
> 
> If bundling the sources is not possible or not relevant in your case,
> you can keep them separate, but you should provide certain guarantees
> that they will be easily and reliably available to anybody who has
> your product installed (IMHO this means that you cannot rely on a free
> public download site for that).

If you don't want to bundle the FFmpeg sources with your product, I strongly
suggest you offer them on the same download server and from the same download
page where the application is provided (so far, nobody could suggest a better
interpretation to "accompany" as required by the license).

>  - The end user should be able to replace the av libraries in his
> installation with the versions built by them.

Which is easy if you use FFmpeg shared libraries (dlls).

> You carry no obligation that this will work unless they reproduce
> precisely your instructions and use the sources that you supplied.
> (For example, if they decide to upgrade to latest version of ffmpeg,
> or to perform a debug build, whatever).
> 
> This requirement may become tricky or even prohibitive in some
> situations (e.g. on iOS platform), but for a typical Windows
> application it's enough to write a short instruction for replacing the
> ffmpeg dlls (and test it yourself !!).

Exactly.
(iOS seems to require static linking, some companies offer the object files of
their proprietary applications to allow re-linking against different FFmpeg
versions.)

> Enjoy,
> Alex Cohn
> 
> Disclamer: I am not a lawyer, and the advise above is not legally
> bounding. In case of miniscule doubt, consult your lawyer who
> specializes in open source software.

Same here.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] about ffmpeg's lgpl

2011-12-07 Thread Carl Eugen Hoyos
Alex Cohn  writes:

> PS I often find the reactions to licensing questions on this and other
> open software lists intimidating. I believe that open software should
> (pun intended) be promoted, among other ways, by making it easier to
> understand and use, even at risk of somebody unintentionally
> misunderstanding of some legal fine print. If, to use free software,
> the developers must (pun intended) pay the lawyers, maybe it would be
> healthier (and cheaper) to pay for software?

;-)

I had contact with many companies / individuals who use FFmpeg in their
commercial product and do not care the slightest about the (L)GPL. You can find
some email exchange on gmane in ffmpeg.issues, it should show in an impressive
way that they are very often simply refusing to read the license, but ask why we
require - for example - source code distribution.
So apart from the fact that working on the code (or answering actual user
questions) is much more fun, yes, I am sometimes short-tempered when it comes to
license questions.
(Note that I do not remember anybody ever asking "Is it sufficient if I do this
and that to fulfil this requirement of the license?" but always "Can I use
FFmpeg in my commercial product if I do not change the code?")

Thank you for your help, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Extract cover image from audio files (mp3, m4a)

2011-12-09 Thread Carl Eugen Hoyos
Kirell Benzi  writes:

> I'm new to ffmpeg, I would like to know if it is possible to extract an image
> embedded in an audio file, aka audio cover and how to do it.

Does the output of "ffmpeg -i yourfile" indicate that the images are detected?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Playing fragmented mp4 h264/AVC

2011-12-13 Thread Carl Eugen Hoyos
  writes:

> Does anyone have an idea what could be the problem?

Please provide a sample.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Batch trimming commands

2012-01-06 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> Oftentimes I need to trim several clips out of the same video.
> Unfortunately this means ffmpeg.exe must scan over the same sections
> of video over and over again to get to the clip's starting point. A
> more efficient way to handle this would be to batch trimming commands.
> Maybe something like: ffmpeg -i "original.avi" -ss1 0:10:00 -t1 0:00:30
"output1.avi" -ss2 0:15:00 -t2 0:00:30 "output2.avi".

Did you test your command line (without "1" and "2" except "output2.avi")?
It works fine here.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] CoreAudio (CAF/AAC) missing packet table

2012-01-06 Thread Carl Eugen Hoyos
Chris Ballinger  writes:

> ffmpeg reports the following:
> 
> [caf0x7fbee284ac00] Missing packet table. It is required when block
> size or frame size are variable.

Did you try to enable full parsing and set any fixed block size in the demuxer?

Text-only mails are preferred here, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] ffmpeg and comercial licenses..

2012-01-11 Thread Carl Eugen Hoyos
Dan Stuart  writes:

> I know that FFmpeg supports libx264. 
> However, I want to use this in a commercial product. 
> I know you can get a commercial license for 
> libx264 from the company CoreCodec, 
> and we are planning on paying all the legal patent fees.
> 
> Can libx264 be compiled into FFmpeg? 
> If not, what are my options? 
> Can it peacfully co-exist with 
> the LGPL version of FFmpeg libraries?

Yes, but all requirements of the LGPL still apply if you distribute the
binaries. Please read http://ffmpeg.org/legal.html and ignore "notably libx264".
You will have to patch your copy of FFmpeg to be able to fulfil point "1" (you
have to remove the "--enable-gpl" requirement for x264 from configure).

I believe it would be a good idea if you clearly say in your EULA that you
bought a license for x264 but that you distribute FFmpeg under the LGPL.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Batch trimming commands

2012-01-11 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> On Fri, Jan 6, 2012 at 4:47 AM, Carl Eugen Hoyos  wrote:
> > Simon Daniels  writes:
> >
> >> Oftentimes I need to trim several clips out of the same video.
> >> Unfortunately this means ffmpeg.exe must scan over the same sections
> >> of video over and over again to get to the clip's starting point. A
> >> more efficient way to handle this would be to batch trimming commands.
> >> Maybe something like: ffmpeg -i "original.avi" -ss1 0:10:00 -t1 0:00:30
> > "output1.avi" -ss2 0:15:00 -t2 0:00:30 "output2.avi".
> >
> > Did you test your command line (without "1" and "2" except "output2.avi")?
> > It works fine here.

In case this was not clear, I meant:
ffmpeg -i "original.avi" -ss 0:10:00 -t 0:00:30
"output1.avi" -ss 0:15:00 -t 0:00:30 "output2.avi".

> I tried that and it creates output files with 0 bytes.
> 
> Here was my input:
> ./ffmpeg -i "/Users/user/Documents/original.MP4" -vcodec copy -acodec
> copy -ss 00:10:10 -t 00:00:30 -vcodec copy -acodec copy -ss 00:24:15
> -t 00:00:30 "/Users/user/Documents/output1.MP4"
> "/Users/user/Documents/output2.MP4"

That looks very different, and if you would not top-post (which is considered
rude here), you would have had a chance to see it yourself.

> Here was the output:
> ffmpeg version 0.8.git-08d2cee, Copyright (c) 2000-2011 the FFmpeg developers

This is old, please try current git head.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Questions about using libav in a multi-threaded application

2012-01-16 Thread Carl Eugen Hoyos
Andrey Utkin  writes:

> Yes, except if multithreaded decoder/encoder will log something from
> its thread pool.

> Their multithreading is disabled by default,

I don't think this is correct anymore.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Problems on TS files

2012-01-18 Thread Carl Eugen Hoyos
肖波 <13760746839@...> writes:

> I called the ffmpeg API to decode video files.But I found that it have
> problems for some TS files.During my decode process is running,sometimes the
> application crashes.

Then please provide a backtrace and a very significantly shorter sample (~5MB,
you can cut ts at any point), I do not see any invalid memory access with your
sample.

Please do not highjack threads (not even your own), it is considered rude here.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-23 Thread Carl Eugen Hoyos
  writes:

> I'm attempting to encode in PIX_FMT_YUYV422 using libavcodec.
> It's not clear to me the format of input raw data.  I understood that
> all pixel should be in 16 Bit format, but in buffer, how should be inserted
> data ?  That is, if locpFrame is a pointer to an AVFrame, I should insert;
> 
> locpFrame->data[0] => The buffer containing only luma samples (Y0,Y1,Y2..)
> locpFrame->data[1] => The buffer containing only Chroma 1 samples
> (Cr0,Cr1,Cr2..)
> locpFrame->data[2] => The buffer containing only Chroma 2 samples
> (Cb0,Cb1,Cb2...)

I suspect this would PIX_FMT_YUV422P

> or:
> 
> locpFrame->data[0] => The buffer containing packetized samples,
> Y0,Cr0,Y1,Cb0,Y2,Cr1,Y3,Cb1

This is approximately PIX_FMT_YUYV422, but I suspect you have Cr and Cb swapped,
please see libavutil/pixfmt.h
(Or is the comment wrong there?)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] [libav-user] Using MSVC++ intrinsics

2012-01-23 Thread Carl Eugen Hoyos
wl2776  writes:

> I've added some code to the libavutil/bswap.h which checks for _MSC_VER
> macro and in positive case calls MSVC intrincics _byteswap_ushort,
> _byteswap_ulong etc, instead of bit operations.

I suspect this belongs into libavutil/x86/bswap.h and please send your (clean!)
patches to ffmpeg-devel.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-23 Thread Carl Eugen Hoyos
Carl Eugen Hoyos  writes:

> > locpFrame->data[0] => The buffer containing packetized samples,
> > Y0,Cr0,Y1,Cb0,Y2,Cr1,Y3,Cb1
> 
> This is approximately PIX_FMT_YUYV422

I should add that afaict, rawvideo is the only encoder that supports
PIX_FMT_YUYV422, so I don't think that is what you want...

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-23 Thread Carl Eugen Hoyos
  writes:

> >> locpFrame->data[0] => The buffer containing packetized samples,
> >> Y0,Cr0,Y1,Cb0,Y2,Cr1,Y3,Cb1
> >
> >This is approximately PIX_FMT_YUYV422, but I suspect you have Cr and Cb
> swapped,
> >please see libavutil/pixfmt.h
> >(Or is the comment wrong there?)

[...]

> why you state that this is "approximately" PIX_FMT_YUYV422 ?

What is unclear about "I suspect you have Cr and Cb swapped"?
(But as said, I don't know if the comment in pixfmt.h is correct.)

> I read libavutil/pixfmt.h but from this header and from  the source code
> example it's not clear to me how I should insert data.  I start from a raw
> image and would compress it in MPEG2 4:2:2 format.

As said, you cannot use PIX_FMT_YUYV422 because no encoder supports it.
The mpeg2 encoder does support PIX_FMT_YUV422P though.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-24 Thread Carl Eugen Hoyos
  writes:

 the comment is not clear
> too.  It says :
> 
> ///< planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
> 
> even though the two Croma are inverted, the difference will be in colors.
> If they are swapped (little endian instead of big endian due to the fact
> that is in 16 bit format), the final image will have wrong colors.

You misunderstand (on average, a pixel uses 16bit, but you cannot relate 16bit
data to a specific pixel), there is nothing endian specific about
PIX_FMT_YUV422P.

> What I haven't understood is how to pass data to encoder. That is, should I
> use three different buffers (for luma, Cr and Cb) or a single buffer?

For planar formats, you have to provide as many buffers as there are planes,
three for PIX_FMT_YUV422P, for packed formats, one buffer is needed.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Compressed h264 avc1 frames to transport stream

2012-01-24 Thread Carl Eugen Hoyos
Valérian  writes:

> I directly receive compressed h264 avc1 frames that I want to write to a
> transport stream.

Does it work with ffmpeg (the application)?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Compressed h264 avc1 frames to transport stream

2012-01-25 Thread Carl Eugen Hoyos
Valérian  writes:

> > > I directly receive compressed h264 avc1 frames that I want to write
> > > to a transport stream.
> >
> > Does it work with ffmpeg (the application)?
>
> Just tried that out. Doesn't work either.

Command line and complete, uncut console output missing.

Please set your mailer to "plain text", Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Compressed h264 avc1 frames to transport stream

2012-01-25 Thread Carl Eugen Hoyos
Valérian  writes:

> [h264 @ 0x101031600] non-existing PPS 0 referenced
> [h264 @ 0x101031600] decode_slice_header error
> [h264 @ 0x101031600] no frame!
> [h264 @ 0x10101ae00] Could not find codec parameters (Video: h264)
> [h264 @ 0x10101ae00] Estimating duration from bitrate, this may be inaccurate
> pipe:: could not find codec parameters
> 
> I use a NSTask with NSPipe. The following arguments are passed to ffmpeg :
> NSArray *args = [NSArray
> arrayWithObjects:@"-y",@"-f",@"h264",@"-i",@"-",@"-acodec",@"copy",
> @"-vcodec",@"copy",@"-vbsf",@"h264_mp4toannexb",@"myoutput.ts", nil];

This is not only hard to parse, but I cannot copy-paste this into my shell...

> This would give :
> ffmpeg -y -f h264 -i - -acodec copy -vcodec copy -vbsf
> h264_mp4toannexb myoutput.ts

(I assume you did test that cat file|ffmpeg -i - shows the same output?)
Does ffmpeg -i file work?

Please upload the sample.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Compressed h264 avc1 frames to transport stream

2012-01-27 Thread Carl Eugen Hoyos
Valérian  writes:

> http://dl.dropbox.com/u/28482555/output.h264

Which software can read this file?
The JVT reference decoder fails.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] generating blank video frame?

2012-01-29 Thread Carl Eugen Hoyos
David Henry  writes:

> I tried just creating an output buffer, same
> size I get back from sws_scale() and doing a memset() 0 on it

Did you try 0x80 instead?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Seeking during trimming command takes quite a while

2012-01-30 Thread Carl Eugen Hoyos
Simon Daniels  writes:

> I'm using the -ss and -t flags to trim a section of video out of a
> longer original one. As an example, if the video is 60 minutes long,
> and I want minutes 50-52, ffmpeg takes quite a while to get to that
> point. I'll see something like the following (I know my -ss flag
> values don't exactly match my example)
> 
> Users-MacBook-Pro:ffmpeg-0.10 user$ ./ffmpeg -i "Long GOPRO.MP4"
> -vcodec copy -acodec copy -ss 0:05:10 -t 0:00:30 "output1.mp4"

Your command line asks ffmpeg to decode the complete input file and start
encoding / remuxing after 5:10 (for 30 seconds). The faster (but possibly less
exact) variant is to seek to 5:10 and start decoding there:
ffmpeg -ss 5:10 -i input -vcodec copy -acodec copy out.mp4
(-ss may not always work with -codec copy but I just tested it successfully on a
mov trailer.)

> ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers

Completely unrelated to your question:
If you are an end user, you are strongly encouraged to always use latest git
head instead of a release: git head always contains more features and fixes.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-05 Thread Carl Eugen Hoyos
John Dexter  writes:

> 2. I had some concerns reading about the legal side, GPL and LGPL. Our
> software is totally closed source and while we use LGPL libraries, it 
> sounded like some parts of ffmpeg are GPL-only. Will this realistically 
> affect me

It is your choice if you compile FFmpeg with support for GPL-parts 
(which makes the whole library GPL and forbids linking against your 
proprietary application) or without.
So only you know if it affects you or not.
(Or in other words: It will only affect you if you want H264 encoding 
but are not willing to buy a commercial x264 license.)

Please consider reading the License Compliance Checklist on 
http://ffmpeg.org/legal.html and if you think anything is not 
clear on this page, please report!

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-05 Thread Carl Eugen Hoyos
John Dexter  writes:

> (Or in other words: It will only affect you if you want H264 encoding
> but are not willing to buy a commercial x264 license.)
> 
> Sorry, I need to ask about that in more detail after more thought. 
> There are 2 separate issues here it seems...
> 
> 
> Whether I can use ffmpeg libraries to encode H264 without making my 
> entire application GPL?
> 
> Whether I need to pay for a H264 license 

> Is the situation I can use ffmpeg L-GPL if I pay for a H264 license, 
> but without buying that license I can only use H264 for full GPL? 
> Or am I totally misunderstanding the situation?

The situation is that if you link your application against a GPL'd 
library (or against libavcodec linking against a GPL'd library) 
then your application gets GPL'd itself (or you are not complying 
with the GPL, making you a copyright violator).

The LGPL allows you to link against non-free object files as long 
as you follow some restrictions - see http://ffmpeg.org/legal.html 
- so if your H264 encoding library is *not* licensed under the GPL 
(but a proprietary or "commercial" license) there should be no 
problem.

The remaining questions are certainly not within the scope of 
this mailing list, please visit http://x264licensing.com/

Please set your mailer to "plain text" instead of html, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-05 Thread Carl Eugen Hoyos
John Dexter  writes:

> > Please consider reading the License Compliance Checklist on 
> > http://ffmpeg.org/legal.html and if you think anything is not
> > clear on this page, please report!
> 
> Since you mention it, I would prefer a list of what I MUST 
> do and a list of what you PREFER I do, in terms of 
> open-source etiquette :) 

(Not being a native speaker, I wonder if there is some insult 
hidden in this sentence...)

The list contains all things you have to do afaict, 
and some things that really make a lot of sense if you trying
to fulfil the requirements of the LGPL (as opposed to trying 
very hard not to fulfil its concept and getting away with it).

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-05 Thread Carl Eugen Hoyos
Bruce Wheaton  writes:

> On Feb 5, 2012, at 8:38, Carl Eugen Hoyos 
> > (Or in other words: It will only affect you if you want H264 
> > encoding but are not willing to buy a commercial x264 license.)
> 
> Carl, for my own information - there are also some 
> 'less important' codecs that are GPL only, correct?

Some video filters, the X11 framegrab code and the avs encoder 
are examples for GPL'd parts of FFmpeg.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-05 Thread Carl Eugen Hoyos
Carl Eugen Hoyos  writes:

> The list contains all things you have to do afaict, 
> and some things that really make a lot of sense if you trying
> to fulfil the requirements of the LGPL (as opposed to trying 
> very hard not to fulfil its concept and getting away with it).

[About http://ffmpeg.org/legal.html ]
I just saw that above is of course not true for point 2 
(use dynamic linking) but since using static linking makes 
conforming to the LGPL more difficult I think it clearly 
counts as good advice.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-05 Thread Carl Eugen Hoyos
John Dexter  writes:

> > [About http://ffmpeg.org/legal.html ]
> 
> That page includes "distribute the ffmpeg source code". 
> IIRC that's not a requirement for LGPL?

It is a crystal-clear requirement.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] G711 Codec support

2012-02-06 Thread Carl Eugen Hoyos
NITIN GOYAL  writes:

> I am able to decode the g729 but not g711.

Command line and complete, uncut console output missing.
And consider providing a sample.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-06 Thread Carl Eugen Hoyos
John Dexter  writes:

> obviously I have no problem providing source if asked to, 

You misunderstand:
If you don't want to "accompany" your binary distribution with the 
corresponding source code, you have to add a legally binding written 
offer that you will provide the source code on request.
This may have been useful at a time when there was no internet 
but expensive discs, to save you from that burden nowadays, 
we recommend you to ...

> and in putting the license in my redistributable.

> I read somewhere that including a link to where users could download
> the source themselves can be counted as "distributing the source"?

... do exactly this as explained on http://ffmpeg.org/legal.html
(because we think you can argue that the corresponding sources 
"accompany" the binary distribution both if you distribute 
them together in the same installation package and also if you 
provide the sources as a separate link next to the download link 
for your installer. If you don't trust me on this because you 
interpret "accompany" differently then you will have to add the source 
code to the installer, remember I am not a native speaker.)

> I was very surprised by claims it's a requirement, simply because none
> of the LGPL libraries I've used have ever mentioned it in the case of
> dynamic linking.

Please read
http://www.gnu.org/licenses/gpl-faq.html#UnchangedJustBinary
and for the sake of our discussion assume that it was written 
by the very same person who wrote the license.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting to grips with ffmpeg

2012-02-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos  writes:

> > I read somewhere that including a link to where users could download
> > the source themselves can be counted as "distributing the source"?
> 
> ... do exactly this as explained on http://ffmpeg.org/legal.html
> (because we think you can argue that the corresponding sources 
> "accompany" the binary distribution both if you distribute 
> them together in the same installation package and also if you 
> provide the sources as a separate link next to the download link 
> for your installer.

Or in other words: I assume that would count as 
"offering equivalent access" to the source code.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] FW: AVCodecContext and decoding PCM

2012-02-07 Thread Carl Eugen Hoyos
Marlon Reid  writes:

> does the decoder look internally at the input stream and use 
> the same sample rate and channels as the input stream?

This is what I would expect a sane decoder to do, 
there are exceptions like "request_channels".

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding depth video from Kinect

2012-02-09 Thread Carl Eugen Hoyos
Daniel Henell  writes:

> However there doesn't seem to be any video codec that can handle >8
> bit grayscale video.

grep GRAY16 libavcodec/*.c
shows jpegls, ffv1 and libopenjpeg as codecs that do support >8 bit 
grayscale video.

Carl EUgen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding depth video from Kinect

2012-02-09 Thread Carl Eugen Hoyos
Daniel Henell  writes:

> I tried encoding the depth frames as ffv1 using the following command:
> 
> ffmpeg -r10 -i data/d-%06d.pgm -sameq -vsync1 -vcodec ffv1 vid.mov
> 
> However I got the following output and errors:
> 
> Incompatible pixel format 'gray16le' for codec 'ffv1', auto-selecting
> format 'yuv420p16le'

Complete, uncut console output missing.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Encoding depth video from Kinect

2012-02-11 Thread Carl Eugen Hoyos
Daniel Henell  writes:

> ffmpeg -r10 -i data/d-%06d.pgm -sameq -vsync1 -vcodec ffv1 vid.mov

For 16bit encoding, "-coder 1" is needed.
(FFmpeg's output tells you anyway.)

> Is ffv1 really supporting GRAY16?

It was only supported since shorty before you wrote your mail 
(which I didn't realize), but did not work in all cases:
A problem that made encoding difficult (it did not work with above 
command line) has been fixed, please test current git head!

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Whats wrong with this select filter?

2012-02-14 Thread Carl Eugen Hoyos
  writes:

> BTW i am using FFMPEG on windows with win xp platform. 
> does it make any causes for such errors?
> ffmpeg -i D:\test\1.mpg -vf "select=eq(pict_type\,I)"

I know this will not really help you, but both above line and 
your original single quotes work fine on a Linux shell.

Perhaps try MSys?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Which video codecs support alpha?

2012-02-17 Thread Carl Eugen Hoyos
killkenny64  writes:

> What format and container would be best to create a video with alpha?

I cannot answer this question, but the question in the subject:
ffv1, qtrle, png, libopenjpeg and nearly all image formats.

> Would this format cause any problems when overlaying it?

> Is h264 the only one?

I don't think h264 supports alpha (at least x264, the only 
encoder FFmpeg can use, does not support it).

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] what is the -pix_fmt for AYUV?

2012-02-17 Thread Carl Eugen Hoyos
  writes:

> I have listed my pix_fmts available on my encoder but can not work 
> out what ones match the FOURCC codes used by other applications. 
> Can someone advise what the rawvideo AYUV equivalent is for ffmpeg 
> and how I work out what the others are in fourcc.

I tried to implement AYUV but found no sample and WMP did not play 
the files I encoded. Could you provide a sample?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] in the list of supported Encoder, i will only get the libx264rgb codec but not the libx264

2012-02-17 Thread Carl Eugen Hoyos
jan hölscher  writes:

>    V    libx264

Should be fixed, thank you.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] need advice on new player

2012-02-19 Thread Carl Eugen Hoyos
Deron  writes:

> The other concern is that the way the decklink library is written, the 
> decklink libavdevice will need to be c++. Does that pose a problem for 
> the maintainers? The main incentive to me to do it as a libavdevice 
> would be to get it included in the project (obviously as a conditional 
> build), but if there is a flat refusal to allow it because it is c++ I'd 
> like to know that now.

This used to be true in the past, but there are (optional) 
parts of FFmpeg now that require C++.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] in the list of supported Encoder, i will only get the libx264rgb codec but not the libx264

2012-02-19 Thread Carl Eugen Hoyos
jan hölscher  writes:

>     AVCodec *p = NULL;
>     int a = 0;
>     while ((p = av_codec_next(p))) {
>       if (p->encode ) {

There is an additional API now that defines p->encode2() instead.

Please do not top post here, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Using ffmpeg.exe in a project (non-commercial)

2012-02-23 Thread Carl Eugen Hoyos
John Dexter  writes:

> On 23 February 2012 12:07, Phil Turmel  wrote:
> > Finally, whatever the legality, it is at least rude to hijack an open-
> > source app's website bandwidth to deliver source code to *your* users.
> 
> Apart from the inherent problem of defining social etiquette within a
> legal contract... if I distribute ffmpeg.exe _un-modified_,  are the
> users MY users or ffmpeg's users? If I _don't_ distribute it but tell
> users they need to download it, then who is responsible?

You have to tell them where they can download the exact sources you 
used to compile ffmpeg.exe - therefore you have to provide the source on 
your own download server, because this is the only way to make sure the 
sources are really available.

If your installer installs ffmpeg.exe on the user's computer, do not 
forget to inform your users (in your EULA) that you are installing 
FFmpeg, that FFmpeg is released under the GPL and where to find the 
authors of FFmpeg (and repeat that for all other projects that you 
use, like for example x264).

Note that all requirements you have to follow make absolutely no 
difference between commercial and non-commercial projects.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] DeckLink libavdevice

2012-02-23 Thread Carl Eugen Hoyos
Deron  writes:

> Taking Nicolas George's suggestion, I have created a basic 
> libavdevice for Blackmagic's DeckLink HD-SDI cards.

Then please send the patch to ffmpeg-devel where it can be discussed 
(and later applied).

Consider running tools/patcheck over your patch and please note that 
plain text is heavily preferred over html on all mailing lists.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Recommended thread count to record video from rendering software

2012-02-28 Thread Carl Eugen Hoyos
John Dexter  writes:

> I have a single-thread application which does 3D rendering; it is a
> moderate-heavy user of the single core it uses (~50%). In my quick
> tests, recording the rendered output to video using libav is fastest
> when I use AVCodecContext::thread_count == 3 on my quad-core PC, but
> it's almost identical with it set to 0.

I don't know your use case, but you typically have to set thread much 
higher than num_core if you want maximum performance.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] AC3 -> LPCM -> MPEG2 PES

2012-02-28 Thread Carl Eugen Hoyos
Andrey Utkin  writes:

> Now you talk about your hardware decoder... Maybe you should better
> ask straightly what your mission is, like "transcode a movie for
> playback on dvd-player "CORPORATION MODEL100500".

I thought I am the only one who did not completely understand what 
the issue is about;-)

Pavel, if you have a file that plays on your hardware, please provide
complete, uncut console output of "ffmpeg -i input" for that file.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] question about libavcodec

2012-02-29 Thread Carl Eugen Hoyos
卜弋天  writes:

> you do no want anybody report bug???

I believe that if you look at our bug tracker (and compare it to the 
trackers of similar projects) you will find out that we are *very* 
interested in bug reports.
Unfortunately, only reproducible bug reports (or those that include 
information why they are not easily reproducible) and bug reports 
that include all necessary information (like backtraces and 
valgrind output) are likely to be fixed.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] mp2/mp3 missing header at decoding of mpegts file, but only in OS X

2012-03-06 Thread Carl Eugen Hoyos
Kalileo  writes:

> Works fine on windows (with any of these files), however on 
> OS X Lion audio is broken (with every of these files).

(Complete, uncut console output when failing missing.)

Please try with ./configure --cc=clang (removing the other options), 
and please try with things like --disable-optimizations or 
--disable-asm / yasm.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] mp2/mp3 missing header at decoding of mpegts file, but only in OS X

2012-03-07 Thread Carl Eugen Hoyos
Kalileo  writes:

> I downloaded new snapshots of  ffmpeg, libx264 and lame

Please first test ./configure --cc=clang && make.
And please add complete, uncut output that shows the problem.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] mp2/mp3 missing header at decoding of mpegts file, but only in OS X

2012-03-07 Thread Carl Eugen Hoyos
Kalileo  writes:

> I tested it now with 
> 
> ./configure --cc=clang --enable-shared
> and with
> ./configure --cc=clang --disable-optimizations --disable-asm 
> --disable-yasm --enable-shared

Please also test ./configure --cc=clang && make and please 
provide complete, uncut console output for the failing case.

If the problem is not reproducible with ffmpeg (the application) 
it would be nice if you would mention that.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] mp2/mp3 missing header at decoding of mpegts file, but only in OS X

2012-03-07 Thread Carl Eugen Hoyos
Kalileo  writes:

> > Please also test ./configure --cc=clang && make
> 
> I tried that, but then I cannot link the application, the 
> linker reports errors referencing 
> _kCVPixelBufferIOSurfacePropertiesKey and a lot of other 
> stuff with is in libavcodec/vda.c. These
> linker errors do not occur when I add "--enable-shared".

I suspect you have to compare the options used for linking ffmpeg 
(rm ffmpeg.o && make V=1 ffmpeg) with the options your 
application uses.

[...]

> In order to run the files though ffmpeg I had ffmpeg 
> converting the files, which works, and the resulting
> files play fine in ffplay.

My uneducated guess is that you don't use the parsers, they are 
needed for many files, but this of course would not explain why 
it works on other systems.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Question with encoding RGB frames into video stream

2012-03-07 Thread Carl Eugen Hoyos
吴沁凡  writes:

> What is the difference between YUV420P and YUVJ420P?

YUV420P uses MPEG intensity, meaningful values are from 16 to 239 
(16 is as black as 0, 239 as white as 255), YUVJ420P uses values 
from 0 to 255.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Enquiry about I-Frame rate

2012-03-07 Thread Carl Eugen Hoyos
  writes:

> ffmpeg -i D:\test\1.mpg 
> -vcodec libx264  -g 0 d:\Test\11.mp4

I am not sure -vcodec libx264 supports "-g", 
did you test -vcodec mpeg4 ?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Force low-delay handling? question + feature suggestion

2012-03-11 Thread Carl Eugen Hoyos
Carl Eugen Hoyos  writes:

> > would it work to patch ff_h264_decode_init() and decode_postinit() to also
> > check the AV_DISCARD mode, and if we are discarding B and/or nonref frames,
> > would set avctx->has_b_frames=0 and low_delay=1 ?

You would have to discard all B-frames (because they require reordering) not
only the non-ref ones, i.e. corruption would be possible.

> I don't know but I suggest that you write such a patch (optionally test it on
> streams with B-frames) and post it on ffmpeg-devel where it can be discussed.

Did you write such a patch?

Please note that your mails are nearly unreadable:
http://ffmpeg.org/pipermail/libav-user/2012-March/001495.html

Consider setting your mailer to "plain text".

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Multiple SWSContext in same process

2012-03-15 Thread Carl Eugen Hoyos
Balaji B.S  writes:

> I do understand i am using an age old version 0.5.6.1 of libav.

This version is very old and therefore unsupported.
Please use current git head from http://ffmpeg.org/download.html -
it always contains more features and less bugs than any released version.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] MKV container with H264 video and Speex Video ?

2012-03-15 Thread Carl Eugen Hoyos
ashika umanga  writes:

> I am trying to store H264 stream (x264) and Speex stream 
> in a MKV container. MKV file created without any errors 
> but when I play the file ,I cannot hear the audio.

(Minimal command line and complete, uncut console output missing.)

I just tested and MPlayer plays the resulting files, ffmpeg 
and vlc fail. Do you have a speex-in-mkv sample that can be 
decoded with vlc and / or ffmpeg?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-15 Thread Carl Eugen Hoyos
Leandro Santiago  writes:

> I'm trying to cross compile ffmpeg 0.9.1 (I really need
> to use this version, because my app still uses the old 
> API which is broken on 0.10)

Could you elaborate?
0.9 and 0.10 are intended to be binary compatible, if there 
are incompatibilities, this would be a serious bug 
(that we are not aware of).

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-15 Thread Carl Eugen Hoyos
Leandro Santiago  writes:

> The new API om 0.10 replaces old AVFormatParamers, etc. by the AVDict
> api... The avio_set_interrupt_cb() iss also broken on 0.10 and, as in
> my app I use this function to set a timeout checker to many inputs at
> the same time. In 0.10 there's one callback per AVFormat. They are
> other examples, but now I remembered only of those ones :)

As said, this sounds really important (and is not known afaict), 
please provide a testcase, I would expect such an important bug 
to be fixed soon.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-16 Thread Carl Eugen Hoyos
Andrey Utkin  writes:

> I'd try configure options used here
> http://win32.libav...

Since this packages have several severe problems, please do 
not suggest them here.

http://ffmpeg.zeranoe.com/builds/ is intended to work and supported,
please report any problems with it.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] encoding bitrate wrong

2012-03-17 Thread Carl Eugen Hoyos
mattes  writes:

> I then dug out the old lib, re-compiled ffmpeg-0.4.9  on FC15
> and build against that (instead of 0.7.11) Now the problem 
> with varying bitrate is gone. and the encoder app becomes 
> usable again.

Did you also try with ffmpeg (the application)?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] get frame type

2012-03-19 Thread Carl Eugen Hoyos
Zanelli Franco  writes:

> int got_picture;
> int len = avcodec_decode_video2(codecCtx, avFrame, &got_picture, avPacket);
> 
> at this point, is it possible to get the input frame type (intra, P or B 
> frame)?

Did you try to read avFrame->pict_type ?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] get frame type

2012-03-20 Thread Carl Eugen Hoyos
Robert Krüger  writes:

> > Did you try to read avFrame->pict_type ?
> >
> does this field have any meaning for h.264? I thought a frame could
> consist of a mixture of B- P- and I-slices. What is the policy of the
> h.264 decoder to set this field currently? I haven't checked recently
> but I remember it to have weird values for the h.264 files I checked.

Could you point me to the bug report?
The decoder sets the value so I would expect it to be correct.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Possible Bug in "libspeexdec.c" ??

2012-03-21 Thread Carl Eugen Hoyos
ashika umanga  writes:

> I have been try to decode Speex audio for many days without success.

This is ticket #1091, consider setting yourself to CC there.
(Or simply revert 85469f.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] get frame type

2012-03-21 Thread Carl Eugen Hoyos
Robert Krüger  writes:

> my question was rather if the field _can_ make sense for h.264 as I
> have not found anything in the h.264 spec saying that a frame cannot
> contain a mixture of I, P, B (and other) slices. What would the value
> of the field then be? Only set to a value, if all slices of the frame
> are of the same type (which then should be documented somewhere)? I
> don't know if this is relevant for practical purposes, because I do
> not know if those streams exist in the wild

They definitely do exist - most PAFF samples contain the described 
mixtures, so I expect the problem exists exactly as you say.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Possible Bug in "libspeexdec.c" ??

2012-03-21 Thread Carl Eugen Hoyos
ashika umanga  writes:

> I have been try to decode Speex audio for many days without success.

Should be fixed in current git head.

Thank you, Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] How to encode in Truehd audio in ffmpeg

2012-03-26 Thread Carl Eugen Hoyos
Ajita Pandey  writes:

> I want to encode in truehd audio.

FFmpeg currently does not support TrueHD encoding.
(Patch welcome, you can Google for an experimental MLP encoder as a start.)

[...]

> ::DISCLAIMER::

This does not make much sense on a public mailing list.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] getting interlace information

2012-03-28 Thread Carl Eugen Hoyos
aviad rozenhek  writes:

> is it possible to know if a video file is progressive or intelaced, 
> and what type of interlaced (TFF or BFF) is it, by using avprobe 
> or other libav tool?--

(Only FFmpeg tools are supported on this list, libav tools are known 
to contain several hundred regressions, some of them security 
relevant, and can therefore not be supported here.)

Some file formats (and/or codecs) store information like 
progressive / tff / bff in the file, FFmpeg may then show this 
information.
In many cases, this information is completely useless, because you 
are not interested how the hardware that encoded the picture was set 
up, but if the output images are actually progressive or not.
Where I live, TV broadcasters signal their program as interlaced 
even if they broadcast progressive content, and it is of course 
possible to encode interlaced material using an encoder that has 
been set up to encode progressively.

Afaict, only visual inspection tells you if the material is 
actually interlaced or not.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] extracting audio

2012-03-28 Thread Carl Eugen Hoyos
Craig Murray  writes:

> I'm using ffmpeg to extract a series of jpgs from an avi. 
> Is it possible to have ffmpeg pull the audio down along 
> with it, so that I have that as an audio only track?

You mean
ffmpeg -i input.avi out%5d.jpg out.wav
?

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] extracting audio

2012-04-01 Thread Carl Eugen Hoyos
Craig Murray  writes:

> Next question if I'm taking a series of jpgs and converting 
> them into an avi, how can i embed a .wav file into that avi?

ffmpeg -i in%5d.jpg -i in.wav out.avi

I am not sure how to concatenate audio, I suggest you first 
prepare the audio file with another application, then mux it 
as above.
(Or search for the concat: protocol in FFmpeg, I have not used 
it yet.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Baus - an open source video streaming server

2012-04-03 Thread Carl Eugen Hoyos
hozone  writes:

> Website: http://code.google.com/p/baus/

The README and the LICENSE files disagree about the license 
that you used to published your project.
The FFmpeg libraries you used seem outdated.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] problem with image2 to mov

2012-04-05 Thread Carl Eugen Hoyos
Craig Murray  writes:

> I'm having some strange behavior if I try to do the following:
> ffmpeg -f image2 -r 60 -i /input-%02.png -i /input.wav out.mov

Please provide complete, uncut console output.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] jpg quality using image2

2012-04-10 Thread Carl Eugen Hoyos
Craig Murray  writes:

> From the command line are there are flags to set the jpeg quality

-qscale
(Note that this is in no way image2-related, you can use the 
mjpeg-encoder in other containers, and there are many codecs 
usable in image2 that do not support qscale.)

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] -itoffset issue

2012-04-10 Thread Carl Eugen Hoyos
Craig Murray  writes:

> given two one-second sounds I'm trying to concatenate them 
> using several approaches.

You have to use the concat-protocol to concatenate files, 
it does not work without.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] DVD playback (VOBs)

2012-04-19 Thread Carl Eugen Hoyos
Gonzalo Garramuno  writes:

> Input #0, mpeg, from 
> '/media/CLASH_OF_THE_TITANS_2010/VIDEO_TS/VTS_01_3.VOB':
>Duration: 00:06:19.52, start: 2738.283878, bitrate: 6389 kb/s
>  Stream #0:0[0x1e0], 29, 1/9: Audio: mp1, 0 channels, s16

If this is an unencrypted file, please provide a sample.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] DVD playback (VOBs)

2012-04-19 Thread Carl Eugen Hoyos
Gonzalo Garramuno  writes:

> On 19/04/12 11:01, Carl Eugen Hoyos wrote:
> > If this is an unencrypted file, please provide a sample.
> >
> > Carl Eugen
> 
> How can I tell if it is unencrypted and unencrypt it?

Is audio decoding possible?

If the DVD is encrypted, FFmpeg is not the right tool 
(currently, a patch is being reviewed), mplayer -dumpstream 
outputs the unencrypted DVD.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] lossless encoding with FFMPEG

2012-04-21 Thread Carl Eugen Hoyos
Matthias Bühlmann  writes:

> I heard that h264 has a lossless encoding mode. Is this true? 

Yes.

[...]

> what's my best option to get lossless video encoding with FFMPEG?

ffv1 should perform best compared with other internal encoders.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] How to encode several audio tracks into one file ?

2012-04-22 Thread Carl Eugen Hoyos
pehache  writes:

> ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers

This is too old, especially if you are not using the libraries, 
but the transcoding application.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


  1   2   3   4   5   6   7   8   9   10   >