Closed upperdecker954 closed 6 years ago
I should probably also add, that I tried to ignore the warnings...but it actually did less than poncho's release:
./untrunc -i good.MP4 bad.mp4
Info: reading good.MP4
Info: parsing healthy moov atom ...
Info: avcC got decoded
No codec found!
Hi, compile with this: g++ -o untrunc -O3 *.cpp -lavformat -lavcodec -lavutil
. No internal libav source is needed. If you upload an example I will take a look. These warnings shouldn't be much of a problem.
closing this because of inactivity.
Hey, I've been working at this for days upon days now trying to get my GoPro footage to come back to life. I've started with ponchio's release, but it was creating a 3kb file and giving me an error: [aac @ 0x7f89b0000a00] channel element 2.3 is not allocated
I stumbled across your fork, as you have the most recently updated version. unfortunately, I'm getting tons of warnings: expression result unused [-Wunused-value]
Theses warnings are showing for common.h.
an example error is:
Also, I had to tweak the command line when I compile everything:
g++ -o untrunc -O3 -I./libav-12.3 *.cpp -L./libav-12.3/libavformat -lavformat -L./libav-12.3/libavcodec -lavcodec -L./libav-12.3/libavresample -lavresample -L./libav-12.3/libavutil -lavutil -lpthread -lz -framework CoreFoundation -framework CoreVideo -framework VideoDecodeAcceleration -std=c++11 -lbz2
any help would be great