Cannot view video with VLC

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

Cannot view video with VLC

Mazahir Poonawalla
Hi,

I am using RTSP to stream a video from leopardboard. The streaming works fine on client. I am capturing the stream on localhost and then recording the incoming video to a mp4/avi file. It records well and can be played in linux movie player but it cannot be played in vlc nor I get any video properties. 

My recording plugin is as follows:
gst-launch -v -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! filesink location=test1.avi

Any help as to what is going wrong. Also just for reference I am using dmaienc_h264 to encode the video. 

Thanks,
Maz

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

Re: Cannot view video with VLC

Mazahir Poonawalla
Hi,

Any help on this one?

Cheers,
Maz

On 19 October 2012 15:34, Mazahir Poonawalla <[hidden email]> wrote:
Hi,

I am using RTSP to stream a video from leopardboard. The streaming works fine on client. I am capturing the stream on localhost and then recording the incoming video to a mp4/avi file. It records well and can be played in linux movie player but it cannot be played in vlc nor I get any video properties. 

My recording plugin is as follows:
gst-launch -v -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! filesink location=test1.avi

Any help as to what is going wrong. Also just for reference I am using dmaienc_h264 to encode the video. 

Thanks,
Maz






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

Re: Cannot view video with VLC

Carlos Rafael Giani
On 2012-10-22 08:30, Mazahir Poonawalla wrote:
Hi,

Any help on this one?

Cheers,
Maz

On 19 October 2012 15:34, Mazahir Poonawalla <[hidden email]> wrote:
Hi,

I am using RTSP to stream a video from leopardboard. The streaming works fine on client. I am capturing the stream on localhost and then recording the incoming video to a mp4/avi file. It records well and can be played in linux movie player but it cannot be played in vlc nor I get any video properties. 

My recording plugin is as follows:
gst-launch -v -e rtspsrc location=<a class="moz-txt-link-freetext" href="rtsp://localhost:8554/test">rtsp://localhost:8554/test ! rtph264depay ! filesink location=test1.avi

Any help as to what is going wrong. Also just for reference I am using dmaienc_h264 to encode the video. 

Thanks,
Maz







_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
You don't mux this in any container. It seems that the result is a raw h264 bitstream. Perhaps use this instead:

gst-launch -v -e rtspsrc location=<a class="moz-txt-link-freetext" href="rtsp://localhost:8554/test">rtsp://localhost:8554/test ! rtph264depay ! matroskamux ! filesink location=test1.mkv

Also note that AVI is not suitable for h264 data. Use MKV (as shown above) or MP4 instead.

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

Re: Cannot view video with VLC

Mazahir Poonawalla
Hi,

Thanks for the help, but it is not working. I tried this before too. Whenever I mux it, it gives an "internal data flow error"

Any other way.

Thanks,
Maz

On 22 October 2012 12:06, dv <[hidden email]> wrote:
On 2012-10-22 08:30, Mazahir Poonawalla wrote:
Hi,

Any help on this one?

Cheers,
Maz

On 19 October 2012 15:34, Mazahir Poonawalla <[hidden email]> wrote:
Hi,

I am using RTSP to stream a video from leopardboard. The streaming works fine on client. I am capturing the stream on localhost and then recording the incoming video to a mp4/avi file. It records well and can be played in linux movie player but it cannot be played in vlc nor I get any video properties. 

My recording plugin is as follows:
gst-launch -v -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! filesink location=test1.avi

Any help as to what is going wrong. Also just for reference I am using dmaienc_h264 to encode the video. 

Thanks,
Maz







_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
You don't mux this in any container. It seems that the result is a raw h264 bitstream. Perhaps use this instead:

gst-launch -v -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! matroskamux ! filesink location=test1.mkv

Also note that AVI is not suitable for h264 data. Use MKV (as shown above) or MP4 instead.

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Cannot view video with VLC

Mailing List SVR
Hi,

try to set byte-stream to false for rtph264depay,

Nicola

Il 22/10/2012 09:56, Mazahir Poonawalla ha scritto:
Hi,

Thanks for the help, but it is not working. I tried this before too. Whenever I mux it, it gives an "internal data flow error"

Any other way.

Thanks,
Maz

On 22 October 2012 12:06, dv <[hidden email]> wrote:
On 2012-10-22 08:30, Mazahir Poonawalla wrote:
Hi,

Any help on this one?

Cheers,
Maz

On 19 October 2012 15:34, Mazahir Poonawalla <[hidden email]> wrote:
Hi,

I am using RTSP to stream a video from leopardboard. The streaming works fine on client. I am capturing the stream on localhost and then recording the incoming video to a mp4/avi file. It records well and can be played in linux movie player but it cannot be played in vlc nor I get any video properties. 

My recording plugin is as follows:
gst-launch -v -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! filesink location=test1.avi

Any help as to what is going wrong. Also just for reference I am using dmaienc_h264 to encode the video. 

Thanks,
Maz







_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
You don't mux this in any container. It seems that the result is a raw h264 bitstream. Perhaps use this instead:

gst-launch -v -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! matroskamux ! filesink location=test1.mkv

Also note that AVI is not suitable for h264 data. Use MKV (as shown above) or MP4 instead.

_______________________________________________
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


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

Re: Cannot view video with VLC

Robert Krakora
In reply to this post by Mazahir Poonawalla
Hi Maz,
 
I don't know how your H.264 is set, but this works for me:
 
gst-launch -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! qtmux ! filesink location=test.avi
 
...this may also work:
 
gst-launch -e rtspsrc location=rtsp://localhost:8554/test ! rtph264depay ! h264parse ! qtmux ! filesink location=test.avi
 
Best Regards,
 
Rob Krakora

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