Re: [Libav-user] How to create a video stream without IDR slices?

2012-06-19 Thread Carl Eugen Hoyos
amir.rouhi@... writes: i have written a code for intra frame extraction out of stream, and the code just work on i slices, IDR slices made some errors with my code. BTW ffmpeg by proper vcodec can encode h264.avc. are you sure it cant? It can if you compiled FFmpeg with support for the

Re: [Libav-user] How to create a video stream without IDR slices?

2012-06-19 Thread Carl Eugen Hoyos
amir.rouhi@... writes: what about fixed rate i-frame interval? Afaiu, this produces the IDR frames that you want to avoid. do you have any idea? for example i want to generate a stream with one i-frame in every 1 second. I have not worked with x264. can you give me more info about how

Re: [Libav-user] Why video plays faster after conversion in spite of same FPS?

2012-06-22 Thread Carl Eugen Hoyos
amir.rouhi@... writes: For playback i use ffplay or SMplayer, both shows the same, a faster playing video. The encoding command is as bellow: ffmpeg -i C:\r.mp4 -an -vcodec libx264 -threads 0  -f h264 -g 0 C:\r.264 Complete, uncut console output missing. I believe that ffplay and SMplayer

Re: [Libav-user] android crash with armeabi-v7a + tegra3

2012-06-22 Thread Carl Eugen Hoyos
Michael Zucchi notzed@... writes: PS I tried compiling with no optimisation but the build fails if i do that How? / Did you report this? It may make sense to fix this to get more useful information about the crash. What about --disable-asm (--disable-neon if this is neon)? Carl Eugen

Re: [Libav-user] Decoding a H.264 stream from TCP

2012-06-22 Thread Carl Eugen Hoyos
Jeremy Graham jgraham@... writes: I am working with the Parrot AR.Drone 2.0. I don't know if anyone is familiar with that device, but to make a long story short, it transmits video data from an on-board camera via TCP and the video is encoded with H.264. Did you try ffmpeg -i http://

Re: [Libav-user] Why video plays faster after conversion in spite of same FPS?

2012-06-22 Thread Carl Eugen Hoyos
amir.rouhi@... writes: Would you explain more? what item missing in my command? What is missing of complete, uncut console output? Everything. And whats your suggestion for a player for raw 264 stream? Unfortunately, I don't have a suggestion, but I remember that playback speed looks

Re: [Libav-user] android crash with armeabi-v7a + tegra3

2012-06-22 Thread Carl Eugen Hoyos
Michael Zucchi notzed@... writes: undefined reference to `ff_h264_v_loop_filter_luma_neon' Could you test the patch I attached to ticket 1241? https://ffmpeg.org/trac/ffmpeg/ticket/1241 Consider reporting the --disable-neon problem... Thank you, Carl Eugen

Re: [Libav-user] android crash with armeabi-v7a + tegra3

2012-06-23 Thread Carl Eugen Hoyos
Michael Zucchi notzed@... writes: undefined reference to `ff_h264_v_loop_filter_luma_neon' Could you test the patch I attached to ticket 1241? https://ffmpeg.org/trac/ffmpeg/ticket/1241 I had a look at that patch, and changed it for 0.11, but ... If you use a minimal configure line

Re: [Libav-user] Problems with DVD subtitles... why they appear in black?

2012-06-25 Thread Carl Eugen Hoyos
Wagner Patriota wagner.patriota@... writes: Any idea why these subtitles appear black in my video? what's wrong with them? Without looking at the sample, I suspect the file that contains the subtitle colour information is missing (it usually is after ripping the dvd), so FFmpeg has to guess

Re: [Libav-user] Compressing in MPEG2 with closed GOP

2012-06-26 Thread Carl Eugen Hoyos
francesco@... writes: In the code (avcodec.h )I found that the CODEC_FLAG_CLOSED_GOP is under the flags for h263 codec. May be that the closed gop option is unsuported for MPEG2 ? It is supported but it needs scenechange_threshold of at least 10 Carl Eugen

Re: [Libav-user] Frames are not visually lining up between my code and ffmpeg.exe

2012-06-26 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... writes: The thumbnails from my code did not visually line up with the thumbnails generated by ffmpeg.exe. Command line and complete, uncut console output missing. If you are a user and not a distributor, please always use current git head. Carl Eugen

Re: [Libav-user] Segfault on corrupted video

2012-06-26 Thread Carl Eugen Hoyos
Tim Pitman tapitman11@... writes: There are lots of errors but mostly they just result in artifacts, which is exactly what I want to happen. However, when the channel is bad libav segfaults with: mmco: unref short failure (Crashes are always important bugs) Can you reproduce the bug with

Re: [Libav-user] Frames are not visually lining up between my code and ffmpeg.exe

2012-06-26 Thread Carl Eugen Hoyos
Simon Daniels simondaniels23@... writes: I've confirmed this does seem to be a regression. I ran the same code with the same video on ffmpeg 0.8.3 and 0.11.1 and you can see the thumbnails generated are not the same. #281 in 0.11.1 lines up with #221 in 0.8.3. Please provide the input

Re: [Libav-user] Video latency and GOP size

2012-06-30 Thread Carl Eugen Hoyos
Paul Roberts paul_e_roberts@... writes: I am encoding live frames from an IP camera to H.264 but have found that it takes at least as many frames as the GOP size to be passed in before anything comes out of the encoder. Did you already read the following?

Re: [Libav-user] Video latency and GOP size

2012-07-01 Thread Carl Eugen Hoyos
Mark Kenna mark.kenna@... writes: Did you already read the following? http://mewiki.project357.com/wiki/X264_Encoding_Suggestions#Encoder_latency I am also experiencing the same issue. The link you posted does not work for me though. Do you have another? Sorry, I used Google cache when

Re: [Libav-user] Reading field by field of an interlaced video

2012-07-01 Thread Carl Eugen Hoyos
Sampath Subasinghe susiriss@... writes: libavcodec does no de-interlacing by default ... ... but it usually outputs the two fields of interlaced video in one frame. Thanks Carl for the valuable input. So I see that libavcodec does field combination to make up the full frame. As

Re: [Libav-user] join file with ffmpeg on Android

2012-07-08 Thread Carl Eugen Hoyos
clarkkent nguyenle.it@... writes: /ffmpeg -i concat:/mnt/sdcard/file1.avi|/mnt/sdcard/file2.avi -c copy /mnt/sdcard/joinfile.avi/ But it tell that the *concat:... is not such a file or directory*. Complete, uncut console output missing. Carl Eugen

Re: [Libav-user] Public way of accessing PAT/PMT for a mpegts (both binary and the contents)

2012-07-12 Thread Carl Eugen Hoyos
cognos david.codesido@... writes: The point is, these functions are private (theire not even in the mpegts.h), so: Is there any way for me to use these functions? If you could explain why you believe accessing these functions makes sense, they could maybe be made public. Consider sending a

Re: [Libav-user] Public way of accessing PAT/PMT for a mpegts (both binary and the contents)

2012-07-12 Thread Carl Eugen Hoyos
cognos david.codesido@... writes: The idea is to access information related to the language for each stream, subtitling and laguages They are all provided through the API (ffprobe would not be able to display them if not), metadata iirc. I'm looking right now to avprobe Please understand

Re: [Libav-user] Public way of accessing PAT/PMT for a mpegts (both binary and the contents)

2012-07-12 Thread Carl Eugen Hoyos
cognos david.codesido@... writes: Please understand that avprobe and friends contain several hundred regressions, some of them security relevant, we therefore cannot support them here, please look at http://ffmpeg.org/download.html for supported versions, current git head is always

Re: [Libav-user] sws_scale has weird behavior when not resizing

2012-07-12 Thread Carl Eugen Hoyos
Alexandre Millette amillett@... writes: Upon testing with various video formats and files, I've encountered a problem with a small MPEG4/mp4v file (190x240). The issue is that a small green band (6 px in width) will appear on the right side of the frames. Can you reproduce this with ffmpeg

Re: [Libav-user] updating an to use libav 0.11.1 that currently uses 0.8.12

2012-07-18 Thread Carl Eugen Hoyos
David Timms dtimms@... writes: Hi, I've been trying to find some pointers / a summary of changes libav users need to make to work with 0.11.1 but been unsuccessful. You could try 0.10 which should be API compatible iirc. Carl Eugen ___ Libav-user

Re: [Libav-user] updating an to use libav 0.11.1 that currently uses 0.8.12

2012-07-18 Thread Carl Eugen Hoyos
David Timms dtimms@... writes: Any other particular list posts or web pages, or source doco that can provide the info I'm after ? You can look at doc/APIchanges, but I don't know if it is complete, you should probably start porting are post questions here. (The output you posted did not look

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-07-19 Thread Carl Eugen Hoyos
Hendrik Leppkes h.leppkes@... writes: On Thu, Jul 19, 2012 at 8:18 AM, Carl Eugen Hoyos wrote: Michael Bradshaw mbradshaw at ... writes: But when I seek, the first packet returned out of the demuxer is not a keyframe packet, and I have to read several (~45ish) packets until I encounter

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-07-19 Thread Carl Eugen Hoyos
Michael Bradshaw mbradshaw@... writes: But when I seek, the first packet returned out of the demuxer is not a keyframe packet, and I have to read several (~45ish) packets until I encounter a keyframe. Could you provide a sample that does not seek to a keyframe with ffmpeg -ss x -i

Re: [Libav-user] MOV and custom IO

2012-07-22 Thread Carl Eugen Hoyos
David Rodrigues drodrigues@... writes: When i run the code the function avformat_open_input blocks, it reads N chunks of data but don't terminate with or without error. This happens with MOV format. I've tried using MPEG-TS format and this code runs successfully. This may be irrelevant

Re: [Libav-user] bit rate control

2012-07-23 Thread Carl Eugen Hoyos
Steffen.Roeber@... writes: I'm newbie in mpeg coding. Can anybody explain the relationship between the rc_max_rate and the rc_buffer_size. Both change the output file size and bit rate. Didn't Michael already answered this question?

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-07-23 Thread Carl Eugen Hoyos
Michael Bradshaw mbradshaw@... writes: Anyone have any answers on these two things? If the answer to the above would be yes can anyone else verify that ffmpeg -dump -loglevel debug -ss 38 -i 704x480-m2v-ac3.mpg -vframes 1 out.jpg does not seek to a keyframe? As said, afaict it does seek to a

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-07-23 Thread Carl Eugen Hoyos
Hendrik Leppkes h.leppkes@... writes: Anyone have any answers on these two things? If the answer to the above would be yes can anyone else verify that ffmpeg -dump -loglevel debug -ss 38 -i 704x480-m2v-ac3.mpg -vframes 1 out.jpg does not seek to a keyframe? As said, afaict it does seek

Re: [Libav-user] black frame from nothing

2012-08-01 Thread Carl Eugen Hoyos
Michael Bradshaw mbradshaw@... writes: On Wed, Aug 1, 2012 at 9:27 AM, aviad rozenhek wrote: here's a command line to create a TS file with black frames from nothing in ffmpeg ffmpeg -f lavfi -i color=black:320x240:25 out.ts  how do I do the same with avconv? Wrong mailing list?

Re: [Libav-user] FFmpeg parallel H264 Decoding

2012-08-05 Thread Carl Eugen Hoyos
Christian Brümmer christian.bruemmer@... writes: I m using FFmpeg (v 0.8) You do realize that this is ancient and that many optimizations, especially for Android, have been committed since? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] error LNK2001: unresolved external symbol _av_pix_fmt_descriptors

2012-08-10 Thread Carl Eugen Hoyos
JIA Pei jp4work@... writes: First, my environment: Windows 7 + Visual Studio 2010  + libav 0.8.3 Release. This is a broken version of FFmpeg with several hundred known regressions, some of them possibly security relevant. Please understand that we cannot support broken versions. See

Re: [Libav-user] H264 decoding problem

2012-08-19 Thread Carl Eugen Hoyos
Ivan Ushakov ivan.ushakov@... writes: I'm using libav for decoding h264 in my iOS application. This application also uses Live555 for RTSP stuff. I use following link for testing:  rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov This works fine here with current git head without using

Re: [Libav-user] h263 frame rate

2012-08-20 Thread Carl Eugen Hoyos
David Longest david.longest@... writes: I am demuxing an h263 RTP stream and providing the raw h263 data to libav. The source of the stream is transmitting at 15fps. It seems no matter what I do, libavcodec and libavformat give me back a framerate and time stamp that results in ~30fps. I

Re: [Libav-user] convert to OGV format

2012-08-26 Thread Carl Eugen Hoyos
Rizwan Raza rizwan.raza@... writes: I need to convert to OGV format from MP4 format. Did you try the following? $ ffmpeg -i input.mp4 out.ogv Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] avconv mjpeg vfr input

2012-08-26 Thread Carl Eugen Hoyos
mm26859@... mm26859@... writes: i have a http mjpeg VFR stream from camera, i would like to store it with proper PTS. using -vcodec copy , into mp4 or mkv. after many tries, i think that the mjpeg decoder does not set PTS correctly. i have tried -vsync vfr , but everytime avconv sets a

Re: [Libav-user] Ultra-HD capable Codecs? (greater than 4K)

2012-09-04 Thread Carl Eugen Hoyos
Bruce Wheaton bruce@... writes: I know most FFMPEG codecs only work up to 4096 x 4096 Could you elaborate? (I had to search to find a codec that did not support 8k.) Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Ultra-HD capable Codecs? (greater than 4K)

2012-09-04 Thread Carl Eugen Hoyos
Bruce Wheaton bruce@... writes: I know most FFMPEG codecs only work up to 4096 x 4096 Could you elaborate? (I had to search to find a codec that did not support 8k.) Maybe my information was out of date! That would be good news. I seem to remember finding hard coded 4096 limits

Re: [Libav-user] how to get extradata of MPEGTS using ffmpeg?

2012-09-18 Thread Carl Eugen Hoyos
Licheng Niu niulicheng@... writes: I am trying to decode TS file on android with hardware decoder. And I use ffmpeg MPEGTS demuxer. To init hardware decoder, (Isn't libstagefright supposed to do that? Or do I misunderstand?) extradata (SPS, PPS or sth.) is needed to be set for both

Re: [Libav-user] prores variable frame rate last frame bug?

2012-09-18 Thread Carl Eugen Hoyos
Al Crate al@... writes: ffprobe version 0.7-rc7 Copyright (c) 2007-2012 Baptiste Coudurier and the FFmpeg developers Wrong mailing list? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] how to create seekable mkv using libavformat?

2012-09-21 Thread Carl Eugen Hoyos
Jan Pohanka xhpohanka@... writes: I'm muxing a raw h264 stream from hadrdware encoder to mkv using libavformat library. The resulting file is playable, but not properly seekable I'm testing it in ffplay - moving to certains times causes the image to disappear or break and there are

Re: [Libav-user] DV Condec

2012-09-22 Thread Carl Eugen Hoyos
Steve Hart steve.hart@... writes: FYI, As far as I know only dv25 and dv50 are supported on encode. What is not supported? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] DV Condec

2012-09-23 Thread Carl Eugen Hoyos
Steve Hart steve.hart@... writes: I believe encoding PAL/NTSC works but HD (1920x1080 - 422) is not. DVCPRO HD encoding is not supported, that is correct. (I thought it is not called dv, sorry if I am wrong.) Please do not top-post here, Carl Eugen

Re: [Libav-user] DV Condec

2012-09-24 Thread Carl Eugen Hoyos
Denis info@... writes: I can play the files DV-ffmpeg.dv and MJPEG_Quality=100.avi with vlc and with my own player based on libavuser. What is libavuser? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] DV Condec

2012-09-25 Thread Carl Eugen Hoyos
Denis Gottardello denisgottardello@... writes: It means how to produce video with those codecs using directly the ffmpeg libraries without use ffmpeg executable. There are usage examples for the libraries in doc/examples Please do not top-post here, Carl Eugen

Re: [Libav-user] How to set number of threads in c++

2012-09-25 Thread Carl Eugen Hoyos
Svetlana Olonetsky svetlana.olonetsky@... writes: I am reading video files using ffmpeg in C++. How can I set number of threads for ffmpeg to use ? See thread_count in AVCodecContext Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] asf (.wmv) muxer problem : duration is not good !

2012-09-29 Thread Carl Eugen Hoyos
Stephane Debusne stephane.debusne@... writes: but after writing the trailer, if i close and reopen the file, the duration read by avlibs is 14805. not 12800... However, the movie plays well and it plays only for 12.8 seconds. Isn't the duration value simply wrong on reopening? Or is that

Re: [Libav-user] FFmpeg nonfree option

2012-10-04 Thread Carl Eugen Hoyos
longjian yu lalahohohu@... writes: Please let me know my understanding is correct or not. I may misunderstand you but I believe your understanding is not correct. If you configure FFmpeg with --enable-nonfree you cannot legally distribute the resulting binaries. (If you are using

Re: [Libav-user] AC3 decoder in FFmpeg

2012-10-04 Thread Carl Eugen Hoyos
Alex Smeshkov alex.smeshkov@... writes: Could you please advise if I can use FFmpeg library containing AC3 decoder in a commercial project without obtaining license from Dolby Wrong mailing list? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] avformat_open_input() fails with unicode filenames of image files

2012-10-06 Thread Carl Eugen Hoyos
Tim Hauke mail@... writes: Same six jpg files as before renamed in tür1.jpg,...,tür6.jpg Runing ffmpeg.exe with the same command: ffmpeg -f image2 -i tür%d.jpg tür.mpg It failed Please add (command line together with) complete, uncut console output. (It works fine here.) Carl Eugen

Re: [Libav-user] avformat_open_input() fails with unicode filenames of image files

2012-10-08 Thread Carl Eugen Hoyos
Tim Hauke mail@... writes: https://ffmpeg.org/trac/ffmpeg/ticket/819 You wrote that it´s working fine with Your installation. Which version do You use and on which platform? Looking into the ticket, I suspect anything != Windows works fine (win32 might be wrong, should probably be win).

Re: [Libav-user] FFMpeg and CODEC_ID_MJPEG

2012-10-08 Thread Carl Eugen Hoyos
Denis info@... writes: I have a problem with decoding_encoding.c example making a video with mjpeg codec. I obtain the error Encode video file mjpeg.mpg [mjpeg @ 0x956b020] Specified pix_fmt is not supported could not open codec (The following is of course pure guessing, since all

Re: [Libav-user] ReZound Integration Question

2012-10-08 Thread Carl Eugen Hoyos
Davy Durham ddurham@... writes: I don't immediately see something like a struct for each supported codec that describes all the options for that codec. [Did I miss it?] I think so because many codecs have an AVOption struct that describe their codec-specific options. (Many options

Re: [Libav-user] FFmpeg License Violation - What Are My Remedies?

2012-10-10 Thread Carl Eugen Hoyos
Matthew Lawrence matthew.c.lawrence@... writes: I recently purchased an app from Google Play that incorporates the FFmpeg library.  Because the app is a derivative work under the LGPLv2.1, I believe I am entitled to a copy of the source code for the entire app. Apart from what was already

Re: [Libav-user] Not able to convert to mp4 from wmv format

2012-10-11 Thread Carl Eugen Hoyos
Rizwan Raza rizwan.raza@... writes: I would appreciate any help into this matter. Please provide complete, uncut console output (together with the command line) of the failed transcoding attempt. If the problem also appears with the following command line, output would be prefered for this

Re: [Libav-user] FFmpeg components needed to extract audio/video metadata

2012-10-11 Thread Carl Eugen Hoyos
William Seemann wseemann@... writes: FLAGS=$FLAGS --enable-shared --disable-symver (You could add --disable-debug although it is not default for shared anyway iirc.) FLAGS=$FLAGS --enable-small --optimization-flags=-O2 There are two possibilities: Either -O2 is good (be it for all

Re: [Libav-user] avcodec_open2 is changing the channels and channel_layout... why?

2012-10-12 Thread Carl Eugen Hoyos
Michael Bradshaw mbradshaw@... writes: I can provide the sample if necessary. If this is reproducible with current git head (and I do not doubt this) and you have a sample, then it should be possible for you to open a ticket. Thank you, Carl Eugen

Re: [Libav-user] Video buffer padding

2012-10-24 Thread Carl Eugen Hoyos
Tony Glover T.Glover@... writes: You should set aside enough buffer space to hold your data AND the extra padding to it and ensure that the extra padding is set to zero. Something like this would suffice :- If you have copied the incoming data to your buffer, e.g memcpy(mPkt-data,

Re: [Libav-user] Repeating frames

2012-10-24 Thread Carl Eugen Hoyos
Tim Pitman tapitman11@... writes: Is there a way to do what I'm trying to accomplish? If you believe that FFmpeg's error concealment is not optimal (it isn't for h264), you should try to improve it, not work-around it. And without knowing the theory, I am quite sure that repeating the

Re: [Libav-user] How to use rawvideo conatiner format with mpeg4

2012-10-27 Thread Carl Eugen Hoyos
Mark Pupilli mpupilli@... writes: I am having problems sending mpeg4 (FMP4) in the the rawvideo container format. I suspect you are searching for the output format m4v. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] JPEG over RTSP

2012-10-29 Thread Carl Eugen Hoyos
Mark Kenna mark.kenna@... writes: 1. I have been trying to get JPEG over RTSP working through FFMpeg but get a bunch of errors. It's working fine here. (Or am I missing something?) $ ffplay rtsp://root:Roseb8d@81.138.238.97:554/profile0=r ffplay version N-46127-g7d1e003 Copyright (c)

Re: [Libav-user] Album art retrieval

2012-10-29 Thread Carl Eugen Hoyos
William Seemann wseemann@... writes: I'm already familiar with encoding/decoding, so, are you saying I need to decode the packet the same way I would for a normal audio/video stream and then do something with the decoded output (in this case, render an image)? You have to decode (and

Re: [Libav-user] How can we set frame size for live stream?

2012-10-31 Thread Carl Eugen Hoyos
Wenpeng Zhou zhou.wenpeng@... writes: Input #0, dshow, from 'video=Mercury USB2.0 Camera': Duration: N/A, start: 58890.453000, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj422p, 1280x720, 30 tbr, 1k tbn, 30 tbc I hope to change frame size from 1280x720 to 640x480. If your

Re: [Libav-user] How can we set frame size for live stream?

2012-10-31 Thread Carl Eugen Hoyos
Wenpeng Zhou zhou.wenpeng@... writes: I mean this command. ffplay -f dshow -i video=Mercury USB2.0 Camera -s 640x480 How can we set 640x480 in C++ code? To quote my original answer: there is libswscale (or the scale filter that uses libswscale) to do the resizing. See

Re: [Libav-user] soft telecine 29.97 fps

2012-10-31 Thread Carl Eugen Hoyos
Alex Balk abalk@... writes: When i use ffmpeg to encode an h264 input into mpeg2 video, I notice that even though my h264 file has some frames with pic_struct = 8 indicating frame doubling for soft telecined video, the mpeg2 output has the repeat_first_field set to 0 on all frames. I am

Re: [Libav-user] FFMPEG - Undefined reference to 'av_...()'

2012-11-02 Thread Carl Eugen Hoyos
Lumping 4Ever lumpings@... writes: ./configure --disable-yasm --enable-shared Unrelated to your question: Why do you use --disable-yasm ? (It is a bad idea.) I got the library files (.a) Why are you using --enable-shared (above) if you want to use the .a files? [...] extern C{   #include

Re: [Libav-user] How to handle dynamically changing streams / parameters / codecs?

2012-11-03 Thread Carl Eugen Hoyos
Andrea3000 andrea3000@... writes: What do I need to update in the FFmpeg structure to handle the change? I suggest you first test ffmpeg (the command line application) or ffplay (or MPlayer). If they do not support the changing of number of audio / video streams or parameters (not bitrate,

Re: [Libav-user] How to handle dynamically changing streams / parameters / codecs?

2012-11-04 Thread Carl Eugen Hoyos
Andrea3000 andrea3000@... writes: file1: https://dl.dropbox.com/u/11879013/file1.m2ts file2: https://dl.dropbox.com/u/11879013/file2.m2ts I also tested cat file1.m2ts file1.m2ts test1.ts and cat file2.m2ts file2.m2ts test2.ts (and WMP) and it could be possible that this cannot

Re: [Libav-user] First frame not keyframe

2012-11-08 Thread Carl Eugen Hoyos
Mark Kenna mark.kenna@... writes: After doing some research it appears that FFMpeg will drop the first frame if it's deemed broken, corrupt or not a keyframe, but it seems that the first frame is present and looks perfectly valid Please provide a sample. (Generally, please don't forget

Re: [Libav-user] Any resolution limit for MJPEG decoder ?

2012-11-08 Thread Carl Eugen Hoyos
snehal parmar snehalp277@... writes: I wish to use ffmpeg to play MJPEG stream on a video viewer. Wanted to know if there is any limit on resolution supported ? Please test, if you have an unsupported input file, please report it! Carl Eugen ___

Re: [Libav-user] demuxing streams and mux them back to file

2012-11-14 Thread Carl Eugen Hoyos
Wuerfel, Hannes Hannes.Wuerfel@... writes: I'm trying to write a simple program which decodes the video and audio frames and encodes and mux it back to a file. How can I generally accomplish that? Basically I took the demuxing.c example and wanted to mux the video and audio frames back

Re: [Libav-user] Detecting image orientation in pictures from a camera?

2012-11-17 Thread Carl Eugen Hoyos
Michael Bradshaw mjbshaw@... writes: I've got a series of images taken with a camera that I need to process with libav*. Is there any way to check the EXIF data to determine rotation/orientation for the image (so that I can rotate it in my program)? When I print out the metadata for the

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-20 Thread Carl Eugen Hoyos
Malik Cissé mc@... writes: You don't need RGB for bitmap. AFAIK BMP pictures can also embed YUV4:2:0 I didn't know bmp supports yuv. Do you have a sample or a source that confirms this? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-20 Thread Carl Eugen Hoyos
Navin nkipe@... writes: I have been through many websites, but they either use img_convert (which doesn't work) or sws_scale, which crashes when I try to use it with RGB. I may miss something, but I guess this is the important problem you should work on (see doc/examples). Possibly

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-20 Thread Carl Eugen Hoyos
René J.V. Bertin rjvbertin@... writes: afaik jpg images are in rgb space. No. (Lossless jpg supports rgb and FFmpeg supports reading and writing lossless jpg but this is a very unusual feature and nearly all non-FFmpeg software will not support the images.) Carl Eugen

Re: [Libav-user] ffmpeg H.264 decoding

2012-11-20 Thread Carl Eugen Hoyos
Malik Cissé mc@... writes: My question: The decoding goes very fast and CPU usage is low. Can I guaranty same performance on similar CPU’s? I may misunderstand the question, but decoding is a deterministic process (if that is what you want to know). General system load and other factors

Re: [Libav-user] ffmpeg H.264 decoding

2012-11-20 Thread Carl Eugen Hoyos
Malik Cissé mc@... writes: How can I force hw decoding? This depends on which hardware decoder you want to use, at least the following APIs are supported (please understand that in this case, this does not mean you can use them without any additional effort, it just means that some code

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-21 Thread Carl Eugen Hoyos
Navin nkipe@... writes: Am using the latest ffmpeg-win32-dev and I've tried with a wmv, many mp4 (from youtube, h264 (high) (avc1/0x31637661), yuv420p 1280x720, 1139kb/s, 24fps) files and avi too, but they're all crashing with Unhandled exception, Access violation writing location

Re: [Libav-user] Memory allocation and avpicture_fill incorrect?

2012-11-22 Thread Carl Eugen Hoyos
Navin nkipe@... writes: I was trying out the updated tutorial01 code of ffmpeg:https://github.com/mpenkov/ffmpeg-tutorial Did you look at doc/examples/scaling_video.c? I believe it contains exactly the code that you need to do the yuv420p - rgb24 conversion that you want. Carl Eugen

Re: [Libav-user] Problems with time.h in ffmpeg util libary

2012-11-22 Thread Carl Eugen Hoyos
Hannes Wuerfel hannes.wuerfel@... writes: is there a workaround to avoid name conflicts with the standard c time.h file? It is a problem when using some other libs in the project where ffmpeg is used. Could you elaborate? (So far, nobody could explain how this can be a problem.) Carl

Re: [Libav-user] Problems with time.h in ffmpeg util libary

2012-11-22 Thread Carl Eugen Hoyos
Hannes Wuerfel hannes.wuerfel@... writes: extern C { #include libavcodec/avcodec.h #include libavformat/avformat.h #include libswscale/swscale.h #include libavutil/opt.h #include libavutil/audioconvert.h #include libavutil/common.h #include libavutil/imgutils.h #include

Re: [Libav-user] Problems with time.h in ffmpeg util libary

2012-11-23 Thread Carl Eugen Hoyos
Hannes Wuerfel hannes.wuerfel@... writes: Ah, perhaps my fault giving you compile errors in german. Given that German is my native language, this is hopefully not the problem;-) (If you mean my rant about the MSVC error message: It is missing the reason - source code line - why a specific

Re: [Libav-user] Clarifications about why --use-nonfree makes ffmpeg undistributable given the LGPL

2012-11-26 Thread Carl Eugen Hoyos
Carlos Alberto Lopez Perez clopez@... writes: Then, why is that --enable-nonfree makes ffmpeg unredistributable? You mean: why is libfaac making ffmpeg unreproducible even without x264? Your question is valid, the original idea was to make it more likely to get improvements for the native

Re: [Libav-user] installing for Windows

2012-11-26 Thread Carl Eugen Hoyos
René J.V. Bertin rjvbertin@... writes: I've noticed that the win32 and win64 static ffmpeg version are way less verbose than their *n*x counterparts. (Command line and complete, uncut console output missing.) Could you elaborate? This seems unlikely. An ffmpeg that doesn't use the Console

Re: [Libav-user] E-AC-3 7.1 encoding?

2012-11-26 Thread Carl Eugen Hoyos
David Henry dhenry@... writes: I'm wondering about encoding E-AC-3 7.1 surround using CODEC_ID_EAC3 The eac3 encoder currently does not support 7.1 encoding. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Could somone help me?

2012-11-26 Thread Carl Eugen Hoyos
Morduhaev, Igor (igorm@... igorm@... writes: I posted a question, but still didn't get any answer to it? You still did not post anything that would compile afaict. (Please understand that this is no guarantee that you will get a satisfying answer once you post a question that can be

Re: [Libav-user] E-AC-3 7.1 encoding?

2012-11-26 Thread Carl Eugen Hoyos
David Henry dhenry@... writes: Does anyone know of public plans (include url please) or time frames to support this feature? You may misunderstand how open-source development / FFmpeg development works. (Even if there are plans that I don't know about there would be no time frames.) Please

Re: [Libav-user] hello i have some developement question as for the decoding-encoding process

2012-11-29 Thread Carl Eugen Hoyos
Rafi Fisher rafi.fisher@... writes: so i dont know how for example to convert from mp2 sample rate = 16000 to wav format 44000. Use swresample to change audio sample rate. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] hello i have some developement question as for the decoding-encoding process

2012-11-29 Thread Carl Eugen Hoyos
Rafi Fisher rafi.fisher@... writes: thanks for the answer. where can i find some sample code how to use the swsresampe api's See doc/examples/filtering_audio.c Please do not top-post here, Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Request

2012-12-01 Thread Carl Eugen Hoyos
amir amir secu_tech@... writes: Is there any plugin or API Ref or any vendor that enables the FFMPEG run on GPU in order to make use of the GPU acceleration? FFmpeg contains code to support VDPAU, VA-API, DXVA2 and vda, see MPlayer and vlc for examples on how to use them. libstagefright

Re: [Libav-user] Request

2012-12-01 Thread Carl Eugen Hoyos
amir amir secu_tech@... writes: I am really new to FFMPEG. it is a very comprehensive project. could you please give me links of Mplayer and VLC www.mplayerhq.hu www.videolan.org and examples how to use the GPU-acceleration? For vdpau, look at libvo/vo_vdpau.c in MPlayer, I don't know

Re: [Libav-user] Duplicate frames?

2012-12-06 Thread Carl Eugen Hoyos
David R Robison drrobison@... writes: I am having a problem with poor quality of H.264 video. Can you reproduce the poor quality with ffmpeg (the application)? If yes, please provide command line together with complete, uncut console output. Carl Eugen

Re: [Libav-user] Options to minimize decoder CPU use

2012-12-07 Thread Carl Eugen Hoyos
Jason Livingston jettoblack@... writes: When decoding MPEG-2 or H.264 video with lavc, what decoder flags or options can I use to decode as quickly as possible? Do I understand you correctly that you want to maximize CPU use? [...] I see AVCodecContext has some options such as skip_idct

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin rjvbertin@... writes: Are we really speaking about the same thing, generating multiple tracks in a QuickTime movie, and not a track with 4 overlays or a multi-channel (audio) track? May I ask what the name of the filter is that merges the crop filter outputs in 4 tracks in

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin rjvbertin@... writes: NB: at 12Hz there isn't much gain of mpeg4 encoding over mjpeg encoding Depending on what you mean with gain, this is not correct. (Your sentence is equivalent to intra-only codecs have no real disadvantage over using P and B-frames for sufficiently

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin rjvbertin@... writes: What I mean is the size of the files I get on my sample videos. Guess I should have made that clearer. And of course I never meant to say it depends on the framerate only, evidently it depends on how much the images vary between frames. (Guess is

Re: [Libav-user] Problem with rtmp stream

2012-12-09 Thread Carl Eugen Hoyos
Nelson Perez bilthon@... writes: ffmpeg -i rtmp://200.141.78.68:1935/cet-rio/74.stream pageUrl=http://transito.rio.rj.gov.br --live -vcodec copy -an out.flv Does somebody have a suggestion to fix this issue? Since I cannot reproduce your issue: Please provide complete, uncut console

Re: [Libav-user] Problem with rtmp stream

2012-12-10 Thread Carl Eugen Hoyos
Nelson Perez bilthon@... writes: My bad, I used the wrong address to illustrate the problem. It actually happens with camera 71. So you should type: ffmpeg -i rtmp://200.141.78.68:1935/cet-rio/71.stream pageUrl=http://transito.rio.rj.gov.br --live; -vcodec copy -an out.flv I originally

Re: [Libav-user] Decoding HD videos on iPad devices

2012-12-19 Thread Carl Eugen Hoyos
Gohar Hovhannisyan gohar_h@... writes: We wonder whether it is possible to perform decoding on iPad GPU to speed up decoding process (by compiling it with special flags, or with some patches) Only if you implement it. or run it parallel on dual core (iPad2) / quad-core (new iPad) or are

Re: [Libav-user] Decoding HD videos on iPad devices

2012-12-20 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: We wonder whether it is possible to perform decoding on iPad GPU to speed up decoding process (by compiling it with special flags, or with some patches) Only if you implement it. Reconsidering this, it is possible that -vcodec h264_vda is what you

<    1   2   3   4   5   6   7   8   9   10   >