[FFmpeg-user] (no subject)
wu haa
wuhaa at mail.com
Wed Feb 15 23:22:35 CET 2012
Hi,
I have the following program comming from UDP:
Program 167
Metadata:
service_name : CNC World English
service_provider:
Stream #0:5[0x10f5]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 15000 kb/s, 33.65 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:6[0x10f6]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 128 kb/s
How can i use this information to capture and encode this into mpegts (or .ts)
I have tried the following without any luck:
ffmpeg -y -i udp://@:5001 -map p:"167" -acodec libmp3lame -ar 48000 -ab 128k -vcodec libx264 -f mpegts -vb 15000k -s 704x480 -aspect 16:9 -r 34.79 myfile.ts
Thsi results in an error:
[libx264 @ 0xd1e460] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
[libx264 @ 0xd1e460] profile High, level 4.1
[mpegts @ 0xb48b40] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/var/www/varinder.ts':
Metadata:
encoder : Lavf54.0.100
Stream #0:0: Video: h264, yuv420p, 704x480, q=-1--1, 15000 kb/s, 90k tbn, 34.79 tbc
Stream #0:1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0:5 -> #0:0 (mpeg2video -> libx264)
Stream #0:6 -> #0:1 (mp2 -> libmp3lame)
Press [q] to stop, [?] for help
*[udp @ 0xa358e0] circular_buffer: OVERRUN*
Someone please assist... How can i take the information provided by the program
Stream #0:5[0x10f5]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 15000 kb/s, 33.65 fps, 29.97 tbr, 90k tbn, 59.94 tbc
and transloate it into proper options to capture it.
Thank you,
Wu
More information about the ffmpeg-user
mailing list