[FFmpeg-user] How to find the last working GIT version?
paulj at fastmail.es
paulj at fastmail.es
Wed Sep 12 21:22:46 CEST 2012
> On 12/09/2012 9:03 AM, Carl Eugen Hoyos wrote:
> > git log -p 3e1cf49 shows you the change in commit 3e1cf49
> > (a version that you know is bad) and all prior commits, the
> > first commit before 3e1cf49 is 2107009 that as you know is a
> > good version, so you only have to revert the one line from
> > commit 3e1cf49 but none of the (several ten-thousand)
> > earlier commits.
> >
> > I hope this clears it up, if not, try to remove
> > "&& has_decode_delay_been_guessed(st)" from
> > compute_pkt_fields() in libavformat/utils.c
> >
>
> Ok, just to confirm - I've built latest head with that removed and it
> works fine, so that is the problem spot there.
>
I can confirm that it also solves the bug I found, the one where dumping an H264
stream from an Axis camera gave an "mp4 @ 0xaa897a0] pts (0) < dts (1) in stream 0
av_interleaved_write_frame(): Invalid argument" error. I just updated to the last git version (I
think...), removed that part, and it worked:
[paulo at webserver ffmpeg]$ ./ffmpeg -rtsp_transport tcp -i rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp -vcodec copy -acodec copy ../axis.mp4
ffmpeg version N-43891-g65b552c Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 12 2012 21:02:08 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-50)
configuration: --enable-encoder=libx264 --enable-libx264 --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil 51. 70.100 / 51. 70.100
libavcodec 54. 54.100 / 54. 54.100
libavformat 54. 25.104 / 54. 25.104
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 13.101 / 3. 13.101
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[rtsp @ 0xa8245c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.100067, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 29.97 tbr, 90k tbn, 180k tbc
Output #0, mp4, to '../axis.mp4':
Metadata:
title : Media Presentation
encoder : Lavf54.25.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 34 fps=0.0 q=-1.0 size= 2736kB time=00:00:01.93 bitrate=11564.6kbits
frame= 45 fps= 43 q=-1.0 size= 3614kB time=00:00:02.33 bitrate=12662.2kbits
frame= 58 fps= 37 q=-1.0 size= 4663kB time=00:00:03.07 bitrate=12440.9kbits
frame= 71 fps= 34 q=-1.0 size= 5700kB time=00:00:03.57 bitrate=13076.8kbits
Paulo.
-------------------------------------------
"Oh, don't worry kids. Most of you will
never fall in love. You'll just marry
for fear of dying alone."
The Simpsons.
-------------------------------------------
More information about the ffmpeg-user
mailing list