Hello,
I'm working for a chip but efficient solution. I have a farm of WindowsMedia Encoders, i would like to get the WMV/WMA stream, transcode and resize it to a H264/MP3 320x240 in a TS container. This to provide this stream, to the iphone.
So i launch this command:
vlc --sout-x264-bpyramid -I dummy -v mmsh://10.196.130.162:8989 --sout='#transcode{vcodec=h264,venc=x264{aud,no-cabac,level=3,subme=5,trellis=1,merange=16,min-keyint=25,scenecut=40,ipratio=0.71,ratetol=20k,vbv-maxrate=512k,vbv-bufsize=96k,qcomp=0.6,qpmin=10,qpmax=51,qpstep=4,keyint=30,ref=1,deblock=0:0},vb=712,scale=1,acodec=mp3,ab=56,samplerate=48000,channels=1,width=320,height=240,fps=25}:duplicate{dst=std{access=http,mux=ts,dst=:5555}}'
The transcoding are done, when i launch VLC on the 5555 tcp port, i can watch my new video format.
So next, I save this stream, to a .ts file, and launch a segmenter (http://svn.assembla.com/svn/legend/segm ... egmenter.c), on this file. and the x264 lib from the segmenter print this warning messages:
[h264 @ 0x1775360]error, non monotone timestamps 7433737149 >= 7433737149
Warning: Could not write frame of stream
[h264 @ 0x1775360]error, non monotone timestamps 7433744349 >= 7433744349
Warning: Could not write frame of stream
[h264 @ 0x1775360]error, non monotone timestamps 7433758749 >= 7433758749
Warning: Could not write frame of stream
[h264 @ 0x1775360]error, non monotone timestamps 7433765949 >= 7433765949
Warning: Could not write frame of stream
[NULL @ 0x174da40]brainfart cropping not supported, this could look slightly wrong ...
[h264 @ 0x1775360]error, non monotone timestamps 7433798349 >= 7433798349
Warning: Could not write frame of stream
[h264 @ 0x1775360]error, non monotone timestamps 7433805549 >= 7433805549
Warning: Could not write frame of stream
[h264 @ 0x1775360]error, non monotone timestamps 7433812749 >= 7433812749
Warning: Could not write frame of stream
And it give me .ts files, but when i copy it to my http server, the iphone download one, and print a message: "This movie could not be played."
Does someone have make a good transcoding for Iphone with vlc? Can he provide me this options, especially for the X264.
I have not found solution to select the "baseline" profile.
If you need others informations tell me.
Thanks for your help, i'm sure i'm close to the solution.