bat guano wrote:



is there any way to make Video:
1280x720,
Format settings CABAC = No,
add the subtitles and then rest of the settings so that the final muxed
file is up to or not bigger than 4GB?

I don't know about any of this, it's mission creep ;-)

What about the original question?

"convert MKV file using ffmpeg via CLI to MP4 (BBC
HD spec. or not bigger than 4GB)"

Is this solved yet?

                                        
Yes, thank you very much.

I have found another CLI line and that works on my Windows machine as I wanted it: ffmpeg -i o:\MKV\file.mkv -s 1280x720 -aspect 16:9 -r 25 -vcodec libx264 -pass 1 -acodec aac -ab 448k -ac 2 -strict experimental file.hd720.448k.mp4
so happy now,

but on my Debian, where I have latest get-iPlayer 2.80 installed and all works when trying to mux the file into mp4 HD:


marcel@LatitudeD810:~$ get-iplayer --pid b01c8b5t --multimode --modes=flashhd2 --force --subtitles --subsraw --metadata=generic --thumb --info --long --output=/home/marcel/Videos
get_iplayer v2.80, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty. This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.

INFO Trying to stream pid using type tv
INFO: pid found in cache
Matches:
312: How to Grow a Planet - 2. The Power of Flowers, BBC Two, Audio Described,Factual,HD,Nature & Environment,Science & Nature,TV, default,audiodescribed,, 0 days 19 hours ago - A look at how the early flowers sculpted the earth and drove the evolution of all animals. INFO: File name prefix = How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_

available:      Unknown
categories:     Factual,Science & Nature
channel:        BBC HD
desc: In this series Professor Iain Stewart tells a stunning story about our planet. He reveals how the greatest changes to the earth have been driven, above all, by plants. In the second episode, Iain discovers how flowers have transformed our planet. He journeys to the remote islands of the South Pacific to track down the earliest flowers. In the deserts of Africa and rainforests of Vietnam, he sees how they brought brilliant colour to the most barren landscapes and sculpted the earth itself. And he learns how they drove the evolution of all animals - kick-starting our human story. descmedium: Documentary series. Professor Iain Stewart explains the role of the earliest flowers in sculpting the earth and driving the evolution of all animals. descshort: A look at how the early flowers sculpted the earth and drove the evolution of all animals.
dir:            /home/marcel/Videos
dldate:         2012-02-17
dltime:         17:06:44
duration:       3600
durations:      default: 3600
episode:        2. The Power of Flowers
episodenum:     2
episodeshort:   The Power of Flowers
expiry:         2012-02-28T20:59:00Z
expiryrel:      in 11 days 3 hours
ext:            EXT
filename: /home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_.EXT filepart: /home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_.partial.EXT fileprefix: How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_
firstbcast:     default: 2012-02-14T21:00:00Z
firstbcastrel:  default: 2 days 20 hours ago
index:          312
lastbcast:      default: 2012-02-14T21:00:00Z
lastbcastrel:   default: 2 days 20 hours ago
longname:       How to Grow a Planet
modes: default: flashhd1,flashhd2,flashhigh1,flashhigh2,flashlow1,flashlow2,flashstd1,flashstd2,flashvhigh1,flashvhigh2,n95_wifi1,rtsphd1,rtsphd2,rtsphigh1,rtsphigh2,rtsplow1,rtsplow2,rtspstd1,rtspstd2,rtspvhigh1,rtspvhigh2,subtitles1 modesizes: default: flashhd1=1406MB,flashhd2=1406MB,flashhigh1=350MB,flashhigh2=350MB,flashlow1=174MB,flashlow2=174MB,flashstd1=211MB,flashstd2=211MB,flashvhigh1=659MB,flashvhigh2=659MB,n95_wifi1=81MB,rtsphd1=1406MB,rtsphd2=1406MB,rtsphigh1=350MB,rtsphigh2=350MB,rtsplow1=174MB,rtsplow2=174MB,rtspstd1=211MB,rtspstd2=211MB,rtspvhigh1=659MB,rtspvhigh2=659MB
name:           How to Grow a Planet
nameshort:      How to Grow a Planet
pid:            b01c8b5t
player: http://www.bbc.co.uk/iplayer/episode/b01c8b5t/How_to_Grow_a_Planet_The_Power_of_Flowers/
senum:          s00e02
thumbfile: /home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_.jpg thumbnail: http://www.bbc.co.uk/iplayer/images/episode/b01c8b5t_150_84.jpg thumbnail1: http://node2.bbcimg.co.uk/iplayer/images/episode/b01c8b5t_86_48.jpg thumbnail2: http://node2.bbcimg.co.uk/iplayer/images/episode/b01c8b5t_150_84.jpg thumbnail3: http://node2.bbcimg.co.uk/iplayer/images/episode/b01c8b5t_178_100.jpg thumbnail4: http://node2.bbcimg.co.uk/iplayer/images/episode/b01c8b5t_512_288.jpg thumbnail5: http://node2.bbcimg.co.uk/iplayer/images/episode/b01c8b5t_528_297.jpg thumbnail6: http://node2.bbcimg.co.uk/iplayer/images/episode/b01c8b5t_640_360.jpg
timeadded:      0 days 19 hours ago (1329427671)
title:          How to Grow a Planet: The Power of Flowers
type:           tv
verpids:        default: b01c8b5p
version:        default
versions:       default
web:            http://www.bbc.co.uk/programmes/b01c8b5t.html


INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashhd2 modes will be tried for version default
INFO: Trying flashhd2 mode to record tv: How to Grow a Planet - 2. The Power of Flowers INFO: File name prefix = How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd

INFO: 'Downloading Raw Subtitles to /home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.ttxt' INFO: Downloading Subtitles to '/home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.srt'
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              3550.12
INFO:   moovPosition          32.00
INFO:   width                 1280.00
INFO:   height                720.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              41.00
INFO:   aacaot                2.00
INFO:   videoframerate        25.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                88750000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                85202944.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
1083157.293 kB / 3550.08 sec (99.9%)
Download complete
FFmpeg version SVN-r0.5.6-4:0.5.6-3, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --extra-version=4:0.5.6-3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Dec 31 2011 15:16:11, gcc: 4.4.5
[h264 @ 0x8e2cd40]brainfart cropping not supported, this could look slightly wrong ...

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, flv, from '/home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.partial.mp4.flv':
  Duration: 00:59:10.12, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1280x724 [PAR 180:180 DAR 320:181], 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 24000 Hz, stereo, s16
Output #0, mp4, to '/home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.partial.mp4': Stream #0.0: Video: 0x0000, yuv420p, 1280x724 [PAR 1:1 DAR 320:181], q=2-31, 90k tbn, 25 tbc
    Stream #0.1: Audio: 0x0000, 24000 Hz, stereo, s16
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=88750 fps=1210 q=-1.0 Lsize= 1082478kB time=3549.99 bitrate=2497.9kbits/s
video:1038988kB audio:41053kB global headers:0kB muxing overhead 0.225632%
INFO: Recorded /home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.mp4

INFO: Downloaded Thumbnail to '/home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.jpg' INFO: Writing generic metadata to file '/home/marcel/Videos/How_to_Grow_a_Planet_-_2._The_Power_of_Flowers_b01c8b5t_default_flashhd.xml'
marcel@LatitudeD810:~$
marcel@LatitudeD810:~$
marcel@LatitudeD810:~$ ffmpeg -i /home/marcel/Downloads/1080p/file.mkv -t 90 -s 1280x720 -aspect 16:9 -r 25 -vcodec libx264 -pass 1 -acodec aac -ab 128k -ac 2 -strict experimental filename128k.mp4 FFmpeg version SVN-r0.5.6-4:0.5.6-3, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --extra-version=4:0.5.6-3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Dec 31 2011 15:16:11, gcc: 4.4.5

Seems stream 0 codec frame rate differs from container frame rate: 48.00 (48/1) -> 24.00 (24/1)
Input #0, matroska, from '/home/marcel/Downloads/1080p/file.mkv':
  Duration: 01:39:14.51, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1920x1040, PAR 1:1 DAR 24:13, 24 tbr, 1k tbn, 48 tbc
    Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16
    Stream #0.2(eng): Subtitle: 0x0000
Unknown encoder 'libx264'
marcel@LatitudeD810:~$


comes up with Unknown encoder 'libx264', but get-iPlayer works (I'm Debian novice, so not sure what to do) :(




_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to