[FFmpeg-trac] #2882(undetermined:open): ffmpeg can't save h264 stream from webcam into file without recoding
FFmpeg
trac at avcodec.org
Wed Aug 21 12:58:14 CEST 2013
#2882: ffmpeg can't save h264 stream from webcam into file without recoding
-------------------------------------+-------------------------------------
Reporter: pchel | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: v4l2 h264 | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by xlinkz0):
Does the webcam specification say that it can stream yuvj420p ?
As far as I understand you are setting the option on the input. I do not
think you can just request a different stream like that from a device.
You modified the simple command I gave you, does the simple command work?
Are you only dissatisfied that it is not the proper format? If so you
might want to reconsider transcoding it on the fly with a fast x264 preset
that will work in real time for most mid-range processors.
Unless you can prove that you can receive in any other way a yuvj420p
directly from the webcam without any software transcoding try :
{{{
ffmpeg -y -i /dev/video0 -f v4l2 -c:v libx264 -preset superfast out.mkv
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2882#comment:10>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list