Re: [Libav-user] Getting SPS and PPS-information from x264 encoding

2012-05-29 Thread Christian Brümmer
Am 28.05.2012 19:21, schrieb Christian Brümmer: Hi, i encode video frames using a default codec configuration via avcodec_get_context_defaults3(). That video frames are further used for rtsp streaming based on live555. For compatibility i need the SPS and PPS-informations for the rtsp server

Re: [Libav-user] Getting SPS and PPS-information from x264 encoding

2012-05-29 Thread Christian Brümmer
Am 29.05.2012 14:00, schrieb Christian Brümmer: Am 28.05.2012 19:21, schrieb Christian Brümmer: Hi, i encode video frames using a default codec configuration via avcodec_get_context_defaults3(). That video frames are further used for rtsp streaming based on live555. For compatibility i need

[Libav-user] Convert MP4 1280x720 to MPG 1280x720

2012-05-29 Thread Thomas H
ffmpeg -i MyKitty.mp4 -vf scale=1280:720 -idct h264 -sameq -target ntsc-dvd MyKitty.mpg Input file: Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 944 kb/s, 30 fps, 30 tbr, 60 tbn, 60 tbc Output file: Stream #0:0(und): Video: mpeg2video, yuv420p, 1280x720,

Re: [Libav-user] Convert MP4 1280x720 to MPG 1280x720

2012-05-29 Thread Carl Eugen Hoyos
Thomas H thom1948@... writes: ffmpeg -i MyKitty.mp4 -vf scale=1280:720 -idct h264 -sameq -target ntsc-dvd MyKitty.mpg (Complete, uncut console output missing.) Are you sure you want to produce a HD DVD? Please explain what -idct h264 does, I am curious. And please note that -sameq does not

Re: [Libav-user] Getting SPS and PPS-information from x264 encoding

2012-05-29 Thread Kalileo
On May 29, 2012, at 20:26 , Christian Brümmer wrote: Cant be that hard - or? Okay now im pretty sure it is: I read AVCodecContex.extradata contains the informations i need. For decoding i used that code - http://cgit.lscube.org/cgit.cgi/feng/tree/src/media/parser/h264.c#n218 - in a