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

2012-06-29 Thread Simon Daniels
Hi Carl -- any luck digging into that video? Thanks! On Wed, Jun 27, 2012 at 9:03 AM, Noah Spitzer-Williams n...@highlighthunter.com wrote: Input file: https://dl.dropbox.com/u/28441949/sample%20video.MP4 On Tue, Jun 26, 2012 at 10:45 PM, Carl Eugen Hoyos ceho...@ag.or.atwrote: Simon

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

2012-06-27 Thread Simon Daniels
Input file: https://dl.dropbox.com/u/28441949/sample%20video.MP4 On Tue, Jun 26, 2012 at 10:45 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: 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

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

2012-06-27 Thread Simon Daniels
PM, Simon Daniels wrote: Hi Michael -- after reading into things a bit more, I agree that it's risky what I'm doing. However, I only need about 3 frames per second so maybe waiting for a key frame isn't the end of the world... Is there a safer way? The decoding is extremely expensive so I only

Re: [Libav-user] Save frame to jpg with data from avcodec_decode_video2

2012-06-26 Thread Simon Daniels
Cohn wrote: On Tue, Jun 26, 2012 at 9:18 AM, Simon Daniels simondaniel...@gmail.com wrote: I don't want to use the ffmpeg command-line to save out the frames because for some reason the frame counts are not matching. Ffmpeg.exe saves more frame jpegs than avcodec_decode_video2 seems

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

2012-06-26 Thread Simon Daniels
Hey guys, I'm doing some simply video analysis in which I walk through frames of a video and do some calculations on the pixel data. I started noticing some issues with frame timing so I tried to compare my results with a simple thumbnail extraction script using ffmpeg.exe. *The thumbnails from

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

2012-06-26 Thread Simon Daniels
video:18652kB audio:0kB global headers:0kB muxing overhead -100.00% On Tue, Jun 26, 2012 at 11:44 AM, Michael Bradshaw mbrads...@sorensonmedia.com wrote: On Tue, Jun 26, 2012 at 12:34 PM, Simon Daniels simondaniel...@gmail.com wrote: // Is this a packet from the video stream

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

2012-06-26 Thread Simon Daniels
absolutely need to. Thanks! On Tue, Jun 26, 2012 at 11:44 AM, Michael Bradshaw mbrads...@sorensonmedia.com wrote: On Tue, Jun 26, 2012 at 12:34 PM, Simon Daniels simondaniel...@gmail.com wrote: // Is this a packet from the video stream? if (packet.stream_index == videoStreamIndex frameLocation

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

2012-06-26 Thread Simon Daniels
) On Tue, Jun 26, 2012 at 12:15 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Simon Daniels simondaniels23@... writes: frame=1 fps=0.1 q=6.4 Lq=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0kbits/s dup=30 drop=0 I do not completely understand the output (may be a Windows problem

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

2012-06-26 Thread Simon Daniels
lines up with #221 in 0.8.3. On Tue, Jun 26, 2012 at 12:22 PM, Simon Daniels simondaniel...@gmail.comwrote: Interesting. There was a difference of 30 between the frames that ffmpeg.exe output and the result of -nb_frames. Sure enough, ffmpeg.exe with -vsync 0 output 480 frames instead of 510

Re: [Libav-user] Empty .MTS output videos when using -ss command line argument

2012-05-18 Thread Simon Daniels
Weird -- any idea why there's only 1 key frame? I guess that's what the camera decided to do... On Wed, May 9, 2012 at 8:22 AM, Alex Cohn alexc...@netvision.net.il wrote: On Mon, Apr 16, 2012 at 7:05 PM, Simon Daniels simondaniel...@gmail.com wrote: Hi guys, I have a set of .MTS files

[Libav-user] Empty .MTS output videos when using -ss command line argument

2012-04-16 Thread Simon Daniels
Hi guys, I have a set of .MTS files that I'm trying to splice. If I start at 0:00:00, the output video works fine. But if I start splicing any time after 0:00:00, the output video is empty. I've used the exact same command line with other .MTS files and had no problem. It seems like something

Re: [Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file

2012-02-07 Thread Simon Daniels
Here you go: http://pastebin.com/kKuh49ZD Thanks! On Tue, Feb 7, 2012 at 12:57 AM, Andrey Utkin andrey.krieger.ut...@gmail.com wrote: 2012/2/7 Simon Daniels simondaniel...@gmail.com: I updated all the deprecated functions and I'm still having the same problem. Please share your updated

[Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file

2012-02-05 Thread Simon Daniels
Hello, I've come across a particular MTS file that doesn't seem to want to be decoded. I've decoded plenty of other MTS, M4V, and MOV files with my code so something seems to be unique to this one. I can play the file just fine too. Any idea what's going on here? Here's the media info for the

Re: [Libav-user] Batch trimming commands

2012-01-11 Thread Simon Daniels
00:00:30 /Users/user/Documents/output1.MP4 -vcodec copy -acodec copy -ss 00:24:15 -t 00:00:30 /Users/user/Documents/output2.MP4 Is it designed to support batch commands? Thanks! On Fri, Jan 6, 2012 at 4:47 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Simon Daniels simondaniels23@... writes

[Libav-user] Batch trimming commands

2012-01-03 Thread Simon Daniels
Hello, I currently use ffmpeg.exe to trim videos from point A to point B. Something like this: ffmpeg -i original.avi -ss 0:10:00 -t 0:00:30 output.avi 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

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

2011-11-26 Thread Simon Daniels
we're getting closer! On Fri, Nov 25, 2011 at 3:15 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: 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

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

2011-11-24 Thread Simon Daniels
] ] ] ] ] Hope that was thorough enough ;-). Looking forward to your other ideas. Thanks! On Thu, Nov 24, 2011 at 2:19 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Simon Daniels simondaniels23@... writes: Thanks guys but omitting -fomit-frame-pointer in the last gcc call or replacing it with -fno

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

2011-11-24 Thread Simon Daniels
on current git head (with -fno-omit-frame-pointer at the end). 4. Repeated #2 and #3 with clang on current git head and got the same errors Thanks! On Thu, Nov 24, 2011 at 12:32 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Simon Daniels simondaniels23@... writes: Here's what I did this time. I'm

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

2011-11-23 Thread Simon Daniels
At this point I'm just wiling to pay someone who can compile this for me ;-) On Wed, Nov 23, 2011 at 2:13 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Simon Daniels simondaniels23@... writes: gcc -m32 -I. -I/Users/user/Downloads/ffmpeg-0.8.7 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64

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

2011-11-22 Thread Simon Daniels
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

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

2011-11-22 Thread Simon Daniels
-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 Thanks! On Tue, Nov 22, 2011 at 4:54 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Simon Daniels simondaniels23@... writes

[Libav-user] Get list of supported video types

2011-10-27 Thread Simon Daniels
Hello, Is it possible to call an ffmpeg API to get the list of video types that it supports for decoding and encoding? I'd want the associated file extensions as well. Thanks! Simon ___ Libav-user mailing list Libav-user@ffmpeg.org