[FFmpeg-user] coder for rawvideo

theairkit theairkit at gmail.com
Wed May 8 07:33:32 CEST 2013


Hi.
Is there a way to encode raw video (audio+video) and code back  
(audio+video) to raw?

I trying:

cat ./rawvideo | ffmpeg -re -i -acodec copy -vcodec copy -f rawvideo -y  
./outfile

But see, that only video copying:

Input #0, nut, from 'pipe:':
   Metadata:
     encoder         : Lavf54.63.104
   Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
     Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080,  
29.97 tbr, 60k tbn, 60k tbc
     Stream #0:1: Audio: pcm_s16le (PSD[16] / 0x10445350), 48000 Hz,  
stereo, s16, 1536 kb/s
Output #0, rawvideo, to './outfile2':
   Metadata:
     encoder         : Lavf54.63.104
     Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080,  
q=2-31, 90k tbn, 60k tbc
Stream mapping:
   Stream #0:0 -> #0:0 (copy)

Thanks in advance.

-- 
theairkit.


More information about the ffmpeg-user mailing list