Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
10th August 2010, 13:57 | #42 | Link |
Registered User
Join Date: Jan 2009
Posts: 28
|
I have been trying to compile this on Mac OS X 10.6 for the last coulpe of hours but it keeps give errors. If someone could please explain the process as I'm at a loss I would be very grateful
__________________
Check Out All My Tutorials Code:
http://instantitunes.wordpress.com/ |
10th August 2010, 14:19 | #44 | Link |
Registered User
Join Date: Jan 2009
Posts: 28
|
Yes I have applied patch with -
Cd ffmpeg Patch p1 < ffmpeg_svn_r24573.patch is this the correct way to do it? When apply the patch I get FAIL for imx_dump_header_bsf.c Code:
ffmpeg john$ patch -p1 < ffmpeg_svn_r24573.patch missing header for unified diff at line 5 of patch (Stripping trailing CRs from patch.) can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: ffmpeg.c |=================================================================== |--- ffmpeg.c (revision 24573) |+++ ffmpeg.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/ffmpeg.c patching file /Developer/ffmpeg/ffmpeg.c (Stripping trailing CRs from patch.) can't find file to patch at input line 155 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/aac_adtstoasc_bsf.c |=================================================================== |--- libavcodec/aac_adtstoasc_bsf.c (revision 24573) |+++ libavcodec/aac_adtstoasc_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/aac_adtstoasc_bsf.c patching file /Developer/ffmpeg/libavcodec/aac_adtstoasc_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 177 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/allcodecs.c |=================================================================== |--- libavcodec/allcodecs.c (revision 24573) |+++ libavcodec/allcodecs.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/allcodecs.c patching file /Developer/ffmpeg/libavcodec/allcodecs.c (Stripping trailing CRs from patch.) can't find file to patch at input line 206 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/avcodec.h |=================================================================== |--- libavcodec/avcodec.h (revision 24573) |+++ libavcodec/avcodec.h (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/avcodec.h patching file /Developer/ffmpeg/libavcodec/avcodec.h Hunk #8 succeeded at 3903 (offset -1 lines). (Stripping trailing CRs from patch.) can't find file to patch at input line 285 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/bitstream_filter.c |=================================================================== |--- libavcodec/bitstream_filter.c (revision 24573) |+++ libavcodec/bitstream_filter.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/bitstream_filter.c patching file /Developer/ffmpeg/libavcodec/bitstream_filter.c (Stripping trailing CRs from patch.) patching file h264_changesps_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 890 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/h264_mp4toannexb_bsf.c |=================================================================== |--- libavcodec/h264_mp4toannexb_bsf.c (revision 24573) |+++ libavcodec/h264_mp4toannexb_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/h264_mp4toannexb_bsf.c patching file /Developer/ffmpeg/libavcodec/h264_mp4toannexb_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 986 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/h264_ps.c |=================================================================== |--- libavcodec/h264_ps.c (revision 24573) |+++ libavcodec/h264_ps.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/h264_ps.c patching file /Developer/ffmpeg/libavcodec/h264_ps.c Hunk #1 succeeded at 37 (offset 1 line). (Stripping trailing CRs from patch.) can't find file to patch at input line 999 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/imx_dump_header_bsf.c |=================================================================== |--- libavcodec/imx_dump_header_bsf.c (revision 24573) |+++ libavcodec/imx_dump_header_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/imx_dump_header_bsf.c patching file /Developer/ffmpeg/libavcodec/imx_dump_header_bsf.c (Stripping trailing CRs from patch.) patching file Makefile Hunk #1 FAILED at 285. Hunk #2 FAILED at 595. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej (Stripping trailing CRs from patch.) can't find file to patch at input line 1032 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/mjpega_dump_header_bsf.c |=================================================================== |--- libavcodec/mjpega_dump_header_bsf.c (revision 24573) |+++ libavcodec/mjpega_dump_header_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/mjpega_dump_header_bsf.c patching file /Developer/ffmpeg/libavcodec/mjpega_dump_header_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1045 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/mp3_header_compress_bsf.c |=================================================================== |--- libavcodec/mp3_header_compress_bsf.c (revision 24573) |+++ libavcodec/mp3_header_compress_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/mp3_header_compress_bsf.c patching file /Developer/ffmpeg/libavcodec/mp3_header_compress_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1058 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/mp3_header_decompress_bsf.c |=================================================================== |--- libavcodec/mp3_header_decompress_bsf.c (revision 24573) |+++ libavcodec/mp3_header_decompress_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/mp3_header_decompress_bsf.c patching file /Developer/ffmpeg/libavcodec/mp3_header_decompress_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1071 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/noise_bsf.c |=================================================================== |--- libavcodec/noise_bsf.c (revision 24573) |+++ libavcodec/noise_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/noise_bsf.c patching file /Developer/ffmpeg/libavcodec/noise_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1084 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/options.c |=================================================================== |--- libavcodec/options.c (revision 24573) |+++ libavcodec/options.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/options.c patching file /Developer/ffmpeg/libavcodec/options.c (Stripping trailing CRs from patch.) patching file r10kdec.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1254 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/r210dec.c |=================================================================== |--- libavcodec/r210dec.c (revision 24573) |+++ libavcodec/r210dec.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/r210dec.c patching file /Developer/ffmpeg/libavcodec/r210dec.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1298 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavcodec/remove_extradata_bsf.c |=================================================================== |--- libavcodec/remove_extradata_bsf.c (revision 24573) |+++ libavcodec/remove_extradata_bsf.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavcodec/remove_extradata_bsf.c patching file /Developer/ffmpeg/libavcodec/remove_extradata_bsf.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1314 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/assenc.c |=================================================================== |--- libavformat/assenc.c (revision 24573) |+++ libavformat/assenc.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/assenc.c patching file /Developer/ffmpeg/libavformat/assenc.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1330 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/avienc.c |=================================================================== |--- libavformat/avienc.c (revision 24573) |+++ libavformat/avienc.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/avienc.c patching file /Developer/ffmpeg/libavformat/avienc.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1534 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/flvenc.c |=================================================================== |--- libavformat/flvenc.c (revision 24573) |+++ libavformat/flvenc.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/flvenc.c patching file /Developer/ffmpeg/libavformat/flvenc.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1577 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/isom.c |=================================================================== |--- libavformat/isom.c (revision 24573) |+++ libavformat/isom.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/isom.c patching file /Developer/ffmpeg/libavformat/isom.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1589 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/matroskadec.c |=================================================================== |--- libavformat/matroskadec.c (revision 24573) |+++ libavformat/matroskadec.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/matroskadec.c patching file /Developer/ffmpeg/libavformat/matroskadec.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1666 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/matroskaenc.c |=================================================================== |--- libavformat/matroskaenc.c (revision 24573) |+++ libavformat/matroskaenc.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/matroskaenc.c patching file /Developer/ffmpeg/libavformat/matroskaenc.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1715 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/mov.c |=================================================================== |--- libavformat/mov.c (revision 24573) |+++ libavformat/mov.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/mov.c patching file /Developer/ffmpeg/libavformat/mov.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1736 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/movenc.c |=================================================================== |--- libavformat/movenc.c (revision 24573) |+++ libavformat/movenc.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/movenc.c patching file /Developer/ffmpeg/libavformat/movenc.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1782 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/raw.c |=================================================================== |--- libavformat/raw.c (revision 24573) |+++ libavformat/raw.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/raw.c patching file /Developer/ffmpeg/libavformat/raw.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1849 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/riff.c |=================================================================== |--- libavformat/riff.c (revision 24573) |+++ libavformat/riff.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/riff.c patching file /Developer/ffmpeg/libavformat/riff.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1894 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/rmdec.c |=================================================================== |--- libavformat/rmdec.c (revision 24573) |+++ libavformat/rmdec.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/rmdec.c patching file /Developer/ffmpeg/libavformat/rmdec.c (Stripping trailing CRs from patch.) can't find file to patch at input line 1906 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: libavformat/utils.c |=================================================================== |--- libavformat/utils.c (revision 24573) |+++ libavformat/utils.c (working copy) -------------------------- File to patch: /Developer/ffmpeg/libavformat/utils.c patching file /Developer/ffmpeg/libavformat/utils.c This is the Error I can't get past Code:
CC libavcore/utils.o LD libavcore/libavcore.0.dylib ld: warning: -read_only_relocs cannot be used with x86_64 LD libavcodec/libavcodec.52.dylib ld: warning: -read_only_relocs cannot be used with x86_64 Undefined symbols: "_r10k_decoder", referenced from: _avcodec_register_all in allcodecs.o "_h264_changesps_bsf", referenced from: _avcodec_register_all in allcodecs.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libavcodec/libavcodec.52.dylib] Error 1
__________________
Check Out All My Tutorials Code:
http://instantitunes.wordpress.com/ Last edited by 0028606; 10th August 2010 at 14:32. |
10th August 2010, 14:36 | #45 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
No, you don't need to strip any levels from the paths (-p0)
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
10th August 2010, 14:46 | #47 | Link | ||
Registered User
Join Date: Jan 2009
Posts: 28
|
Quote:
Quote:
No idea why.... EDIT..... I see it on the SVN now thank you
__________________
Check Out All My Tutorials Code:
http://instantitunes.wordpress.com/ Last edited by 0028606; 10th August 2010 at 14:58. |
||
10th August 2010, 19:24 | #48 | Link |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
@roozhou thanks a lot...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
15th August 2010, 23:03 | #49 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
Hey all, I wanted to use this tool today so I decided to build it. It wouldn't apply on top of my other patches, and it wouldn't build on a clean source. So I decided to cut out the functional bits. You can get them here: http://users.telenet.be/darnley/ffmpeg/
These are from git format-patch and the ones from this thread start at 3. Not all the code is there yet
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. Last edited by J_Darnley; 16th August 2010 at 00:07. |
16th August 2010, 08:07 | #50 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
@J_Darnley
The first version of ffmpeg_svn_r24750.patch contains debug code in h264_changesps_bsf.c. It will dump extra data to files before and after modification. Please check out the latest version from svn or just remove two fopen-fwrite-fclose sections in h264_changesps_filter function. |
14th September 2010, 18:25 | #51 | Link |
Registered User
Join Date: Apr 2002
Posts: 756
|
I just refer to my post here http://forum.doom9.org/showthread.ph...94#post1442894
I know it may not be your tools problem. ( More likely itunes problem ), but any guess as to why only one of the file could be transferred to iPhone while others can not. It is very frustrating. P.S - You ffmpeg build is simply AWESOME!!! |
14th September 2010, 18:56 | #52 | Link |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
run this line on the source file that after conversion don't work on iPhone:
Code:
ffmpeg -i my_file.mkv _
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
14th September 2010, 19:35 | #53 | Link | |
Registered User
Join Date: Apr 2002
Posts: 756
|
Well i manage to use MKVmerge to extract the Raw Stream and Audio, and then use MP4box to mux it back.
And it works perfectly fine using this method, with all my files. So here is the log Quote:
|
|
14th September 2010, 20:05 | #54 | Link |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
this will do the job:
Code:
ffmpeg -y -i Ch33.mkv -vbsf h264_changesps=fps=25000:1000 -vcodec copy -acodec copy -sn Ch33.mp4
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
8th October 2010, 21:13 | #56 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
Yes, if you apply the patches (my patches at least) then compile as normal you can use any features of ffmpeg that would normally be present.
__________________
x264 log explained || x264 deblocking how-to preset -> tune -> user set options -> fast first pass -> profile -> level Doom10 - Of course it's better, it's one more. |
19th December 2010, 14:06 | #57 | Link |
Registered User
Join Date: Jan 2009
Posts: 28
|
can some please provide some advice i'm trying to build this on mac os x 10.6 with ffmpeg 0.6 source
I applied j_darnley patch I keep getting this error - Code:
CC libavcodec/h261.o CC libavcodec/h261_parser.o CC libavcodec/h261dec.o CC libavcodec/h261enc.o CC libavcodec/h263.o CC libavcodec/h263_parser.o CC libavcodec/h263dec.o CC libavcodec/h264.o libavcodec/h264.c: In function ‘fill_filter_caches’: libavcodec/h264.c:2309: warning: initialization from incompatible pointer type libavcodec/h264.c:2386: warning: initialization from incompatible pointer type libavcodec/h264.c:2401: warning: initialization from incompatible pointer type libavcodec/h264.c: At top level: libavcodec/h264.h:1256: warning: ‘decode_mb_skip’ defined but not used CC libavcodec/h264_cabac.o CC libavcodec/h264_cavlc.o libavcodec/h264_cavlc.c: In function ‘decode_residual’: libavcodec/h264_cavlc.c:411: warning: suggest parentheses around comparison in operand of & make: *** No rule to make target `libavcodec/h264_changesps_bsf.o', needed by `libavcodec/libavcodec.a'. Stop.
__________________
Check Out All My Tutorials Code:
http://instantitunes.wordpress.com/ |
|
|