[gst-devel] Converting mpg file to ts file - no sound

pcd7 pcd7 at btinternet.com
Tue May 26 00:06:36 CEST 2009


Many thanks. I also had it working with this pipeline :-

gst-launch-0.10 -v filesrc\     
>  location=/media/hdd/movie/DeanaC1.mpg !\      
>  mpegpsdemux name=demux\                         
>  demux.video_00 ! queue !\                     
>  mpegtsmux name=mux !\                        
>  filesink location=\                           
>  /media/hdd/movie/Test.ts\                     
>  demux.audio_00 ! queue ! mux.   

Now my next question :- I want to use the filesink as a buffer so that I can
play Test.ts on a set top box which plays only .ts files.

Is it possible to do this within the command line pipeline ?  

Regards.                                          


 

pcd7 wrote:
> 
> Hi,
> 
> I am a gstreamer newby !
> 
> As a test exercise I am trying to convert a mpg file to ts file using this
> command line pipeline :-
> 
> gst-launch-0.10 filesrc \         
>   location=/media/hdd/movie/DeanaC.mpg !\         
>   mpegpsdemux ! mpegtsmux ! filesink location=\   
>  /media/hdd/movie/Test.ts 
> 
> The command line output :-
> 
> Setting pipeline to PAUSED ...                  
> Pipeline is PREROLLING ...                      
> Pipeline is PREROLLED ...                       
> Setting pipeline to PLAYING ...                 
> New clock: GstSystemClock                       
> Got EOS from element "pipeline0".               
> Execution ended after 143343968000 ns.          
> Setting pipeline to PAUSED ...                  
> Setting pipeline to READY ...                   
> Setting pipeline to NULL ...                    
> FREEING pipeline
> 
> When I play this file in a powerpc linux set top box the video plays - but
> no audio.
> 
> What is missing in the pipeline ?
> 
> I tried to find a tutorial for this without success ! Will be grateful for
> any advice.
> 
> ps. I tried with mpegdemux instead of mpegpsdemux - still no audio.
> 
> Regards, pcd.
> 

-- 
View this message in context: http://www.nabble.com/Converting-mpg-file-to-ts-file---no-sound-tp23691647p23713860.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list