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 t

[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, q=2

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

2012-05-29 Thread Carl Eugen Hoyos
Thomas H 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 mean "

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

2012-05-29 Thread Thomas H
Hello Carl. Not sure. Tried everything in the Docs and FAQ. I searched everywhere and found it on a forum. When I run: ffmpeg -i MyKitty.mp4 -vf scale=1280:720 -idct h264 -sameq -target ntsc-dvd MyKitty.mpg The ouput file reports 1280x720 however compared to the original viewed with VLC, the mpg f

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

2012-05-29 Thread Michael Bradshaw
On Tue, May 29, 2012 at 3:04 PM, Thomas H wrote: > Hello Carl. > > Not sure. > Tried everything in the Docs and FAQ. > I searched everywhere and found it on a forum. > When I run: > ffmpeg -i MyKitty.mp4 -vf scale=1280:720 -idct h264 -sameq -target > ntsc-dvd MyKitty.mpg I'm curious about this. N

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

2012-05-29 Thread Thomas H
Hello Michael Thanks for the link. I have a DVD Burner program that only accepts avi, dvr_ms, mpg, mpeg, mpv, wmv, or asf files. I am trying to convert mp4 files to one of those. While I can convert to mpg, the mpg file is pixelated, less quality than the original when I compare them using VLC Me

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