Category Archives: FFMpeg

Avconv install

Posted in Libav | Leave a comment

FFmpeg:Format Segment 第1段影片之後的Start time錯誤

在 -f segment -segment_time 60 後加上 -reset_timestamps 1 reset_timestamps 參數預設為 0,start 採用原本 streaming 的時間 設為 1,start 從 0 開始

Posted in FFMpeg | Leave a comment

FFMPEG:segment fromat add timestamp into filename option

原本只能輸出成 %4d.mp4 ==> 0000.mp4, 0001.mp4 要改成可以像行車紀錄器般的檔案格式 201405020248.mp4 增加 %t 的參數 ffmpeg -i input -f segment -segment_time 60 -reset_timestamps 1 %t.mp4 這邊將 %t.mp4 定義成 Webcam年日月/E年日月時分秒.mp4 strftime(buf1, sizeof(buf1), “WebCam%Y%m%d/E%Y%m%d%H%M%S”, localtime(&tv.tv_sec)); 修改方式如下: 修改 ffmpeg source / libavformat / utils.c 檔案 增加引用 #include <sys/time.h> … Continue reading

Posted in FFMpeg | Leave a comment

FFmpeg:Install in the Ubuntu 12.04

Posted in FFMpeg, Ubuntu | Leave a comment

當執行ffmpeg時出現”[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8b79440]moov atom not found”錯誤

出現這錯誤代表著ffmpeg對來源影像的解析錯誤 可能是影片內容有問題或是當初轉檔時沒轉完等

Posted in FFMpeg | Leave a comment