Transcode multicast IP video over ffmpeg

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Transcode multicast IP video over ffmpeg

Đặng Đức Hưng
Hi all.

I’m using your ffmpeg to transcode Multicast multicast UDP IP video input with 3.5 Mbps and codec is x264 to output with the the same input codec but low bit rate about 1.5Mbps. When I have done I found  the quality of image is very low, the image is often blured. I have read in the codec x264 there is a encoding mode which is pass 2 can improve the quality of the output image. Could you support for me the step by step to configure this pass 2 method.

Here is the command line I am using:

C:/ffmpeg_32/bin/ffmpeg.exe -i udp://233.19.204.1:5501 -filter:v yadif=0:-1:1,fps=25 -vcodec libx264 -g 16 -vprofile main -level 30 -b:v 1050k -minrate 1000k -maxrate 1100k -bufsize 100k -s: 720x576 -r 25 -ac 2 -ar 48000 -b:a 128k -filter:a volume=2 -f mpegts -muxrate 1300k udp://233.19.209.1:5501?pkt_size=1316

Thank you so much!

Best Regards

Đặng Đức Hưng

| Broadcast Technical Department | IPTV Center | VASC Software and Media Company |

| 33 Thai Ha Street | Đống Đa District | Hanoi | Vietnam|

| Tel (+84) 37722728 ext 681/684 | Mobile (+84) 915 070 921|

|  <mailto:[hidden email]> [hidden email] |  <http://www.mytv.com.vn/> www.mytv.com.vn |

 

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

Re: Transcode multicast IP video over ffmpeg

Carl Eugen Hoyos
Đặng Đức Hưng <ddhung <at> vasc.com.vn> writes:

> I have read in the codec x264 there is a encoding mode
> which is pass 2 can improve the quality of the output
> image. Could you support for me the step by step to
> configure this pass 2 method.
>
> Here is the command line I am using:
>
> C:/ffmpeg_32/bin/ffmpeg.exe -i udp://233.19.204.1:5501

I may misunderstand but I don't think 2-pass methods
can be used for udp input.
Try different x264 speed presets to find the one that
still is real-time but has best quality (and choose
high profile if you interested in quality).

Carl Eugen

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

Re: Transcode multicast IP video over ffmpeg

Đặng Đức Hưng
I am trying to use the presets for codec x264 but I still understand the method to chose the suitable video bit rate, profile, level for each preset. Could you give me some useful advices for that.
Thank you so much

Best Regards
Đặng Đức Hưng
| Broadcast Technical Department | IPTV Center | VASC Software and Media Company |
| 33 Thai Ha Street | Đống Đa District | Hanoi | Vietnam|
| Tel (+84) 37722728 ext 681/684 | Mobile (+84) 915 070 921|
| [hidden email] | www.mytv.com.vn |

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Carl Eugen Hoyos
Sent: Tuesday, April 16, 2013 4:11 PM
To: [hidden email]
Subject: Re: [FFmpeg-user] Transcode multicast IP video over ffmpeg

Đặng Đức Hưng <ddhung <at> vasc.com.vn> writes:

> I have read in the codec x264 there is a encoding mode which is pass 2
> can improve the quality of the output image. Could you support for me
> the step by step to configure this pass 2 method.
>
> Here is the command line I am using:
>
> C:/ffmpeg_32/bin/ffmpeg.exe -i udp://233.19.204.1:5501

I may misunderstand but I don't think 2-pass methods can be used for udp input.
Try different x264 speed presets to find the one that still is real-time but has best quality (and choose high profile if you interested in quality).

Carl Eugen

_______________________________________________
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: Transcode multicast IP video over ffmpeg

Liam Condron-Farnos
>I am trying to use the presets for codec x264 but I still understand the
method to chose the suitable video bit rate, profile, level for each
preset. Could >you give me some useful advices for that.

Read this:

http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user