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

2011-10-28 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... 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

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

2011-11-15 Thread Carl Eugen Hoyos
Bruce Wheaton bruce@... 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

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

2011-11-16 Thread Carl Eugen Hoyos
Andrey Utkin andrey.krieger.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

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

2011-11-18 Thread Carl Eugen Hoyos
Harry Ma hooxer@... 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

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

2011-11-18 Thread Carl Eugen Hoyos
Robert Nagy ronag89@... 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

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

2011-11-20 Thread Carl Eugen Hoyos
aviad rozenhek aviadr1@... 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

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

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

2011-11-22 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... 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:

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

2011-11-23 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... 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

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

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

2011-11-24 Thread Carl Eugen Hoyos
Camera Man i.like.privacy.too@... 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

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

2011-11-24 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... 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

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

2011-11-24 Thread Carl Eugen Hoyos
Shachar Arieli shachara@... 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

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

2011-11-25 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... 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

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

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

2011-12-06 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: On Mon, Dec 5, 2011 at 12:30, kunkka cai sycsdr@... 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

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

2011-12-07 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... 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

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

2011-12-09 Thread Carl Eugen Hoyos
Kirell Benzi 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

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

2011-12-13 Thread Carl Eugen Hoyos
Christian.Jorgensen@... 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] CoreAudio (CAF/AAC) missing packet table

2012-01-06 Thread Carl Eugen Hoyos
Chris Ballinger chrisballinger@... writes: ffmpeg reports the following: [caf at 0x7fbee284ac00] 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

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

2012-01-11 Thread Carl Eugen Hoyos
Dan Stuart dstuart@... 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

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

2012-01-16 Thread Carl Eugen Hoyos
Andrey Utkin andrey.krieger.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

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

Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-23 Thread Carl Eugen Hoyos
francesco@... 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

Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-23 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... 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

Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-23 Thread Carl Eugen Hoyos
francesco@... 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

Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-24 Thread Carl Eugen Hoyos
francesco@... 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

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

2012-01-24 Thread Carl Eugen Hoyos
Valérian contact@... 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

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

2012-01-25 Thread Carl Eugen Hoyos
Valérian contact@... 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

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

2012-01-27 Thread Carl Eugen Hoyos
Valérian contact@... 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] Seeking during trimming command takes quite a while

2012-01-30 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... 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

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

2012-02-05 Thread Carl Eugen Hoyos
John Dexter jdxsolutions@... 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

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

2012-02-05 Thread Carl Eugen Hoyos
John Dexter jdxsolutions@... 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

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

2012-02-05 Thread Carl Eugen Hoyos
John Dexter jdxsolutions@... 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

Re: [Libav-user] G711 Codec support

2012-02-06 Thread Carl Eugen Hoyos
NITIN GOYAL nitinkumgoyal@... 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

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

2012-02-06 Thread Carl Eugen Hoyos
John Dexter jdxsolutions@... 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

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

2012-02-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... 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

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

2012-02-09 Thread Carl Eugen Hoyos
Daniel Henell 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 ___

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

2012-02-09 Thread Carl Eugen Hoyos
Daniel Henell 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

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

2012-02-14 Thread Carl Eugen Hoyos
amir.rouhi@... 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.

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

2012-02-19 Thread Carl Eugen Hoyos
Deron 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

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 jan.hoelscher@... 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 ___

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

2012-02-23 Thread Carl Eugen Hoyos
John Dexter jdxsolutions@... writes: On 23 February 2012 12:07, Phil Turmel philip@... 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

Re: [Libav-user] DeckLink libavdevice

2012-02-23 Thread Carl Eugen Hoyos
Deron 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

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

2012-02-28 Thread Carl Eugen Hoyos
John Dexter jdxsolutions@... 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

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

2012-02-28 Thread Carl Eugen Hoyos
Andrey Utkin andrey.krieger.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

Re: [Libav-user] question about libavcodec

2012-02-29 Thread Carl Eugen Hoyos
卜弋天 buyit@... 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

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 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

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

2012-03-07 Thread Carl Eugen Hoyos
吴沁凡 wuqinfan@... 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 ___

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

2012-03-07 Thread Carl Eugen Hoyos
amir.rouhi@... 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

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

2012-03-11 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... 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

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

2012-03-15 Thread Carl Eugen Hoyos
ashika umanga umanga.forums@... 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

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 leandrosansilva@... 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,

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 leandrosansilva@... 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

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 andrey.krieger.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.

Re: [Libav-user] encoding bitrate wrong

2012-03-17 Thread Carl Eugen Hoyos
mattes effemm@... 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

Re: [Libav-user] get frame type

2012-03-20 Thread Carl Eugen Hoyos
Robert Krüger krueger@... 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

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

2012-03-21 Thread Carl Eugen Hoyos
ashika umanga umanga.forums@... 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

Re: [Libav-user] get frame type

2012-03-21 Thread Carl Eugen Hoyos
Robert Krüger krueger@... 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

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

2012-03-26 Thread Carl Eugen Hoyos
Ajita Pandey 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

Re: [Libav-user] getting interlace information

2012-03-28 Thread Carl Eugen Hoyos
aviad rozenhek aviadr1@... 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

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

2012-04-03 Thread Carl Eugen Hoyos
hozone 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

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

2012-04-05 Thread Carl Eugen Hoyos
Craig Murray craigmurray100@... 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

Re: [Libav-user] jpg quality using image2

2012-04-10 Thread Carl Eugen Hoyos
Craig Murray craigmurray100@... 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

Re: [Libav-user] -itoffset issue

2012-04-10 Thread Carl Eugen Hoyos
Craig Murray craigmurray100@... 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

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

2012-04-19 Thread Carl Eugen Hoyos
Gonzalo Garramuno ggarra13@... 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

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

2012-04-19 Thread Carl Eugen Hoyos
Gonzalo Garramuno ggarra13@... 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

Re: [Libav-user] What are the possible reasons for unsyncing of a video in a transmux to TS?

2012-04-25 Thread Carl Eugen Hoyos
Wagner Patriota wagner.patriota@... writes: ffmpeg -i perfect.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb -y output.ts (Assuming you get the same problem with above command) Complete, uncut console output missing. Carl Eugen ___

Re: [Libav-user] ffmpeg code differes

2012-04-25 Thread Carl Eugen Hoyos
Ajita Pandey Ajita-Pandey@... writes: I have seen both player code ie mplayer as well as VLC both have different code than main branch libavcodec  code. This cannot be correct given that MPlayer does not contain libavcodec source code at all, but downloads latest libavcodec (etc.) from the

Re: [Libav-user] ffmpeg code differes

2012-04-25 Thread Carl Eugen Hoyos
Ajita Pandey Ajita-Pandey@... writes: As configuration file of mplayer shows that it takes ffmpeg form git repos. while I am taking ffmpeg code directly as tar. And both have source code difference. Which difference? If your tar file is new, it is the same as the git repository. (If you

Re: [Libav-user] Problems with some MXF file decoding

2012-04-26 Thread Carl Eugen Hoyos
肖波 xiaobo_yc@... writes: I found that the current git code have problems with decoding of some of my MXF files, but the libav-0.8.1 is OK. Could you test with current FFmpeg, see http://ffmpeg.org/download.html ? If one of your files does not work with current FFmpeg, please post complete,

Re: [Libav-user] Frame order from TS demux - mpeg2video vs h264

2012-05-01 Thread Carl Eugen Hoyos
jettoblack jettoblack@... writes: I tried that and for H.264 it's definitely wrong if I use the frames in-order from the demuxer. It does work fine for MPEG-2 video. Should I file a bug report? Is the problem reproducible with ffmpeg -i input -qscale 2 out.avi or ffplay file ? Carl Eugen

Re: [Libav-user] Frame order from TS demux - mpeg2video vs h264

2012-05-02 Thread Carl Eugen Hoyos
jettoblack jettoblack@... writes: When it contains H.264 video codec, the pts and incremental order from the demuxer are definitely not in picture display order. coded_picture_number is giving the closest result but it is wrong on approx. every 150th frame (key frames?). Are you using

Re: [Libav-user] Reducing sample rate and channels for encoding

2012-05-03 Thread Carl Eugen Hoyos
Goo Creations goocreations@... writes: Hi,I'm relatively new to FFMpeg. I have a buffer in memory of decoded samples (44100Hz, 2 channels) and I want to encode them to 22050Hz mono. You will have to use libswresample. Carl Eugen ___ Libav-user

Re: [Libav-user] Frame order from TS demux - mpeg2video vs h264

2012-05-04 Thread Carl Eugen Hoyos
Kalileo kalileo@... writes: That's how I do it, and it works for me. Wait for the first I-frame Don't forget that valid H264 streams do not necessarily contain I frames. (I don't know of such a sample.) Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] No accelerated colorspace conversion found from yuv420p to rgba

2012-05-10 Thread Carl Eugen Hoyos
krishnaks@... writes: I am getting following warning. [swscaler @ 0x5a34000] No accelerated colorspace conversion found from yuv420p to rgba. Command line and complete, uncut console output missing. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] How to decode the avcodec_decode_video2() using lowres?

2012-05-10 Thread Carl Eugen Hoyos
nrson nrson@... writes: I’ve been trying to speed down for H.264 decoder. I know the lowres is low resolution supported by the decoder. lowres is not supported for the H264 decoder. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-11 Thread Carl Eugen Hoyos
amir.rouhi@... writes: C:\ 1.264 -vsync 0 -vf select=eq(pict_type\, PICT_TYPE_I)  C:\ Test\IFrames\I-Frm-%03d.jpeg  Its a short video and i just get 4 images but the images does not looks correct images Could you test with the reference decoder? If you find any difference, this sounds like

Re: [Libav-user] Color depth in MXF file

2012-05-12 Thread Carl Eugen Hoyos
Geoffrey tn geoffrey.tn@... writes: My problem is, it doesn't work with a MXF File. The value of bits_per_coded_sample is all the time fixed to 0.  I tried with MXF files composed of JP2K and IMX. Could you provide samples? For jp2k, the (libopenjpeg) decoder will set it in the future.

Re: [Libav-user] H.264 always enabled on OS X.. ?

2012-05-13 Thread Carl Eugen Hoyos
Lucas Soltic soltic.lucas@... writes: Today I noticed something weird about the enabled decoders. Is it normal that ./configure --disable-yasm --disable-decoders --disable-encoders --disable-muxers gives me that? Enabled decoders: h264 Enabled hwaccels: h264_vda (I can only guess

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-14 Thread Carl Eugen Hoyos
amir.rouhi@... writes: Would you explain how can i test it with referenced decoder? do you mean , testing by JM software? Yes, JM is the H264 reference decoder. If you mean this, i should say that i have extracted i frames by JM software and they are 4 and same as the number that ffmpeg

Re: [Libav-user] Double frame rate after conversion

2012-05-16 Thread Carl Eugen Hoyos
amir.rouhi@... writes: I convert a mpeg1 video mpeg4/ AVC by the below command but i dont know why the visual frame rate become double after conversion (fps in both are same but tbr will be twice as the original video) But tbr is not the framerate. ffmpeg -i

Re: [Libav-user] Extracted I-Frames seems not correct, Why?

2012-05-16 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: If I understand correctly, Amir complains about the encoder, not the decoder. Then your answer was clearly more helpful than mine! Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Swscale: Interlaced 4:2:2 to interlaced 4:2:0

2012-05-24 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: In ffmpeg, deinterlace is performed by avcodec (imgconvert.c avpicture_deinterlace) This deinterlacer is old, if you have no license issue, please use yadif. (If you have a license issue, contact the developer.) Aren't there filters to interleave (if this is

Re: [Libav-user] Swscale: Interlaced 4:2:2 to interlaced 4:2:0

2012-05-24 Thread Carl Eugen Hoyos
Carl Lindqvist lulebo@... writes: 2012/5/24 Carl Eugen Hoyos cehoyos at ag.or.at Alex Cohn alexcohn at ... writes: In ffmpeg, deinterlace is performed by avcodec (imgconvert.c avpicture_deinterlace) This deinterlacer is old, if you have no license issue, please use yadif. You

Re: [Libav-user] Swscale: Interlaced 4:2:2 to interlaced 4:2:0

2012-05-24 Thread Carl Eugen Hoyos
Carl Lindqvist lulebo@... writes: Yes, my input is raw SDI video. Interlaced SD 4:2:2 8bit (or 10bit, but I use 8bit). I want the output to be interlaced, full field rade. Right now, swscale produces chroma samples that are scaled from both fields, which give the effect in the image in

Re: [Libav-user] Swscale: Interlaced 4:2:2 to interlaced 4:2:0

2012-05-25 Thread Carl Eugen Hoyos
Carl Lindqvist lulebo@... writes: I have not yet looked at MPlayer/libmpcodecs/vf_scale.c, will do it tomorrow and see what I can find. How does the ffmpeg app do it? What file should I look at for source examples? libavfilter/vf_scale.c (look for isws) Not surprisingly, it looks similar

Re: [Libav-user] How to cleanup libavcodec buffers when release is called during decode?

2012-05-26 Thread Carl Eugen Hoyos
Ratin ratin3@... writes: Hi, for h.264 decode with hardware like Nvidia's VDPAU decoding, what should I do to cleanup the resources when avcodec_release callback is called? It seems that there are are some memory leaks when running decode for long period of time. I am only guessing since

Re: [Libav-user] Lossless encoding - red color sharpness defect

2012-05-28 Thread Carl Eugen Hoyos
koli@... writes: I was trying to use ffmpeg for screen capture and come to this problem. (Note that ffmpeg natively supports screen capture input, no need to use png's.) [...] ffmpeg -r 5 -i ./GrabedPictures/Pic%d.png -r 5 -vcodec libx264 TestX264.avi Complete, uncut console output

Re: [Libav-user] Convert MP4 1280x720 to MPG 1280x720

2012-05-29 Thread Carl Eugen Hoyos
Thomas H thom1948@... writes: ffmpeg -i MyKitty.mp4 -vf scale=1280:720 -idct h264 -sameq -target ntsc-dvd MyKitty.mpg (Complete, uncut console output missing.) Are you sure you want to produce a HD DVD? Please explain what -idct h264 does, I am curious. And please note that -sameq does not

Re: [Libav-user] Re : ALAC codec I am not sure it's really lossless

2012-06-02 Thread Carl Eugen Hoyos
kurdy_ch-forum@... kurdy_ch-forum@... writes: version 0.8.1-4:0.8.1-0ubuntu1 This is an intentionally broken version of FFmpeg with several hundred regressions, some of them security relevant, we therefore cannot support it. Please see http://ffmpeg.org/download.html for supported versions.

Re: [Libav-user] Detecting black/dark frames in FFMPEG

2012-06-05 Thread Carl Eugen Hoyos
NITIN GOYAL nitinkumgoyal@... writes: Is there any way i can modify or use the ffmpeg library to detect the black/dark/green frames from the content? Did you test the blackdetect and blackframe filters? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Reoder Buffer Configuration

2012-06-05 Thread Carl Eugen Hoyos
krishnaks@... writes: I am getting Following warning during h264 decoding using libavcodec: Increasing reorder buffer to 1 Increasing reorder buffer to 16 Can I avoid this warning? The message is less verbose now. Thank you for the report, Carl Eugen

Re: [Libav-user] ADIF format support for AAc

2012-06-05 Thread Carl Eugen Hoyos
Salim, Mohamed Mohamed.Salim@... writes: I found that AAC streams with ADIF header can not be played. 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] Coversion from YUV to RGB loss of image details

2012-06-06 Thread Carl Eugen Hoyos
Sampath Subasinghe susiriss@... writes: I was wondering whether this is what you meant. This is broken (because odd width is not supported by yuv rawvideo): ffmpeg -i ref.ppm ref.yuv ffmpeg -s 45x32 -i ref.yuv ref2.ppm The following does work and produces the same black edge: $ ffmpeg -i

Re: [Libav-user] Reoder Buffer Configuration

2012-06-06 Thread Carl Eugen Hoyos
Krishna krishnaks@... writes: What is my observation is after i got following debug print Increasing reorder buffer to 16 Propation delay is more in my video streaming application. Definitely! (Although I don't know much about the reorder buffer.) Please do not top-post here, Carl Eugen

Re: [Libav-user] Coversion from YUV to RGB loss of image details

2012-06-06 Thread Carl Eugen Hoyos
Sampath Subasinghe susiriss@... writes: $ ffmpeg -i out.ppm -pix_fmt yuv420p -strict experimental out.ljpg $ ffmpeg -i out.ljpg ref2.ppm I'm also seeing the black edge with above commands. (Except, I had to precede the second command with -pix_fmt yuv420p to avoid seg faulting

Re: [Libav-user] Coversion from YUV to RGB loss of image details

2012-06-06 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: This is broken (because odd width is not supported by yuv rawvideo): ffmpeg -i ref.ppm ref.yuv ffmpeg -s 45x32 -i ref.yuv ref2.ppm I am not using the latest build, but for me the round-trip worked without artifacts I forgot to add -pix_fmt yuv420p to

Re: [Libav-user] Ask about license for using ffmpeg library in binary

2012-06-06 Thread Carl Eugen Hoyos
Khanh Nguyen Nam nnkhanh@... writes: I am developing an application which uses ffmpeg library as below: Add ffmpeg binary to application source code Call ffmpeg command line via C# code. If you want to distribute a software binary that is FFmpeg (or a derivative work of FFmpeg) and you

Re: [Libav-user] FFMpeg dxva support

2012-06-11 Thread Carl Eugen Hoyos
Jason LUN jason.lun@... writes: Therefore, I would like to ask how could I use the ffplay with dxva so that it can accelerate the decoding process? libavcodec contains support for dxva that can be used in videoplayers (vlc), ffplay does not contain any dxva-specific code. Carl Eugen

  1   2   3   4   5   6   7   8   9   10   >