Nayan Kapadia
Forum Replies Created
-
Hi Rampe,
I have modified my command arguments and used presets files as per your suggestion. I have used below command:
ffmpeg.exe -y -i -f mpegts -an -vcodec libx264 -r 30 -an -b 100k -s 320×240 -bt 100k -qmax 51 -crf 22 -vpre “C:\ffmpeg\ffpreset\libx264-lossless_ultrafast.ffpreset” op.ts
But in this case also,transcoding stops after some time.Do you have any further suggestion? Please advice.
Thanks
NBK -
Thanks for your reply.
I am using below command:ffmpeg.exe -i rtsp://192.168.0.17/main.mp4 -f mpegts -vcodec libx264 -r 30 -an -b 100k -s 320×240 -keyint_min 10
-i_qfactor 0.71 -bt 10k -maxrate 100k -bufsize 1435k -qcomp 0.6 -qmin 10 -qmax 30 -qdiff 4 -re -shortest -me_method zero -sameq -pass 1 -isync -b_strategy 0 -flags2 fast -dct fastint -g 15 oo.tsoutput on command line after stream stops:
frame=222902 fps= 6 q=30.0 size= 241576kB time=7428.70 bitrate= 266.4kbits/s d
frame=222902 fps= 6 q=30.0 size= 241576kB time=7428.70 bitrate= 266.4kbits/s d
frame=222902 fps= 6 q=30.0 size= 241576kB time=7428.70 bitrate= 266.4kbits/s d
frame=222902 fps= 6 q=30.0 size= 241576kB time=7428.70 bitrate= 266.4kbits/s
dup=163163 drop=525170Here, duplicate frame nos are stopped while drop frames are increasing continously. And I am not receiving any error while it stops.
Stop Time is not fixed , it varies. I have played Live stream from camera in vlc but in that also stream stops after irregular time.
Waiting for your reply.
THANKS,
NBK -
Nayan Kapadia
June 22, 2010 at 11:00 am in reply to: Can ffmpeg copy frames into different container?Hi,
I am accessing H.264 stream using ffmpeg on windows.I want to use -vcodec copy and -f mpegts and save output in a file.This is my requirement.For example:
ffmpeg.exe -i rtsp://wisedvin:wisenec2468@192.168.0.102:7070 -v
codec copy -vbsf h264_mp4toannexb -f mpegts -b 30k -s 320×240 -bt 10k -maxrate 100k oo.tsWhen I start this command it give me below message on commandline.
Press [q] to stop encoding
[mpegts @ 01de0050]h264 bitstream malformated, no startcode found, use -vbsf h264_mp4toannexb
av_interleaved_write_frame(): Operation not permittedPlease giude me.
Thanks,
NBK -
Thanks for your reply and support.I am working on windows and also i need h.264 output format and .ts file container. So i am confused how to make this work for windows.If you have any idea for this?
Thanks
NBK -
Thank you very much. I will try this. Do you have any luck in this matter?
Thank you,
Nayan Kapadia -
Thanks fro your reply.
NBK
-
I want to update and overwrite image from live stream continously and want to display in server.
Thanks,
NBK -
Thanks for your reply. I can generate image only once not able to update image.
Thank you,
NBK -
Thank you for your reply. I want to do MP4 to H.264 conversion using C program in ffmpeg. Do you have any idea/sample code for that?
Thank you,
Nayan Kapadia