Bug #2653
pipe://
0%
Description
Following does not work
pip:///usr/bin/avconv -i "http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on" -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts
2015-01-31 17:24:55.563 spawn: built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
2015-01-31 17:24:55.564 spawn: "http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on": No such file or directory
2015-01-31 17:24:55.564 iptv: stdin pipe unexpectedly closed: No data
And if I remove ""
pipe:///usr/bin/avconv -i http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts pipe:1
2015-01-31 17:26:20.982 spawn: h264_mp4toannexb failed for stream 0, codec copy: Invalid argument
2015-01-31 17:26:20.990 spawn: h264_mp4toannexb failed for stream 0, codec copy: Invalid argument
2015-01-31 17:26:21.000 mpegts: pipe:///usr/bin/avconv -i http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts pipe:1 - scan complete
2015-01-31 17:26:21.000 subscription: 0056: "scan" unsubscribing
In cmd
/usr/bin/avconv -i "http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on" -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts
avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
Trailing options were found on the commandline.
[hls,applehttp 0x16332a0] max_analyze_duration reached
[hls,applehttp
0x16332a0] Estimating duration from bitrate, this may be inaccurate
Input #0, hls,applehttp, from 'http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on':
Duration: N/A, start: 37654.553422, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 640x360, 29.97 fps, 1k tbr, 90k tbn, 59.94 tbc
Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp
Stream #0.2: Data: [21][0][0][0] / 0x0015
At least one output file must be specified
History
Updated by Jaroslav Kysela almost 10 years ago
- Status changed from New to Invalid
Follow https://tvheadend.org/projects/tvheadend/wiki/Custom_MPEG-TS_Input , you forgot to specify the output to stdout. This should be as last:
pipe:1
Updated by Bengt Madeberg almost 10 years ago
Maybe I did not copy it all but I have this in tvh
pipe:///usr/bin/avconv -i http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts pipe:1
Updated by Jaroslav Kysela almost 10 years ago
Does the command with with pipe:1 and "" on cmdline - when it's redirected to a file ?
avconv -i "http://abclive.abcnews.com/i/abc_live4@136330/index_1200_av-b.m3u8?sd=10&b=1200&rebase=on" -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts pipe:1 > a.ts
Note for tvh, the "" must be removed from URL (it's the shell parser specific thing). The above command (arguments) works for ffmpeg..
Updated by Bengt Madeberg almost 10 years ago
Ok, I removed this -bsf .... stuff. Now it work. Thanks..