problem about setting queue2 every property

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem about setting queue2 every property

Martin.cheng
Hi everyone:
I need some help to improve my project
I used to type "gst-launch -v filesrc location = 'xxxx.mp4' ! typefind ! qtdemux name=demux demux. ! queue2 ! ffdec_h264 ! xvimagesink demux. ! queue2 ! ffdec_aac ! autoaudiosink" to play a mp4 file, which composed by h-264 and AAC. it worked fine
But in my coding, it will freeze at the first frame, I have tried to set property of queue2 "max-size-time", some of mp4 sources will get better.
I also used "current-size-time" to get some info about the queue2, but I don't know the relationship between them
anybody who can give some hints about them?
Or I have on idea about my coding, Why it will not work but I will work in command line ?
The structure of pipeline are totally same

Martin

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problem about setting queue2 every property

pranshu24
Hi Martin,
I ve been trying to use this ffdec_h264 via d same pipeline to play .mp4 but failed to do so as I always got the error saying :
"ffdec_h264 missing"
Could u please tell how did you get this decoder working.

I am using Angstrom on Beagleboard.And all I do is I create a cs.x64p with the help of DVSDK.I get to see(while building that file through the command line) that all the decoders are being included but I can't read cs.x64p file to cross check if it's true !

i can very well play MPEG1 and 2 content but fail when it comes to MPEG-14 or h264 formats.
Where exactly do u place this cs.x64p file?(considering you might be following the same procedure-->i want the path----I use: /usr/share/ti/ti-codecs-server/cs.x64p-->is this correct ? )

I ll be really grateful if you could you please guide me through this.

Regards,
Pranshu



On Mon, Sep 12, 2011 at 11:20 AM, Mo Cheng <[hidden email]> wrote:
Hi everyone:
I need some help to improve my project
I used to type "gst-launch -v filesrc location = 'xxxx.mp4' ! typefind ! qtdemux name=demux demux. ! queue2 ! ffdec_h264 ! xvimagesink demux. ! queue2 ! ffdec_aac ! autoaudiosink" to play a mp4 file, which composed by h-264 and AAC. it worked fine
But in my coding, it will freeze at the first frame, I have tried to set property of queue2 "max-size-time", some of mp4 sources will get better.
I also used "current-size-time" to get some info about the queue2, but I don't know the relationship between them
anybody who can give some hints about them?
Or I have on idea about my coding, Why it will not work but I will work in command line ?
The structure of pipeline are totally same

Martin

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Pranshu Nahar
B.E(Hons)EEE,Msc(Hons)MathematicsĀ 
Bits-Pilani


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problem about setting queue2 every property

Martin.cheng
Firstly , you should check if you have ffdec_h264 in your device by "gst-inspect ffdec_h264".
According to your saying, you must have missed it, ffdec_h264 is included ffmpeg package, you must setup this package first, then, it will work.
I hope it will be helpful
And I supposed there was nothing with path. but I have totally no idea about cs.x64p file.
In my point, even you got all decoders, but the demuxers are also import for the media file, did you get correct demuxer ?


On Mon, Sep 12, 2011 at 2:38 PM, Pranshu Nahar <[hidden email]> wrote:
Hi Martin,
I ve been trying to use this ffdec_h264 via d same pipeline to play .mp4 but failed to do so as I always got the error saying :
"ffdec_h264 missing"
Could u please tell how did you get this decoder working.

I am using Angstrom on Beagleboard.And all I do is I create a cs.x64p with the help of DVSDK.I get to see(while building that file through the command line) that all the decoders are being included but I can't read cs.x64p file to cross check if it's true !

i can very well play MPEG1 and 2 content but fail when it comes to MPEG-14 or h264 formats.
Where exactly do u place this cs.x64p file?(considering you might be following the same procedure-->i want the path----I use: /usr/share/ti/ti-codecs-server/cs.x64p-->is this correct ? )

I ll be really grateful if you could you please guide me through this.

Regards,
Pranshu



On Mon, Sep 12, 2011 at 11:20 AM, Mo Cheng <[hidden email]> wrote:
Hi everyone:
I need some help to improve my project
I used to type "gst-launch -v filesrc location = 'xxxx.mp4' ! typefind ! qtdemux name=demux demux. ! queue2 ! ffdec_h264 ! xvimagesink demux. ! queue2 ! ffdec_aac ! autoaudiosink" to play a mp4 file, which composed by h-264 and AAC. it worked fine
But in my coding, it will freeze at the first frame, I have tried to set property of queue2 "max-size-time", some of mp4 sources will get better.
I also used "current-size-time" to get some info about the queue2, but I don't know the relationship between them
anybody who can give some hints about them?
Or I have on idea about my coding, Why it will not work but I will work in command line ?
The structure of pipeline are totally same

Martin

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Pranshu Nahar
B.E(Hons)EEE,Msc(Hons)MathematicsĀ 
Bits-Pilani


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel