[FFmpeg-user] C920 h264 ffmpeg empty output file

remicek remicek at gmail.com
Tue May 7 14:41:26 CEST 2013


Hi!
I am trying to set up rtp stream from my camera C920 with ardware-based
coder to h264. 
The frist step was to save encoded h264 directly from camera:
setting camera for right format:
v4l2-ctl -d /dev/video1 --set-fmt-video=width=800,height=448,pixelformat=1 
v4l2-ctl -d /dev/video1 --set-parm=30

launching ffmpeg
./ffmpeg -f v4l2 -input_format h264 -i /dev/video1 -c:v copy output.mkv

Log <http://pastebin.com/VnRRxLfu>  

Output file contains no frames (its empty)
frame=    0 fps=0.0 q=-1.0 Lsize=       1kB time=00:00:00.00 bitrate=N/A    
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/C920-h264-ffmpeg-empty-output-file-tp4658914.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list