[FFmpeg-user] C920 h264 ffmpeg empty output file

remicek remicek at gmail.com
Tue May 7 16:34:16 CEST 2013


Well i guess it works, some frames are lost but it works.

*log1*
arkwaw at ubuntu:~/obraz/ffmpeg$ ./ffmpeg -f v4l2 -input_format h264 -i
/dev/video1 -vcodec mjpeg a.mkv
ffmpeg version N-52847-g9276467 Copyright (c) 2000-2013 the FFmpeg
developers
  built on May  7 2013 13:28:41 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: 
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
Input #0, video4linux2,v4l2, from '/dev/video1':
  Duration: N/A, start: 709.435112, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuvj420p, 800x448 [SAR
1:1 DAR 25:14], -5 kb/s, 30 fps, 30 tbr, 1000k tbn, 60 tbc
Output #0, matroska, to 'a.mkv':
  Metadata:
    encoder         : Lavf55.4.101
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p, 800x448 [SAR
1:1 DAR 25:14], q=2-31, 200 kb/s, 1k tbn, 30 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame=    6 fps=0.0 q=0.0 size=     153kB time=00:00:00.33
bitrate=3756.9kbits/sframe=   13 fps= 13 q=0.0 size=     429kB
time=00:00:00.73 bitrate=4790.4kbits/sframe=   20 fps= 13 q=0.0 size=    
788kB time=00:00:01.40 bitrate=4608.5kbits/sframe=   28 fps= 14 q=0.0 size=   
1228kB time=00:00:01.86 bitrate=5392.1kbits/sframe=   35 fps= 14 q=0.0 size=   
1523kB time=00:00:02.26 bitrate=5505.7kbits/sframe=   43 fps= 14 q=0.0 size=   
1778kB time=00:00:02.76 bitrate=5265.4kbits/sframe=   51 fps= 14 q=0.0 size=   
1985kB time=00:00:03.56 bitrate=4559.7kbits/sframe=   58 fps= 14 q=0.0 size=   
2137kB time=00:00:03.90 bitrate=4487.9kbits/sframe=   66 fps= 15 q=0.0 size=   
2281kB time=00:00:04.36 bitrate=4279.0kbits/sframe=   73 fps= 14 q=0.0 size=   
2396kB time=00:00:04.80 bitrate=4088.6kbits/sframe=   81 fps= 15 q=0.0 size=   
2515kB time=00:00:05.26 bitrate=3911.2kbits/sframe=   88 fps= 15 q=0.0 size=   
2612kB time=00:00:05.93 bitrate=3607.0kbits/sframe=   96 fps= 15 q=0.0 size=   
2718kB time=00:00:06.40 bitrate=3478.3kbits/sframe=  104 fps= 15 q=0.0 size=   
2823kB time=00:00:06.86 bitrate=3367.9kbits/sframe=  111 fps= 15 q=0.0 size=   
2914kB time=00:00:07.30 bitrate=3269.8kbits/sframe=  113 fps= 15 q=0.0
Lsize=    2955kB time=00:00:07.46 bitrate=3241.9kbits/s dup=0 drop=2    
video:2950kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.165280%
*
Log 2*
arkwaw at ubuntu:~/obraz/ffmpeg$ ffplay a.mkv




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


More information about the ffmpeg-user mailing list