Re: [Libav-user] global headers problem when encoding/decoding h264

2012-04-19 Thread Andrey Utkin
2012/4/19 Matthias Bühlmann gene...@gmx.ch:
 I'm developing in MSVC++ and use precompiled libraries and thus would like to 
 avoid having to alter the FFMPEG code. Is there any other way how I can 
 either get the global headers into my decoder, so that it can decode the 
 packets on the fly without the need of headers in every packet, or to tell 
 the encoder to add the headers to each frame AND to use global headers?

Hard to say without your code. How do you init the decoding contexts?
BTW, consider publishing here simplified working source code of your
app, especially good if it compiles with gcc and run on linux, coz
majority of developers here use it.

If i had to do such a thing, i'd go with somewhat overheady, but
surely working way:
Initiate _two_ output stream contexts, one for desired output
destination, and second for testing. Also open one input stream
context, for reading the test output. Let test stream be bound to
localhost tcp socket, for example.
When you have the AVPacket, go muxing it into both outputs.
Then, read the test stream, and display the resulting picture after decode.

-- 
Andrey Utkin
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] DVD playback (VOBs)

2012-04-19 Thread Carl Eugen Hoyos
Gonzalo Garramuno ggarra13@... writes:

 Input #0, mpeg, from 
 '/media/CLASH_OF_THE_TITANS_2010/VIDEO_TS/VTS_01_3.VOB':
Duration: 00:06:19.52, start: 2738.283878, bitrate: 6389 kb/s
  Stream #0:0[0x1e0], 29, 1/9: Audio: mp1, 0 channels, s16

If this is an unencrypted file, please provide a sample.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] DVD playback (VOBs)

2012-04-19 Thread Carl Eugen Hoyos
Gonzalo Garramuno ggarra13@... writes:

 On 19/04/12 11:01, Carl Eugen Hoyos wrote:
  If this is an unencrypted file, please provide a sample.
 
  Carl Eugen
 
 How can I tell if it is unencrypted and unencrypt it?

Is audio decoding possible?

If the DVD is encrypted, FFmpeg is not the right tool 
(currently, a patch is being reviewed), mplayer -dumpstream 
outputs the unencrypted DVD.

Carl Eugen

___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


[Libav-user] Getting No frame: error

2012-04-19 Thread Krishna
Hello!

 I have linked ffmpeg  live555 library to my IOS application.
 I am receiving the h264 encoded frame and sending the frame to dcoder.
 But Decoder throws the error:

 [h264 @ 0x8a4ac00] no frame!

 What may be the issue?

Regards,
KP___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting No frame: error

2012-04-19 Thread Andrey Utkin
2012/4/20 Krishna krishn...@iwavesystems.com:
 Hello!

  I have linked ffmpeg  live555 library to my IOS application.
  I am receiving the h264 encoded frame and sending the frame to dcoder.
  But Decoder throws the error:

  [h264 @ 0x8a4ac00] no frame!

Check your input video with ffmpeg util on PC, and also with other players.

-- 
Andrey Utkin
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


[Libav-user] avcodec_encode_video returns 0 or -ve value

2012-04-19 Thread Manya Chauhan
Hello Everyone, 

I  want to encode series of uiimages which are being captured live by the 
camera.
While encoding the images avcodec_encode_video is returning 0 or -ve value. I 
am not getting what is the problem. I might be missing setting some parameters 
of avcodec context or avframe.

I want to know which parameters should we set before using avcodec_encode_video.

Please help me..Any help is appreciated. ___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] Getting No frame: error

2012-04-19 Thread Krishna

Hi

VLC player able to play the input video. I will check with ffmpeg util on 
PC.


- Original Message - 
From: Andrey Utkin andrey.krieger.ut...@gmail.com
To: This list is about using libavcodec, libavformat, libavutil,libavdevice 
and libavfilter. libav-user@ffmpeg.org

Sent: Thursday, April 19, 2012 12:05 PM
Subject: Re: [Libav-user] Getting No frame: error


2012/4/20 Krishna krishn...@iwavesystems.com:

Hello!

I have linked ffmpeg  live555 library to my IOS application.
I am receiving the h264 encoded frame and sending the frame to dcoder.
But Decoder throws the error:

[h264 @ 0x8a4ac00] no frame!


Check your input video with ffmpeg util on PC, and also with other players.

--
Andrey Utkin
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user 


___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user