At total loss on transcoding

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

At total loss on transcoding

btpoole
Help.  I have been reading and reading and can't figure out what to do.  Situation is this, I have a ts file that is saved to my computer, I can convert that ts to an mp4 to play thru handbrake but only after the file has finished recording.  I want to be able to transcode the file to mp4 as it is recording to stream locally. I know this can be done I just can't get a grip on it. The ts file will be passed to ffmpeg thru a batch file and hopefully into a command line. Can somebody give me some help.  Any advice or guidance appreciated and hopefully I can someday repay the favor.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: At total loss on transcoding

Henk D. Schoneveld

On Apr 29, 2013, at 2:46 PM, btpoole <[hidden email]> wrote:

> Help.  I have been reading and reading and can't figure out what to do.
> Situation is this, I have a ts file that is saved to my computer,
What is the source it is copied from ? Take that source as input for ffmpeg.

> I can
> convert that ts to an mp4 to play thru handbrake but only after the file has
> finished recording.  I want to be able to transcode the file to mp4 as it is
> recording to stream locally. I know this can be done I just can't get a grip
> on it. The ts file will be passed to ffmpeg thru a batch file and hopefully
> into a command line. Can somebody give me some help.  Any advice or guidance
> appreciated and hopefully I can someday repay the favor.
>
> Thanks
>
>
>
> --
> View this message in context: http://ffmpeg-users.933282.n4.nabble.com/At-total-loss-on-transcoding-tp4658751.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: At total loss on transcoding

btpoole
The source of the file is tuner card.

Todd Poole

On 5/1/2013 12:25 PM, belcampo [via FFmpeg-users] wrote:

>
> On Apr 29, 2013, at 2:46 PM, btpoole <[hidden email]
> </user/SendEmail.jtp?type=node&node=4658819&i=0>> wrote:
>
>  > Help.  I have been reading and reading and can't figure out what to do.
>  > Situation is this, I have a ts file that is saved to my computer,
> What is the source it is copied from ? Take that source as input for
> ffmpeg.
>
>  > I can
>  > convert that ts to an mp4 to play thru handbrake but only after the
> file has
>  > finished recording.  I want to be able to transcode the file to mp4
> as it is
>  > recording to stream locally. I know this can be done I just can't get
> a grip
>  > on it. The ts file will be passed to ffmpeg thru a batch file and
> hopefully
>  > into a command line. Can somebody give me some help.  Any advice or
> guidance
>  > appreciated and hopefully I can someday repay the favor.
>  >
>  > Thanks
>  >
>  >
>  >
>  > --
>  > View this message in context:
> http://ffmpeg-users.933282.n4.nabble.com/At-total-loss-on-transcoding-tp4658751.html
>  > Sent from the FFmpeg-users mailing list archive at Nabble.com.
>  > _______________________________________________
>  > ffmpeg-user mailing list
>  > [hidden email] </user/SendEmail.jtp?type=node&node=4658819&i=1>
>  > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4658819&i=2>
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://ffmpeg-users.933282.n4.nabble.com/At-total-loss-on-transcoding-tp4658751p4658819.html
>
> To unsubscribe from At total loss on transcoding, click here
> <
> NAML
> <
http://ffmpeg-users.933282.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
Reply | Threaded
Open this post in threaded view
|

Re: At total loss on transcoding

gepebril
In reply to this post by Henk D. Schoneveld
It sounds like you want to feed a stream to FFmpeg, transcode it to .mp4
and save it to file.
If that is possible it should not be to hard.
You need to know, location of the stream, like http://radiox.com:80
You need to know destination bitrate for audio and video
Is the source Interlaced or progressive
What is the video codec youy want to use.
And why do you want to transcode it to .mp4?
A lot of mediaplayers can handle transportstreams (.ts)
and also a lot of software video editors

Albert


> Help.  I have been reading and reading and can't figure out what to do.
> > Situation is this, I have a ts file that is saved to my computer,
> What is the source it is copied from ? Take that source as input for
> ffmpeg.
> > I can
> > convert that ts to an mp4 to play thru handbrake but only after the file
> has
> > finished recording.  I want to be able to transcode the file to mp4 as
> it is
> > recording to stream locally. I know this can be done I just can't get a
> grip
> > on it. The ts file will be passed to ffmpeg thru a batch file and
> hopefully
> > into a command line. Can somebody give me some help.  Any advice or
> guidance
> > appreciated and hopefully I can someday repay the favor.
> >
> > Thanks
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: At total loss on transcoding

Daniel Robinson
In reply to this post by btpoole
I feel your pain.

ffmpeg is a lovely program, but underdocumented and underdocumented.  But I
repeat myself.

Command line options to ffmpeg are context dependent.  How many programs
are in the transport stream?

Your best bet would be to search on line for examples of ffmpeg usage and
try them.  It will be an iterative process.

--dan


On Mon, Apr 29, 2013 at 5:46 AM, btpoole <[hidden email]> wrote:

> Help.  I have been reading and reading and can't figure out what to do.
> Situation is this, I have a ts file that is saved to my computer, I can
> convert that ts to an mp4 to play thru handbrake but only after the file
> has
> finished recording.  I want to be able to transcode the file to mp4 as it
> is
> recording to stream locally. I know this can be done I just can't get a
> grip
> on it. The ts file will be passed to ffmpeg thru a batch file and hopefully
> into a command line. Can somebody give me some help.  Any advice or
> guidance
> appreciated and hopefully I can someday repay the favor.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://ffmpeg-users.933282.n4.nabble.com/At-total-loss-on-transcoding-tp4658751.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



--
-----------------------
daniel g. robinson
www.bornlivelovedie.com
bornlivelovedie.tumblr.com
@daguro
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: At total loss on transcoding

btpoole
In reply to this post by gepebril
It's ts coming from ota. It will be converted and saved to mp4 unless it
can be converted and streamed directly without saving.  I imagine though
it will have to be converted to mp4 and saved.  Would like to be able to
stream the mp4 file as the ts is being converted, with a delay I know.

Todd Poole

On 5/1/2013 12:48 PM, Albert Scholtalbers [via FFmpeg-users] wrote:

> It sounds like you want to feed a stream to FFmpeg, transcode it to .mp4
> and save it to file.
> If that is possible it should not be to hard.
> You need to know, location of the stream, like http://radiox.com:80
> You need to know destination bitrate for audio and video
> Is the source Interlaced or progressive
> What is the video codec youy want to use.
> And why do you want to transcode it to .mp4?
> A lot of mediaplayers can handle transportstreams (.ts)
> and also a lot of software video editors
>
> Albert
>
>
>  > Help.  I have been reading and reading and can't figure out what to do.
>  > > Situation is this, I have a ts file that is saved to my computer,
>  > What is the source it is copied from ? Take that source as input for
>  > ffmpeg.
>  > > I can
>  > > convert that ts to an mp4 to play thru handbrake but only after the
> file
>  > has
>  > > finished recording.  I want to be able to transcode the file to mp4 as
>  > it is
>  > > recording to stream locally. I know this can be done I just can't
> get a
>  > grip
>  > > on it. The ts file will be passed to ffmpeg thru a batch file and
>  > hopefully
>  > > into a command line. Can somebody give me some help.  Any advice or
>  > guidance
>  > > appreciated and hopefully I can someday repay the favor.
>  > >
>  > > Thanks
>  >
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4658821&i=0>
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://ffmpeg-users.933282.n4.nabble.com/At-total-loss-on-transcoding-tp4658751p4658821.html
>
> To unsubscribe from At total loss on transcoding, click here
> <
> NAML
> <
http://ffmpeg-users.933282.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>